Configuration Common: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Linux: medibuntu application center)
(→‎Linux: Recover common network settings for autofs)
Line 38: Line 38:
sudo /usr/share/doc/libdvdread4/install-css.sh
sudo /usr/share/doc/libdvdread4/install-css.sh
</source>
</source>
* Apply common settings
* Apply common settings (see below)
<source lang="bash">
# Common Settings
scp griffin:tmp/autofs.tgz . # Configure autofs
sudo tar -xvzf autofs.tgz

sudo useradd -s /bin/bash -m johndoe -u 1234 # Create users if needed - user 'johndoe' with uid 1234
</source>
* Some extra applications to install optionally
* Some extra applications to install optionally
<source lang="bash">
<source lang="bash">
Line 155: Line 148:


=== Common Settings ===
=== Common Settings ===
''' Network '''
<ul>
<li>'''SAMBA/NFS CLIENT''' - Mount '''mnemosyne''' shares as '''NFS autofs''' (see [https://help.ubuntu.com/community/Autofs]) and as '''SMB autofs'''</li>
<ul>
<li>Enabled/created the following automounters in <tt>/etc/auto.master</tt>:</li>
{{pl2|<source lang="bash" enclose="prevalid">
/net /etc/auto.net
/smb/mnemosyne /etc/auto.smb.mnemosyne
</source>}}
<li>Created configuration file '''<tt>/etc/auto.smb.mnemosyne</tt>'''
<li>Created SMB credential files '''<tt>/etc/auto.smb.mnemosyne.*</tt>''' (see <code>man mount.cifs</code>)</li>
<li>Created path for mount points:</li>
{{pl2|<source lang="bash" enclose="prevalid">
sudo mkdir /net
sudo mkdir -p /smb/mnemosyne
# ls /net/mnemosyne
# sudo mkdir -p /mnt/mnemosyne
# for i in /net/mnemosyne/volume1/*; do sudo ln -s $i /mnt/mnemosyne/$(basename $i); done
</source>}}
</ul>
</ul>

Or recover settings from an already configured host:
<source lang="bash">
scp griffin:tmp/autofs.tgz . # Configure autofs
sudo tar -xvzf autofs.tgz
sudo cp etc/* /etc
</source>

'''Users'''
'''Users'''
<source lang=bash>
<source lang=bash>

Revision as of 12:37, 24 December 2011

Any

To be completed

Linux

  • Initial install script to install common applications
sudo vi /etc/apt/sources.list                                      # Enable / add all relevant repositories (partner...)
sudo apt-get install opera                                         # or sudo dpkg -i opera...
sudo apt-get install gnome-do git gitk git-gui git-doc etckeeper mc ssh vim-gnome exuberant-ctags cscope ruby

sudo vi /etc/etckeeper/etckeeper.conf                              # Ignore resolv.c*, cups/subscriptions.*
sudo etckeeper init
sudo etckeeper commit "1st commit"
sudo vi .gitignore
sudo git rm --cached resolv.c* cups/subscriptions.*
sudo git add .gitignore
sudo etckeeper commit "ignore resolv.c*, cups/subscriptions.*"

sudo vi /etc/hosts
git clone git@griffin:repositories/home.git
mv home/.git .
rm -rf home
git reset --hard
git st
export PATH=$PATH:$HOME/bin
set-network.sh
mkdir tmp
git co opera -- .opera && git reset
  • Install the common repositories (see below)
  • Install common applications
# Common Applications
sudo apt-get install terminator smbclient smbfs nfs-kernel-server nfs-common portmap autofs keepassx apt-file p7zip-full p7zip-rar dlocate \
thunderbird chromium-browser meld colordiff ttf-mscorefonts-installer qiv gthumb gnupg-agent renameutils wine mplayer mplayer-doc \
mplayer-fonts flashplugin-installer gnome-mplayer gecko-mediaplayer gimp gdmap gparted ubuntu-restricted-extras app-install-data-medibuntu
sudo apt-file update
sudo /usr/share/doc/libdvdread4/install-css.sh
  • Apply common settings (see below)
  • Some extra applications to install optionally
# Some extra applications:
sudo apt-get install gnugo qgo uligo quarry pgpgpg powertop
  • Applications not from repositories:
    • Panda glGo 1.4.1

Common repositories

Common Applications

[2011-12-19] Opera (opera)
[2011-12-19] Gnome Do (gnome-do)
[2011-12-19] Git (git gitk git-gui git-doc)
[2011-12-19] etckeeper (etckeeper) Configured to use git as SCM, AVOID_DAILY_AUTOCOMMITS, AVOID_COMMIT_BEFORE_INSTALL
[2011-12-19] Midnight Commander (mc) See reference page. Use vi as standard viewer/editor. Installed version from mc official repository to fix file highlighting issue.
[2011-12-19] SSH (ssh) Local settings
[2011-12-19] Vim (vim vim-gnome exuberant-ctags) including GVim to enable support of X clipboard
[2011-12-19] Vim/Cscope (cscope)
[2011-12-19] Ruby (ruby) ... for Vim plug-in snipMate.vim
[2011-12-19] Gnome Terminator (terminator) See Gnome Terminator
[2011-12-19] Samba (smbclient smbfs)
[2011-12-19] NFS Server (nfs-kernel-server nfs-common portmap) See NFS for more details; Created entries in /etc/exports.
[2011-12-19] AutoFS (autofs) See local config
[2011-12-19] KeePassX (keepassx)
[2011-12-19] apt-file (apt-file)
[2011-12-19] p7zip (p7zip-full p7zip-rar)
[2011-12-19] dlocate (dlocate)
[2011-12-19] Thunderbird (thunderbird)
[2011-12-19] Google Chrome (chromium-browser)
[2011-12-19] Meld (meld) Diff tool
[2011-12-19] Color Diff (colordiff)
[2011-12-19] MS Truetype core fonts (ttf-msttcorefonts-installer)
[2011-12-19] Qiv (qiv)
[2011-12-19] gThumb (gthumb)
[2011-12-19] GPG Agent (gnupg-agent) Added use-agent at end of ~/.gnupg/gpg.conf
[2011-12-19] Rename utils (renameutils)
[2011-12-19] Wine (wine) See Wine page
[2011-12-19] MPlayer (mplayer mplayer-doc mplayer-fonts)
[2011-12-19] Flash Plugin 10 (flashplugin-installer) First need to enable Ubuntu partner repository (deb http://archive.canonical.com/ubuntu lucid partner). Next
sudo aptitude autoremove "flashplugin-*"
sudo aptitude install flashplugin-installer
[2011-12-19] Quicktime plugin (gnome-mplayer gecko-mediaplayer) To play Quicktime content in Opera, Firefox
[2011-12-19] Gimp (gimp)
[2011-12-19] Graphical Disk Map (gdmap)
[2011-12-19] gparted (gparted)
[2011-12-19] Ubuntu restricted extras (ubuntu-restricted-extras) shall install automatically libdvdread4
[2011-12-19] libdvdcss2 Installed via sudo /usr/share/doc/libdvdread4/install-css.sh (see also [1])
[2011-12-19] Medibuntu application center (app-install-data-medibuntu) This install medibuntu apps in Ubuntu Application Center
Optional Applications:
[2011-12-19] GNU Go (gnugo)
[2011-12-19] Various Go games (qgo uligo)
[2011-12-19] Quarry (quarry) Board games Go, Amazons, and Reversi
[2011-12-19] PGP (pgpgpg)
[2011-12-19] PowerTop (powertop)
Applications not from repositories:
[2011-12-19] Panda glGo 1.4.1 See local page

Common Settings

Network

  • SAMBA/NFS CLIENT - Mount mnemosyne shares as NFS autofs (see [2]) and as SMB autofs
    • Enabled/created the following automounters in /etc/auto.master:
    • /net           /etc/auto.net
      /smb/mnemosyne /etc/auto.smb.mnemosyne
      
    • Created configuration file /etc/auto.smb.mnemosyne
    • Created SMB credential files /etc/auto.smb.mnemosyne.* (see man mount.cifs)
    • Created path for mount points:
    • sudo mkdir /net
      sudo mkdir -p /smb/mnemosyne
      # ls /net/mnemosyne
      # sudo mkdir -p /mnt/mnemosyne
      # for i in /net/mnemosyne/volume1/*; do sudo ln -s $i /mnt/mnemosyne/$(basename $i); done
      

Or recover settings from an already configured host:

scp griffin:tmp/autofs.tgz .                                        # Configure autofs
sudo tar -xvzf autofs.tgz
sudo cp etc/* /etc

Users

sudo useradd -s /bin/bash -m -u 1100 marie
sudo useradd -s /bin/bash -m -u 1200 isma
sudo useradd -s /bin/bash -m -u 1300 emma

Windows

To be completed