Configuration Common: Difference between revisions
Jump to navigation
Jump to search
(→Linux: autossh (missing in script), use 'install_simple_log' style) |
|||
Line 19: | Line 19: | ||
sudo apt-get update |
sudo apt-get update |
||
sudo apt-get install opera # or sudo dpkg -i opera... |
sudo apt-get install opera # or sudo dpkg -i opera... |
||
sudo apt-get install libnss-mdns avahi-daemon mdns-scan synapse gitk git-gui git-doc |
sudo apt-get install libnss-mdns avahi-daemon mdns-scan synapse gitk git-gui git-doc \ |
||
mc autossh ssh vim-gnome exuberant-ctags cscope ruby keepassx |
|||
# Restore my profile |
# Restore my profile |
||
Line 44: | Line 45: | ||
# Common Applications |
# Common Applications |
||
sudo apt-get install rpcbind # Use 'portmap' before oneiric ocelot |
sudo apt-get install rpcbind # Use 'portmap' before oneiric ocelot |
||
sudo apt-get install terminator smbclient smbfs nfs-kernel-server nfs-common |
sudo apt-get install terminator smbclient smbfs nfs-kernel-server nfs-common \ |
||
autofs apt-file p7zip-full p7zip-rar dlocate thunderbird \ |
|||
chromium-browser meld colordiff ttf-mscorefonts-installer \ |
|||
⚫ | |||
qiv gthumb gnupg-agent renameutils wine mplayer \ |
|||
ubuntu-restricted-extras ubuntu-tweak app-install-data-medibuntu xbmc xsel compizconfig-settings-manager |
|||
mplayer-doc mplayer-fonts flashplugin-installer \ |
|||
⚫ | |||
ubuntu-restricted-extras ubuntu-tweak \ |
|||
app-install-data-medibuntu xbmc xsel \ |
|||
compizconfig-settings-manager |
|||
sudo apt-file update |
sudo apt-file update |
||
sudo /usr/share/doc/libdvdread4/install-css.sh |
sudo /usr/share/doc/libdvdread4/install-css.sh |
||
Line 76: | Line 82: | ||
=== Common Applications === |
=== Common Applications === |
||
{| class=" |
{| class="install_simple_log" |
||
|- |
|- |
||
|'''Opera''' (<tt>opera</tt>)||See [[Opera]] to fix apt key issues |
|||
|- |
|- |
||
|'''Synapse''' (<tt>synapse</tt>)||Using {{kb|Alt-{{kbkey|Space}}}} as shortcut (requires to disable {{kb|Alt}} for HUD, and {{kb|Alt-Space}} for Windows Menu in Compiz) |
|||
<source lang=bash> |
<source lang=bash> |
||
sudo add-apt-repository ppa:synapse-core/ppa |
sudo add-apt-repository ppa:synapse-core/ppa |
||
Line 86: | Line 92: | ||
</source> |
</source> |
||
|- |
|- |
||
|'''Git''' (<tt>git gitk git-gui git-doc gitweb git-svn</tt>)||<small>[2011-12-15]</small> {{red|Updated to 1.7.8}} [https://kiwi.noekeon.org/miki/index.php?title=Git#From_sources Installed from sources] |
|||
|- |
|- |
||
|'''etckeeper''' (<tt>etckeeper</tt>)||Configured to use ''git'' as SCM, ''AVOID_DAILY_AUTOCOMMITS'', ''AVOID_COMMIT_BEFORE_INSTALL'' |
|||
|- |
|- |
||
|'''mDNS''' (<tt>libnss-mdns avahi-daemon mdns-scan</tt>)||After install, do: |
|||
<source lang=bash> |
<source lang=bash> |
||
mdns-scan |
mdns-scan |
||
Line 99: | Line 105: | ||
</source> |
</source> |
||
|- |
|- |
||
|'''Midnight Commander''' (<tt>mc</tt>)||See [[Linux_Commands#mc_.28Midnight_Commander.29|reference page]]. Use '''vi''' as standard viewer/editor. Installed version from mc official repository to fix file highlighting issue. |
|||
|- |
|- |
||
|'''AutoSSH''' (<tt>autossh</tt>)|| |
|||
|- |
|- |
||
|'''SSH''' (<tt>ssh</tt>)||[[#SSH|Local settings]] |
|||
|- |
|- |
||
|'''Vim''' (<tt>vim vim-gnome exuberant-ctags</tt>)||including '''GVim''' to enable support of X clipboard |
|||
|- |
|- |
||
|'''Vim/Cscope''' (<tt>cscope</tt>)|| |
|||
|- |
|- |
||
|'''Ruby''' (<tt>ruby</tt>)||... for Vim plug-in <tt>snipMate.vim</tt> |
|||
|- |
|- |
||
|'''Gnome Terminator''' (<tt>terminator</tt>)||See [[Linux Software#Gnome Terminator|Gnome Terminator]] |
|||
|- |
|- |
||
|'''Samba''' (<tt>smbclient smbfs</tt>)|| |
|||
|- |
|- |
||
|'''NFS Server''' (<tt>nfs-kernel-server nfs-common rpcbind</tt>)||See [[NFS]] for more details; Created entries in <tt>/etc/exports</tt>. ''rpcbind'' replaces ''portmap'' since Oneiric. |
|||
|- |
|- |
||
|'''AutoFS''' (<tt>autofs</tt>)||See [[#Network|local config]] |
|||
|- |
|- |
||
|'''KeePassX''' (<tt>keepassx</tt>)|| |
|||
|- |
|- |
||
|'''apt-file''' (<tt>apt-file</tt>)|| |
|||
|- |
|- |
||
|'''p7zip''' (<tt>p7zip-full p7zip-rar</tt>)|| |
|||
|- |
|- |
||
|'''dlocate''' (<tt>dlocate</tt>)|| |
|||
|- |
|- |
||
|'''Thunderbird''' (<tt>thunderbird</tt>)|| |
|||
|- |
|- |
||
|'''Google Chrome''' (<tt>chromium-browser</tt>)|| |
|||
|- |
|- |
||
|'''Meld''' (<tt>meld</tt>)||Diff tool |
|||
|- |
|- |
||
|'''Color Diff''' (<tt>colordiff</tt>)|| |
|||
|- |
|- |
||
|'''MS Truetype core fonts''' (<tt>ttf-msttcorefonts-installer</tt>)|| |
|||
|- |
|- |
||
|'''Qiv''' (<tt>qiv</tt>)|| |
|||
|- |
|- |
||
|'''gThumb''' (<tt>gthumb</tt>)|| |
|||
|- |
|- |
||
|'''GPG Agent''' (<tt>gnupg-agent</tt>)||Added <code>use-agent</code> at end of <tt>~/.gnupg/gpg.conf</tt> |
|||
|- |
|- |
||
|'''Rename utils''' (<tt>renameutils</tt>)|| |
|||
|- |
|- |
||
|'''Wine''' (<tt>wine</tt>)||See [[Configuration NXP Dell Latitude_E6500 - Wine|Wine page]] |
|||
|- |
|- |
||
|'''MPlayer''' (<tt>mplayer mplayer-doc mplayer-fonts</tt>)|| |
|||
|- |
|- |
||
|'''Flash Plugin 10''' (<tt>flashplugin-installer</tt>)||First need to enable Ubuntu partner repository (<tt>deb http://archive.canonical.com/ubuntu lucid partner</tt>). Next <source lang="bash">sudo aptitude autoremove "flashplugin-*" |
|||
sudo aptitude install flashplugin-installer |
sudo aptitude install flashplugin-installer |
||
</source> |
</source> |
||
|- |
|- |
||
|'''Quicktime plugin''' (<tt>gnome-mplayer gecko-mediaplayer</tt>)||To play Quicktime content in ''Opera'', ''Firefox'' |
|||
|- |
|- |
||
|'''Gimp''' (<tt>gimp</tt>)|| |
|||
|- |
|- |
||
|'''Graphical Disk Map''' (<tt>gdmap</tt>)|| |
|||
|- |
|- |
||
|'''gparted''' (<tt>gparted</tt>)|| |
|||
|- |
|- |
||
|'''Ubuntu restricted extras''' (<tt>ubuntu-restricted-extras</tt>)||shall install automatically '''libdvdread4''' |
|||
|- |
|- |
||
|'''libdvdcss2'''||Installed via <code>sudo /usr/share/doc/libdvdread4/install-css.sh</code> (see also [https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs]) |
|||
|- |
|- |
||
|'''Ubuntu tweak''' (<tt>ubuntu-tweak</tt>)||see [[Ubuntu#Ubuntu Tweak|Ubuntu Tweak]] |
|||
|- |
|- |
||
|'''Medibuntu application center''' (<tt>app-install-data-medibuntu</tt>)||This install medibuntu apps in Ubuntu Application Center |
|||
|- |
|- |
||
|'''XBMC''' (<tt>xbmc</tt>)||see [[XBMC#Install|XBMC]] |
|||
|- |
|- |
||
|[2011-12-31]||'''XSel''' (<tt>xsel</tt>)|| |
|[2011-12-31]||'''XSel''' (<tt>xsel</tt>)|| |
||
Line 177: | Line 183: | ||
!colspan="3" align="left"|'''Optional Applications:''' |
!colspan="3" align="left"|'''Optional Applications:''' |
||
|- |
|- |
||
|'''GNU Go''' (<tt>gnugo</tt>)|| |
|||
|- |
|- |
||
|Various '''Go''' games (<tt>qgo uligo cgoban</tt>)|| |
|||
|- |
|- |
||
|'''Quarry''' (<tt>quarry</tt>)||Board games Go, Amazons, and Reversi |
|||
|- |
|- |
||
|'''PGP''' (<tt>pgpgpg</tt>) |
|||
|- |
|- |
||
|'''PowerTop''' (<tt>powertop</tt>)|| |
|||
|- |
|- |
||
!colspan="3" align="left"|'''Applications not from repositories:''' |
!colspan="3" align="left"|'''Applications not from repositories:''' |
||
|- |
|- |
||
|'''Panda glGo 1.4.1'''||See [[Linux Software#Panda glGo|local page]] — does not work on ''Oneiric 64-bit'' |
|||
|} |
|} |
||
Revision as of 09:04, 12 March 2013
Any
To be completed
Linux
- Initial install script to install common applications
sudo apt-get install git etckeeper
sudo vi /etc/etckeeper/etckeeper.conf # Select git, avoid daily commit, avoid auto-commit
sudo etckeeper init
sudo etckeeper commit "1st commit"
sudo vi .gitignore # Ignore resolv.c* (and cups/subscriptions.* before Ubuntu Precise)
sudo git rm --cached resolv.c*
sudo git rm --cached cups/subscriptions.* # No longer needed on Ubuntu Precise and after
sudo git add .gitignore
sudo etckeeper commit "ignore resolv.c*, cups/subscriptions.*"
sudo vi /etc/apt/sources.list # Enable / add all relevant repositories (partner...)
sudo apt-get update
sudo apt-get install opera # or sudo dpkg -i opera...
sudo apt-get install libnss-mdns avahi-daemon mdns-scan synapse gitk git-gui git-doc \
mc autossh ssh vim-gnome exuberant-ctags cscope ruby keepassx
# Restore my profile
sudo vi /etc/hosts # Add host 'griffin'
ssh griffin -C "cat /etc/hosts" # recover any needed host ip address
sudo vi /etc/hosts # ... and write them
sudo etckeeper commit "update /etc/hosts file"
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
chmod 600 .ssh/*
chmod 644 .ssh/id_rsa.pub
mkdir tmp
git co opera -- .opera && git reset
git co mc -- .mc/ini && git reset
- Install the common repositories (see below)
- Install common applications
# Common Applications
sudo apt-get install rpcbind # Use 'portmap' before oneiric ocelot
sudo apt-get install terminator smbclient smbfs nfs-kernel-server nfs-common \
autofs 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 ubuntu-tweak \
app-install-data-medibuntu xbmc xsel \
compizconfig-settings-manager
sudo apt-file update
sudo /usr/share/doc/libdvdread4/install-css.sh
# Optional essentials
sudo apt-get install nmap
# Optional applications
sudo apt-get install gnugo qgo uligo cgoban quarry pgpgpg powertop
- Apply common settings (see below)
- Applications not from repositories:
- Panda glGo 1.4.1 (does not work on Oneiric 64-bit)
- Install latest updates:
sudo apt-get upgrade
Common repositories
- Added Opera
- Added Synapse
sudo add-apt-repository ppa:synapse-core/ppa && sudo apt-get update
- Added Gnome Terminator (not needed anymore for Ubuntu Precise and above)
- Added Ubuntu Tweak
- Added Medibuntu
- Added XBMC
Common Applications
Opera (opera) | See Opera to fix apt key issues | |
Synapse (synapse) | Using Alt-Space as shortcut (requires to disable Alt for HUD, and Alt-Space for Windows Menu in Compiz)
sudo add-apt-repository ppa:synapse-core/ppa
sudo apt-get update && sudo apt-get install synapse
| |
Git (git gitk git-gui git-doc gitweb git-svn) | [2011-12-15] Updated to 1.7.8 Installed from sources | |
etckeeper (etckeeper) | Configured to use git as SCM, AVOID_DAILY_AUTOCOMMITS, AVOID_COMMIT_BEFORE_INSTALL | |
mDNS (libnss-mdns avahi-daemon mdns-scan) | After install, do:
mdns-scan
Machine should broadcast its ip address on griffin.local to all avahi clients. For some strange reason, avahi may append a -2 suffix to broadcast name. To avoid that, edit /etc/avahi/avahi-daemon.conf and set host-name variable: host-name=griffin
| |
Midnight Commander (mc) | See reference page. Use vi as standard viewer/editor. Installed version from mc official repository to fix file highlighting issue. | |
AutoSSH (autossh) | ||
SSH (ssh) | Local settings | |
Vim (vim vim-gnome exuberant-ctags) | including GVim to enable support of X clipboard | |
Vim/Cscope (cscope) | ||
Ruby (ruby) | ... for Vim plug-in snipMate.vim | |
Gnome Terminator (terminator) | See Gnome Terminator | |
Samba (smbclient smbfs) | ||
NFS Server (nfs-kernel-server nfs-common rpcbind) | See NFS for more details; Created entries in /etc/exports. rpcbind replaces portmap since Oneiric. | |
AutoFS (autofs) | See local config | |
KeePassX (keepassx) | ||
apt-file (apt-file) | ||
p7zip (p7zip-full p7zip-rar) | ||
dlocate (dlocate) | ||
Thunderbird (thunderbird) | ||
Google Chrome (chromium-browser) | ||
Meld (meld) | Diff tool | |
Color Diff (colordiff) | ||
MS Truetype core fonts (ttf-msttcorefonts-installer) | ||
Qiv (qiv) | ||
gThumb (gthumb) | ||
GPG Agent (gnupg-agent) | Added use-agent at end of ~/.gnupg/gpg.conf
| |
Rename utils (renameutils) | ||
Wine (wine) | See Wine page | |
MPlayer (mplayer mplayer-doc mplayer-fonts) | ||
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
| |
Quicktime plugin (gnome-mplayer gecko-mediaplayer) | To play Quicktime content in Opera, Firefox | |
Gimp (gimp) | ||
Graphical Disk Map (gdmap) | ||
gparted (gparted) | ||
Ubuntu restricted extras (ubuntu-restricted-extras) | shall install automatically libdvdread4 | |
libdvdcss2 | Installed via sudo /usr/share/doc/libdvdread4/install-css.sh (see also [1])
| |
Ubuntu tweak (ubuntu-tweak) | see Ubuntu Tweak | |
Medibuntu application center (app-install-data-medibuntu) | This install medibuntu apps in Ubuntu Application Center | |
XBMC (xbmc) | see XBMC | |
[2011-12-31] | XSel (xsel) | |
[2012-04-29] | Compiz config settings manager (compizconfig-settings-manager) | |
Optional Applications: | ||
---|---|---|
GNU Go (gnugo) | ||
Various Go games (qgo uligo cgoban) | ||
Quarry (quarry) | Board games Go, Amazons, and Reversi | |
PGP (pgpgpg) | ||
PowerTop (powertop) | ||
Applications not from repositories: | ||
Panda glGo 1.4.1 | See local page — does not work on Oneiric 64-bit |
Optional Essentials:
[2012-05-24] | nmap (nmap) | For use with my git prj script |
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:
- Created configuration file /etc/auto.smb.mnemosyne
- Created SMB credential files /etc/auto.smb.mnemosyne.* (see
man mount.cifs
) Created path for mount points:
/net /etc/auto.net
/smb/mnemosyne /etc/auto.smb.mnemosyne
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
sudo passwd marie
sudo passwd isma
sudo passwd emma
X11
- Custom keyboard mapping be:
# From my profile
sudo cp ~/etc/be /usr/share/X11/xkb/symbols/be
Windows
To be completed