Configuration Common: Difference between revisions
Jump to navigation
Jump to search
(→Linux: restore .mc/ini) |
No edit summary |
||
(110 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Linux == |
== Linux == |
||
Moved to [[Configuration Common Linux]]. |
|||
* Initial install script to install common applications |
|||
<source lang=bash> |
|||
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 keepassx |
|||
== Common Issues == |
|||
sudo vi /etc/etckeeper/etckeeper.conf # Select git, avoid daily commit, avoid auto-commit |
|||
See [[Common Issues]]. |
|||
sudo etckeeper init |
|||
sudo etckeeper commit "1st commit" |
|||
sudo vi .gitignore # Ignore resolv.c*, cups/subscriptions.* |
|||
sudo git rm --cached resolv.c* cups/subscriptions.* |
|||
sudo git add .gitignore |
|||
sudo etckeeper commit "ignore resolv.c*, cups/subscriptions.*" |
|||
== Windows == |
|||
# Restore my profile |
|||
Moved to [[Configuration Common Windows]]. |
|||
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 |
|||
</source> |
|||
* Install the common repositories (see below) |
|||
* Install common applications |
|||
<source lang=bash> |
|||
# Common Applications |
|||
sudo apt-get install terminator smbclient smbfs nfs-kernel-server nfs-common portmap 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 |
|||
sudo apt-file update |
|||
sudo /usr/share/doc/libdvdread4/install-css.sh |
|||
</source> |
|||
* Apply common settings (see below) |
|||
* Some extra applications to install optionally |
|||
<source lang="bash"> |
|||
# Some extra applications: |
|||
sudo apt-get install gnugo qgo uligo cgoban quarry pgpgpg powertop |
|||
</source> |
|||
* Applications not from repositories: |
|||
** Panda glGo 1.4.1 (does not work on ''Oneiric 64-bit'') |
|||
To be completed |
|||
=== Common repositories === |
|||
* Added [[Ubuntu#Ubuntu Tweak|Ubuntu Tweak]] |
|||
* Added [[Ubuntu#Medibuntu|Medibuntu]] |
|||
* Added [[XBMC#Install|XBMC]] |
|||
* Install [[CHM]] work-around. |
|||
=== Common Applications === |
|||
* Set '''region locale''' to ''English (United States)'', and set date format to <code>yyyy-MM-dd</code> (some excel sheets depend on locale settings). |
|||
== Wine == |
|||
{| class="install_log" |
|||
|- |
|||
|[2011-12-19]||'''Opera''' (<tt>opera</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Gnome Do''' (<tt>gnome-do</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Git''' (<tt>git gitk git-gui git-doc</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''etckeeper''' (<tt>etckeeper</tt>)||Configured to use ''git'' as SCM, ''AVOID_DAILY_AUTOCOMMITS'', ''AVOID_COMMIT_BEFORE_INSTALL'' |
|||
|- |
|||
|[2011-12-19]||'''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. |
|||
|- |
|||
|[2011-12-19]||'''SSH''' (<tt>ssh</tt>)||[[#SSH|Local settings]] |
|||
|- |
|||
|[2011-12-19]||'''Vim''' (<tt>vim vim-gnome exuberant-ctags</tt>)||including '''GVim''' to enable support of X clipboard |
|||
|- |
|||
|[2011-12-19]||'''Vim/Cscope''' (<tt>cscope</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Ruby''' (<tt>ruby</tt>)||... for Vim plug-in <tt>snipMate.vim</tt> |
|||
|- |
|||
|[2011-12-19]||'''Gnome Terminator''' (<tt>terminator</tt>)||See [[Linux Software#Gnome Terminator|Gnome Terminator]] |
|||
|- |
|||
|[2011-12-19]||'''Samba''' (<tt>smbclient smbfs</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''NFS Server''' (<tt>nfs-kernel-server nfs-common portmap</tt>)||See [[NFS]] for more details; Created entries in <tt>/etc/exports</tt>. |
|||
|- |
|||
|[2011-12-19]||'''AutoFS''' (<tt>autofs</tt>)||See [[#Network|local config]] |
|||
|- |
|||
|[2011-12-19]||'''KeePassX''' (<tt>keepassx</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''apt-file''' (<tt>apt-file</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''p7zip''' (<tt>p7zip-full p7zip-rar</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''dlocate''' (<tt>dlocate</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Thunderbird''' (<tt>thunderbird</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Google Chrome''' (<tt>chromium-browser</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Meld''' (<tt>meld</tt>)||Diff tool |
|||
|- |
|||
|[2011-12-19]||'''Color Diff''' (<tt>colordiff</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''MS Truetype core fonts''' (<tt>ttf-msttcorefonts-installer</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Qiv''' (<tt>qiv</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''gThumb''' (<tt>gthumb</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''GPG Agent''' (<tt>gnupg-agent</tt>)||Added <code>use-agent</code> at end of <tt>~/.gnupg/gpg.conf</tt> |
|||
|- |
|||
|[2011-12-19]||'''Rename utils''' (<tt>renameutils</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Wine''' (<tt>wine</tt>)||See [[Configuration NXP Dell Latitude_E6500 - Wine|Wine page]] |
|||
|- |
|||
|[2011-12-19]||'''MPlayer''' (<tt>mplayer mplayer-doc mplayer-fonts</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''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 |
|||
</source> |
|||
|- |
|||
|[2011-12-19]||'''Quicktime plugin''' (<tt>gnome-mplayer gecko-mediaplayer</tt>)||To play Quicktime content in ''Opera'', ''Firefox'' |
|||
|- |
|||
|[2011-12-19]||'''Gimp''' (<tt>gimp</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Graphical Disk Map''' (<tt>gdmap</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''gparted''' (<tt>gparted</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Ubuntu restricted extras''' (<tt>ubuntu-restricted-extras</tt>)||shall install automatically '''libdvdread4''' |
|||
|- |
|||
|[2011-12-19]||'''libdvdcss2'''||Installed via <code>sudo /usr/share/doc/libdvdread4/install-css.sh</code> (see also [https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs]) |
|||
|- |
|||
|[2011-12-19]||'''Ubuntu tweak''' (<tt>ubuntu-tweak</tt>)||see [[Ubuntu#Ubuntu Tweak|Ubuntu Tweak]] |
|||
|- |
|||
|[2011-12-19]||'''Medibuntu application center''' (<tt>app-install-data-medibuntu</tt>)||This install medibuntu apps in Ubuntu Application Center |
|||
|- |
|||
|[2011-12-19]||'''XBMC''' (<tt>xbmc</tt>)||see [[XBMC#Install|XBMC]] |
|||
|- |
|||
!colspan="3" align="left"|'''Optional Applications:''' |
|||
|- |
|||
|[2011-12-19]||'''GNU Go''' (<tt>gnugo</tt>)|| |
|||
|- |
|||
|[2011-12-19]||Various '''Go''' games (<tt>qgo uligo cgoban</tt>)|| |
|||
|- |
|||
|[2011-12-19]||'''Quarry''' (<tt>quarry</tt>)||Board games Go, Amazons, and Reversi |
|||
|- |
|||
|[2011-12-19]||'''PGP''' (<tt>pgpgpg</tt>) |
|||
|- |
|||
|[2011-12-19]||'''PowerTop''' (<tt>powertop</tt>)|| |
|||
|- |
|||
!colspan="3" align="left"|'''Applications not from repositories:''' |
|||
|- |
|||
|[2011-12-19]||'''Panda glGo 1.4.1'''||See [[Linux Software#Panda glGo|local page]] — does not work on ''Oneiric 64-bit'' |
|||
|} |
|||
=== |
=== Configuration === |
||
''' 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><s>Created path for mount points:</s></li> |
|||
<s><source lang="bash"> |
|||
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></s> |
|||
</ul> |
|||
</ul> |
|||
* Configure CD-ROM reader for audio cd extraction (see [[Wine]]). |
|||
Or recover settings from an already configured host: |
|||
:First insert a ''data'' CD, then run <code>winecfg</code>. In the popup, go to the ''drives'' tab, and click ''auto-detect''. |
|||
=== Applications === |
|||
{| class="install_simple_log" |
|||
|- |
|||
|'''Exact Audio Copy 1.0 b3''' (<tt>eac-1.0beta3.exe</tt>)|| |
|||
* Needs a [[Wine#Exact Audio Copy|workaround]] to install: |
|||
<source lang="bash"> |
<source lang="bash"> |
||
cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Exact\ Audio\ Copy/ |
|||
scp griffin:tmp/autofs.tgz . # Configure autofs |
|||
regsvr32 sql* |
|||
sudo tar -xvzf autofs.tgz |
|||
sudo cp etc/* /etc |
|||
</source> |
</source> |
||
* FreedB name set to ''ABBA - Number Ones \ 03 Dancing Queen - ABBA'' |
|||
* FLAC — set compression to <tt>-8</tt> |
|||
'''Users''' |
|||
|} |
|||
<source lang=bash> |
|||
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 |
|||
</source> |
|||
== Windows == |
|||
To be completed |
Latest revision as of 12:41, 9 July 2024
Any
To be completed
Linux
Moved to Configuration Common Linux.
Common Issues
See Common Issues.
Windows
Moved to Configuration Common Windows.
To be completed
- Install CHM work-around.
- Set region locale to English (United States), and set date format to
yyyy-MM-dd
(some excel sheets depend on locale settings).
Wine
Configuration
- Configure CD-ROM reader for audio cd extraction (see Wine).
- First insert a data CD, then run
winecfg
. In the popup, go to the drives tab, and click auto-detect.
Applications
Exact Audio Copy 1.0 b3 (eac-1.0beta3.exe) |
cd ~/.wine/drive_c/Program\ Files\ \(x86\)/Exact\ Audio\ Copy/
regsvr32 sql*
|