Nxl67002 - Ubuntu: Difference between revisions
(→To Do: moved issues to common page) |
|||
(152 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Introduction == |
== Introduction == |
||
This is the configuration page for the '''Ubuntu Lucid Lynx 10.04 LTS (amd64)''' partition on '''[[Configuration NXP Dell Latitude E6500|NXL67002]]'''. |
This is the configuration page for the '''[[Ubuntu|Ubuntu Lucid Lynx 10.04 LTS (amd64)]]''' partition on '''[[Configuration NXP Dell Latitude E6500|NXL67002]]'''. |
||
== Configuration Files == |
== Configuration Files == |
||
All configuration files can be found [[{{PAGENAME}} - Files|here]]. |
All configuration files can be found [[{{PAGENAME}} - Files|here]]. |
||
== Repositories == |
|||
* Added Opera (automatically added when installing Opera) |
|||
* Added [[Midnight Commander#Official repository|Midnight Commander official repository]] |
|||
* Added [[Ubuntu#Ubuntu Tweak|Ubuntu Tweak]] |
|||
* Added [[Ubuntu#Medibuntu|Medibuntu]] |
|||
* Added [[Git#Install|gitg]] |
|||
* Added [[Ubuntu#Repositories|Natty]] (main, restricted, universe, see pinning below) |
|||
* Added [[Libre office#Repositories|Libre Office PPA]] |
|||
* Enabled [[Ubuntu#Repositories|Lucid backports]] (+pinning) |
|||
Content of <tt>/etc/apt/preferences</tt>: |
|||
<source lang="text"> |
|||
Package: * |
|||
Pin: release a=natty-updates |
|||
Pin-Priority: 250 |
|||
Package: * |
|||
Pin: release a=natty |
|||
Pin-Priority: 200 |
|||
Package: etckeeper git git-core git-doc git-gui git-man git-svn gitk gitweb dpkg dpkg-dev build-essential |
|||
Pin: release a=natty-updates |
|||
Pin-Priority: 990 |
|||
Package: etckeeper git git-core git-doc git-gui git-man git-svn gitk gitweb dpkg dpkg-dev build-essential |
|||
Pin: release a=natty |
|||
Pin-Priority: 900 |
|||
Package: * |
|||
Pin: release a=lucid-backports |
|||
Pin-Priority: 400 |
|||
</source> |
|||
We have a lot of repositories. So we must add to <tt>/etc/apt/apt.conf</tt>: |
|||
<source lang="cpp"> |
|||
// We added Natty repos, so APT need a bigger memory cache to work... |
|||
APT::Cache-Limit 37748736; |
|||
</source> |
|||
== Installed Applications == |
== Installed Applications == |
||
Line 14: | Line 53: | ||
|[2010-05-10]||'''Vim''' (<tt>vim, exuberant-ctags</tt>)|| |
|[2010-05-10]||'''Vim''' (<tt>vim, exuberant-ctags</tt>)|| |
||
|- |
|- |
||
|[2010-05-10]||'''Opera |
|[2010-05-10]||'''Opera''' (<tt>opera</tt>)||<small>[2010-12-21]</small> {{red|v 11.00.1156}} Use .pac file at <tt>http://localhost/proxy.pac</tt> to circumvent .pac file bug |
||
|- |
|- |
||
|[2010-05-10]||'''VirtualBox |
|[2010-05-10]||'''VirtualBox''' (<tt>virtualbox-4.1</tt>)||<small>[2012-11-12]</small> <font color="red">Updated to 4.1.22!</font><br/><small>[2012-01-11]</small> Updated to 4.0.16! — <font color="green">'''VERY STABLE'''</font><br/><small>[2010-05-26]</small> Updated to 3.2.4!<br/>[[#VirtualBox|Local settings]]. See also [[VirtualBox]] |
||
|- |
|- |
||
|[2010-05-10]||'''Samba''' (<tt>smbclient smbfs</tt>)|| |
|[2010-05-10]||'''Samba''' (<tt>smbclient smbfs</tt>)|| |
||
Line 46: | Line 85: | ||
|[2010-05-28]||'''Thunderbird''' (<tt>thunderbird</tt>)|| |
|[2010-05-28]||'''Thunderbird''' (<tt>thunderbird</tt>)|| |
||
|- |
|- |
||
|[2010-05-28]||'''Synergy |
|[2010-05-28]||'''Synergy''' (<tt>synergy</tt>)||<small>[2011-07-07]</small> <font color="red">Updated to <s>1.4.2beta</s>1.3.7!</font><br/>See [[X#Synergy|global config]] — Added <tt>/usr/bin/synergyc</tt> to <tt>/etc/suoders</tt> + alias in <tt>~/.bashrc</tt> — Server |
||
|- |
|- |
||
|[2010-05-31]||'''Courier-POP3''' (<tt>courier-pop courier-pop-ssl</tt>)|| |
|[2010-05-31]||'''Courier-POP3''' (<tt>courier-pop courier-pop-ssl</tt>)|| |
||
|- |
|||
|[2010-05-31]||'''Courier-MTA''' (<tt>courier-mta courier-mta-ssl</tt>)||so that mails are sent to Courier mailboxes |
|||
|- |
|- |
||
|[2010-05-31]||'''AutoFS''' (<tt>autofs</tt>)||See [[#Network|local config]] |
|[2010-05-31]||'''AutoFS''' (<tt>autofs</tt>)||See [[#Network|local config]] |
||
Line 75: | Line 112: | ||
|- |
|- |
||
|[2010-06-08]||'''Qiv''' (<tt>qiv</tt>)|| |
|[2010-06-08]||'''Qiv''' (<tt>qiv</tt>)|| |
||
|- |
|||
|[2010-06-09]||'''Foxit Reader''' (<tt>qiv</tt>)||Extracted <tt>tar.gz</tt> in <tt>/usr/local/bin</tt><br/>Icons in <tt>/usr/share/pixmaps/foxitreader.png</tt>.<br/>Desktop file in <tt>/usr/share/applications/</tt> + edited mime type in <tt>~/.local/share/applications/mimeapps.list</tt> to associate with <tt>application/pdf</tt>files |
|||
|- |
|- |
||
|[2010-06-09]||'''Grub2 Splash Image''' (<tt>ubuntu-splash-image</tt>)||(from <tt>[http://www.ubuntugeek.com/grub2-splash-images-for-ubuntu-10-049-10.html lucid-splash-image.deb]</tt>) installed with <code>sudo dpkg -i --force-architecture lucid-splash-image.deb</code> |
|[2010-06-09]||'''Grub2 Splash Image''' (<tt>ubuntu-splash-image</tt>)||(from <tt>[http://www.ubuntugeek.com/grub2-splash-images-for-ubuntu-10-049-10.html lucid-splash-image.deb]</tt>) installed with <code>sudo dpkg -i --force-architecture lucid-splash-image.deb</code> |
||
Line 90: | Line 125: | ||
|[2010-07-07]||'''LaTeX''' (<tt>texlive texlive-xetex latex2hml</tt>)||Including XeTeX package |
|[2010-07-07]||'''LaTeX''' (<tt>texlive texlive-xetex latex2hml</tt>)||Including XeTeX package |
||
|- |
|- |
||
|[2010-07-07]||'''TeX Extra packages''' (<tt>texlive-plain-extra</tt>)||Soul package requires CTAN color package - see [http://www.tex.ac.uk/tex-archive/macros/latex/contrib/soul/soul.pdf] |
|[2010-07-07]||'''TeX Extra packages''' (<tt>texlive-plain-extra texlive-science</tt>)||Soul package requires CTAN color package - see [http://www.tex.ac.uk/tex-archive/macros/latex/contrib/soul/soul.pdf]<br/><small>[2011-01-14]</small> Added texlive-science. |
||
|- |
|- |
||
|[2010-07-14]||'''gThumb''' (<tt>gthumb</tt>)|| |
|[2010-07-14]||'''gThumb''' (<tt>gthumb</tt>)|| |
||
Line 100: | Line 135: | ||
|[2010-08-09]||'''Wine''' (<tt>wine</tt>)||See [[Configuration NXP Dell Latitude_E6500 - Wine|Wine page]] |
|[2010-08-09]||'''Wine''' (<tt>wine</tt>)||See [[Configuration NXP Dell Latitude_E6500 - Wine|Wine page]] |
||
|- |
|- |
||
|[2010-08-09]||'''Nautilus Audio Converter''' (<tt>wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame nautilus-script-audio-convert</tt>)||Enable script <tt>ConvertAudioFile</tt> (Menu ''Preference'' → ''Nautilus Script<u>s</u> Manager''). See [ |
|[2010-08-09]||'''Nautilus Audio Converter''' (<tt>wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame libid3-3.8.3-dev nautilus-script-audio-convert</tt>)||Enable script <tt>ConvertAudioFile</tt> (Menu ''Preference'' → ''Nautilus Script<u>s</u> Manager''). See [[Linux audio]]. |
||
|- |
|- |
||
|[2010-08-11]||'''HTTrack''' (<tt>httrack</tt>)|| |
|[2010-08-11]||'''HTTrack''' (<tt>httrack</tt>)|| |
||
Line 132: | Line 167: | ||
|[2010-09-16]||'''Recoll desktop search''' (<tt>recoll</tt>)||See also [[Linux Software#Recoll|Recoll page]]. |
|[2010-09-16]||'''Recoll desktop search''' (<tt>recoll</tt>)||See also [[Linux Software#Recoll|Recoll page]]. |
||
|- |
|- |
||
|[2010-09-17]||'''Macbuntu 10.04 theme'''||See [[Gnome#Macbuntu|Macbuntu page]]. Check log + uninstall script in <tt>~/.macbuntu</tt>. no wobbly windows, no hot corners. |
|[2010-09-17]||'''Macbuntu 10.04 theme'''||<small>[2011-02-20]</small> {{red|Updated v2.3! }} — See [[Gnome#Macbuntu|Macbuntu page]]. Check log + uninstall script in <tt>~/.macbuntu</tt>. no wobbly windows, no hot corners. |
||
|- |
|- |
||
|[2010-09-17]||'''pdftk''' (<tt>pdftk</tt>)|| |
|[2010-09-17]||'''pdftk''' (<tt>pdftk</tt>)|| |
||
Line 140: | Line 175: | ||
|[2010-09-20]||Various '''Go''' games (<tt>qgo uligo</tt>)|| |
|[2010-09-20]||Various '''Go''' games (<tt>qgo uligo</tt>)|| |
||
|- |
|- |
||
|[2010-09-20]||'''Panda glGo 1.4.1''' |
|[2010-09-20]||'''Panda glGo 1.4.1'''||See [[Linux Software#Panda glGo|local page]] |
||
<source lang="bash" enclose="prevalid">sudo ln -s libpython2.6.so.1.0 /usr/lib32/libpython2.5.so.1.0</source> |
|||
Start <code>glGo</code>, and enter <code>/usr/games/gnugo</code> for location of gnugo |
|||
|- |
|- |
||
|[2010-09-20]||'''Quarry''' (<tt>quarry</tt>)||Board games Go, Amazons, and Reversi |
|[2010-09-20]||'''Quarry''' (<tt>quarry</tt>)||Board games Go, Amazons, and Reversi |
||
Line 168: | Line 201: | ||
|[2010-10-26]||'''Google Chrome''' (<tt>chromium-browser</tt>)|| |
|[2010-10-26]||'''Google Chrome''' (<tt>chromium-browser</tt>)|| |
||
|- |
|- |
||
|[2010-11-16]||'''PuddleTag''' (<tt>puddletag python-qt4 python-pyparsing python-mutagen python-configobj python-musicbrainz2</tt>)||<small>[2010-12-23]</small> {{red|v 0.9.11}} See [[Linux Software#PuddleTag|local page]] |
|||
|[2010-11-16]||'''PuddleTag 0.9.7''' (<tt>puddletag</tt>)||[http://puddletag.sourceforge.net website]. Heard about it [http://www.ubuntugeek.com/linux-finally-gets-a-great-audio-tagger.html here]. |
|||
|- |
|- |
||
|[2010-11-26]||'''PCSC Tools''' (<tt>pcsc-tools</tt>)||For <tt>[http://linux.die.net/man/1/atr_analysis ATR_analysis]</tt>. |
|[2010-11-26]||'''PCSC Tools''' (<tt>pcsc-tools</tt>)||For <tt>[http://linux.die.net/man/1/atr_analysis ATR_analysis]</tt>. |
||
|- |
|- |
||
|[2010-11-26]||'''Color Diff''' (<tt>colordiff</tt>)|| |
|[2010-11-26]||'''Color Diff''' (<tt>colordiff</tt>)|| |
||
|- |
|||
|[2010-12-09]||colspan=2 align="center"|——— '''Ubuntu Lucid Lynx 10.04 LTS (i386)''' ——— |
|||
|- |
|- |
||
|[2010-12-12]||'''gparted''' (<tt>gparted</tt>)|| |
|[2010-12-12]||'''gparted''' (<tt>gparted</tt>)|| |
||
|- |
|||
|[2010-12-23]||'''Diffuse''' (<tt>diffuse</tt>)|| |
|||
|- |
|||
|[2011-01-10]||'''4Pane''' (<tt>4pane</tt>)||See [[Linux Software#4Pane]] |
|||
|- |
|||
|[2011-01-16]||'''NFS Server''' (<tt>nfs-kernel-server nfs-common portmap</tt>)||See [[NFS]] for more details; Created entries in <tt>/etc/exports</tt>. |
|||
|- |
|||
|[2011-01-26]||'''GIT''' (<tt>git-gui gitk git-doc gitweb</tt>)||<small>[2011-12-15]</small> — {{red|Updated to 1.7.10.5}} compiled from source.<br/> |
|||
<source lang=bash> |
|||
sudo apt-get install zlib1g-dev libcurl4-openssl-dev expat asciidoc # More packages might be needed |
|||
git clone git://github.com/gitster/git.git # Use proxygit if behind a proxy |
|||
cd git |
|||
make configure # See also INSTALL |
|||
./configure --prefix=/usr/local # In // of existing package installation. /usr/local has precedence |
|||
make all doc |
|||
sudo make install install-doc install-html |
|||
</source> |
|||
<small>[2012-11-08]</small> — Installed '''tileqt''' tcl/tk widget theme for ''gitk'' (see [[Git#Configuration|here]]). |
|||
|- |
|||
|[2011-02-02]||'''WireShark''' (<tt>wireshark tshark</tt>)|| |
|||
|- |
|||
|[2011-02-02]||'''bsdiff''' (<tt>bsdiff</tt>)|| |
|||
|- |
|||
|[2011-02-14]||Some '''git browsers''' (<tt>qgit gitg source-highlight</tt>)||<small>[2011-02-21]</small> {{red|gitg updated to 0.0.7! }} |
|||
|- |
|||
|[2011-02-14]||'''qmail''' (<tt>ucspi-tcp qmail</tt>)||See [[qmail]] page |
|||
|- |
|||
|[2011-02-22]||'''socat''' (<tt>socat</tt>)|| |
|||
|- |
|||
|[2011-02-22]||'''multitee''' (<tt>multitee</tt>)|| |
|||
|- |
|||
|[2011-02-23]||'''colortail''' (<tt>colortail</tt>)|| |
|||
|- |
|||
|[2011-02-28]||'''Word Diff''' (<tt>wdiff</tt>)|| |
|||
|- |
|||
|[2011-03-01]||'''etckeeper''' (<tt>etckeeper</tt>)||{{red|v 0.52 from ''Natty''}} |
|||
|- |
|||
|[2011-03-01]||'''Amarok''' (<tt>amarok kubuntu-restricted-extras</tt>)||{{red|v 2.4 from ''lucid-backports''}} — See [[#Amarok|Local settings]] |
|||
|- |
|||
|[2011-03-01]||'''VLC''' (<tt>vlc</tt>)|| |
|||
|- |
|||
|[2011-03-02]||'''dwww''' (<tt>dwww</tt>)|| |
|||
|- |
|||
|[2011-03-02]||'''apt-rdepends''' (<tt>apt-rdepends</tt>)|| |
|||
|- |
|||
|[2011-03-02]||'''GraphViz''' (<tt>graphviz</tt>)||To plot package dependencies with <code>apt-cache dotty</code> and <code>apt-rdepends -d</code> |
|||
|- |
|||
|[2011-03-02]||'''Gufw''' (<tt>gufw</tt>)||graphical front-end to ''ufw'' |
|||
|- |
|||
|[2011-03-17]||'''pipe viewer''' (<tt>pv</tt>)|| |
|||
|- |
|||
|[2011-03-17]||'''Perl-doc html''' (<tt>perl-doc-html</tt>)||Available from ''dwww'', section ''Programming/perl'' |
|||
|- |
|||
|[2011-04-06]||'''WiFi backport 2.6.37'''<br/>(<tt>linux-backports-modules-wireless-2.6.37-lucid-generic-pae</tt>)||Try to solve frequent WiFi disconnect |
|||
|- |
|||
|[2011-05-12]||'''Perl Audio Converter''' (<tt>pacpl</tt>)|| |
|||
|- |
|||
|[2011-06-07]||'''PowerTop''' (<tt>powertop</tt>)|| |
|||
|- |
|||
|[2011-06-29]||'''NTP''' (<tt>ntp</tt>)||Set system to synchronize with NTP server automatically (servers: ntp0.nl.net, ntp1.nl.net, ntp2.nl.net, ntp.univ-lyon1.fr) |
|||
|- |
|||
|[2011-07-04]||'''SVN plugin for Nautilus''' (<tt>nautilus-script-collection-svn</tt>)||<source lang="bash">nautilus-script-manager enable Subversion</source> |
|||
|- |
|||
|[2011-07-05]||'''Samba Server''' (<tt>samba smbfs</tt>)||See [[#Samba|local config]] |
|||
|- |
|||
|[2011-07-07]||'''Acrobat Reader''' (<tt>acroread</tt>)||Edit mime type in <tt>~/.local/share/applications/mimeapps.list</tt>:<source lang="bash"> |
|||
[Added Associations] |
|||
application/pdf=acroread.desktop;evince.desktop;gimp.desktop |
|||
</source> |
|||
Add to <tt>~/.mailcap</tt>: |
|||
<source lang="bash"> |
|||
application/pdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf |
|||
application/x-pdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf |
|||
application/x-bzpdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf.bz2 |
|||
application/x-gzpdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf.gz |
|||
</source> |
|||
|- |
|||
|[2011-07-13]||'''KDiff3-QT''' (<tt>kdiff3-qt</tt>)||(QT version has no dep on KDE) Settings → Integration → add <tt>;--</tt> to command line opts to ignore, and check ''Quit also via Escape key'' |
|||
|- |
|||
|[2011-07-14]||'''eID Belgium''' (<tt>libxerces-c28, libacr38u, pcscd</tt>)||Downloaded from taxonweb.be, also install stuff not in packages (like /usr/local/bin/beidgui). '''Note''': there is also an ubuntu package beidgui!!! (+belpic, beid...) |
|||
|- |
|||
|[2011-07-20]||'''Hexedit''' (<tt>hexedit</tt>)||Hex editor |
|||
|- |
|||
|[2011-07-20]||'''Hexer''' (<tt>hexer</tt>)||Hex editor with vi-like interface |
|||
|- |
|||
|[2011-07-26]||'''[[Linux Commands#ack|Ack]]''' (<tt>ack-grep</tt>)||A better grep... <source lang=bash>sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack</source> |
|||
|- |
|||
|[2011-08-03]||'''Diffstat''' (<tt>diffstat</tt>)||A better grep... |
|||
|- |
|||
|[2011-09-30]||'''Libunwind''' (<tt>libunwind7</tt>, <tt>libunwind7-dev</tt>)|| |
|||
|- |
|||
|[2011-10-13]||'''indent''' (<tt>indent</tt>, <tt>indent-doc</tt>)|| |
|||
|- |
|||
|[2011-10-13]||'''Universal Indent GUI''' (<tt>universalindentgui</tt>)|| |
|||
|- |
|||
|[2011-10-13]||'''Uncrustify''' (<tt>uncrustify</tt>)||v0.59, simply compiled from source (<code>./configure; make; sudo make install</code>) |
|||
|- |
|||
|[2012-05-07]||'''ACL''' (<tt>acl</tt>)|| |
|||
|- |
|||
|[2012-05-11]||'''mDNS''' (<tt>libnss-mdns avahi-daemon mdns-scan</tt>)||After install, do: |
|||
<source lang=bash> |
|||
mdns-scan |
|||
</source> |
|||
Machine should broadcast its ip address on ''nxl67002ux.local'' to all avahi clients. For some strange reason, avahi may append a <tt>-2</tt> suffix to broadcast name. To avoid that, edit <tt>/etc/avahi/avahi-daemon.conf</tt> and set '''host-name''' variable: |
|||
<source lang=text> |
|||
host-name=nxl67002ux |
|||
</source> |
|||
|- |
|||
|[2012-01-10]||'''youtube-dl''' (<tt>youtube-dl</tt>)||Installed from git repository: |
|||
<source lang=bash> |
|||
git clone https://github.com/rg3/youtube-dl.git |
|||
cd youtube-dl |
|||
./youtube-dl <link> |
|||
</source> |
|||
|} |
|} |
||
Un-installed applications |
Un-installed applications: |
||
{| class=" |
{| class="uninstall_log" |
||
|- |
|- |
||
|[2010-09-16]||'''Mac4Lin Gnome theme'''|| |
|[2010-09-17]||[2010-09-16]||'''Mac4Lin Gnome theme'''||{{gray|See [[Gnome#Mac4Lin|Mac4Line page]]. Installed in <tt>~/mac4lin</tt>. Used ''MakeTechEasier'' version + Opera user stylesheet fix.}}<br/> — ''Uninstalled (theme too dark, Macbuntu theme is much better + Opera much better).'' |
||
|- |
|||
|[2010-12-09]||[2010-06-09]||'''Foxit Reader'''||{{gray|bin in <tt>/usr/local/bin</tt>, icon in <tt>/usr/share/pixmaps/foxitreader.png</tt>, .desktop in <tt>/usr/share/applications/</tt>.<br/> Edit mime type in <tt>~/.local/share/applications/mimeapps.list</tt> to associate with <tt>application/pdf</tt>files}} — ''Not as good as windows version'' |
|||
|- |
|||
|[2011-01-20]||[2011-01-13]||'''NoMachine NX Server''' (<tt>nxclient, nxnode, nxserver</tt>)||{{gray|See [[NoMachine]]. Enabled CUPS printing.}} — ''Not needed anymore'' |
|||
|- |
|||
|[2011-02-17]||[2010-09-16]||'''Courier-MTA''' (<tt>courier-mta courier-mta-ssl</tt>)||{{gray|so that mails are sent to Courier mailboxes}} — ''Replaced by qmail'' |
|||
|} |
|} |
||
none |
|||
== Automatic Updates == |
|||
* <small>[2010-05-03]</small> — '''Kernel''' — (<tt>linux-image-2.6.32-22-generic</tt>, replacing original <tt>linux-image-2.6.32-21-generic</tt>) |
|||
== Simple Settings == |
== Simple Settings == |
||
* <s>'''GRUB''' — Added to file <tt>/etc/grub.d/40_custom</tt>: </s>(Not needed anymore since VirtualBox boots Windows directly, so no risk of booting host again)<s><source lang="bash" enclose="prevalid">set default="Microsoft Windows XP Professional (on /dev/sda2)"</source></s> |
* <s>'''GRUB''' — Added to file <tt>/etc/grub.d/40_custom</tt>: </s>(Not needed anymore since VirtualBox boots Windows directly, so no risk of booting host again)<s><source lang="bash" enclose="prevalid">set default="Microsoft Windows XP Professional (on /dev/sda2)"</source></s> |
||
* '''CRON''' - cron script for automatic '''backup''' of wikis on Noekeon's (see [[{{PAGENAME}} - Files|config files]]). |
* '''CRON''' - cron script for automatic '''backup''' of wikis on Noekeon's (see [[{{PAGENAME}} - Files|config files]]). |
||
* '''SUDO''' - keep environment variable '''http_proxy''' |
|||
* '''PROXY''' - script for automatic setup of network environment (proxy, ssh...) (see [[{{PAGENAME}} - Files|config files]]). |
* '''PROXY''' - script for automatic setup of network environment (proxy, ssh...) (see [[{{PAGENAME}} - Files|config files]]). |
||
* '''Security''' — Disabled control-alt-del in console as recommended in [https://help.ubuntu.com/10.04/serverguide/C/console-security.html Ubuntu Server Guide]. Comment out the following line in the file <tt>/etc/init/control-alt-delete.conf</tt>: |
|||
<source lang="bash"> |
|||
#exec shutdown -r now "Control-Alt-Delete pressed" |
|||
</source> |
|||
* '''SUDO''' - keep environment variable '''GREP_OPTIONS''' |
|||
* Add user '''www''' for synchronization of <tt>/data/www</tt> folder (''localhost'' page): |
|||
<source lang="bash"> |
|||
sudo useradd -g www-data -G users -u 999 -s /bin/bash -m www |
|||
sudo passwd www |
|||
su - www |
|||
ssh-keygen # Or copy .ssh/ copy from other www users |
|||
scp .ssh/id_rsa.pub .ssh/authorized_keys |
|||
</source> |
|||
== Detailed System Settings == |
== Detailed System Settings == |
||
Line 206: | Line 371: | ||
* Software to install: '''Ubuntu Desktop''' |
* Software to install: '''Ubuntu Desktop''' |
||
* Partition: see [[Configuration NXP Dell Latitude E6500#Partition|main page]] |
* Partition: see [[Configuration NXP Dell Latitude E6500#Partition|main page]] |
||
=== Kernel === |
|||
* <small>[2010-02-02]</small> — Install the Maverick backport kernel '''2.6.35''' (see [[Ubuntu#Administration|Ubuntu page]]). |
|||
* <small>[2010-02-03]</small> — Reverted to Lucid default kernel '''2.6.32''' (2.6.35 not any better). |
|||
=== File System === |
=== File System === |
||
* For details, see [[{{PAGENAME}} - Files|/etc/fstab]]. |
* For details, see [[{{PAGENAME}} - Files|/etc/fstab]]. |
||
* |
* '''NTFS''' partition: |
||
** '''C:''' → do '''not''' mount automatically. <font color="red">'''Risk of corruption''' if mounted while VirtualBox is running!</font> |
** '''C:''' → do '''not''' mount automatically. <font color="red">'''Risk of corruption''' if mounted while VirtualBox is running!</font> |
||
** '''D:''' → mount as <tt>/ |
** '''D:''' → mount as <tt>/win/d</tt>. |
||
* '''NTFS''' partition must be mounted without <tt>umask=007,gid=46</tt>, or will get ''operation not permitted'' when modifying timestamps: |
|||
<source lang="text"> |
|||
/dev/sda2 /win/c ntfs ro,users,nls=utf8,exec 0 2 |
|||
/dev/sda7 /win/d ntfs users,nls=utf8,exec 0 2 |
|||
</source> |
|||
* File system structure: |
* File system structure: |
||
<div style="padding-left:2em"> |
<div style="padding-left:2em"> |
||
'''<u>/</u>''': |
'''<u>/</u>''': |
||
drwxr-xr-x root root <font color="blue">boot</font>/ <font color="gray"># /dev/sda3</font> |
|||
drwxr-xr-x root root <font color="blue">data</font>/ <font color="gray"># /dev/sda8</font> |
|||
drwxr-xr-x root root <font color="blue">net</font>/ |
drwxr-xr-x root root <font color="blue">net</font>/ |
||
lrwxrwxrwx root root <font color="darkcyan">sage</font> -> <font color="blue">/data/sage-4.2.1</font>/ |
lrwxrwxrwx root root <font color="darkcyan">sage</font> -> <font color="blue">/data/sage-4.2.1</font>/ |
||
drwxr-xr-x root root <font color="blue">smb</font>/ |
drwxr-xr-x root root <font color="blue">smb</font>/ |
||
drwxr-xr-x root root <font color="blue"> |
drwxr-xr-x root root <font color="blue">win</font>/ |
||
'''<u>/data</u>''': |
'''<u>/data</u>''': |
||
drwxr-xr-x |
drwxr-xr-x root root <font color="blue">home</font>/ |
||
drwxr-xr-x beq06659 beq06659 <font color="blue">beq06659</font>/ |
|||
drwxr-xr-x beq06659 beq06659 <font color="blue">sage-4.2.1</font>/ |
drwxr-xr-x beq06659 beq06659 <font color="blue">sage-4.2.1</font>/ |
||
drwxr-xr-x www-data root <font color="blue">www</font>/ |
drwxr-xr-x www-data root <font color="blue">www</font>/ |
||
'''<u>/home/beq06659</u>''': |
'''<u>/home/beq06659</u>''': |
||
lrwxrwxrwx beq06659 beq06659 <font color="darkcyan">Documents</font> -> <font color="blue">/windows/d/Profiles/beq06659/My Documents</font>/ |
lrwxrwxrwx beq06659 beq06659 <font color="darkcyan">Documents</font> -> <font color="blue">/windows/d/Profiles/beq06659/My Documents</font>/ |
||
lrwxrwxrwx beq06659 beq06659 <font color="darkcyan">Maildir</font> -> <font color="blue">/data/beq06659/Maildir</font>/ |
|||
lrwxrwxrwx beq06659 beq06659 <font color="darkcyan">backup</font> -> <font color="blue">/data/beq06659/backup</font>/ |
|||
'''<u>/mnt</u>''': |
|||
drwxr-xr-x root root <font color="blue">data</font>/ <font color="gray"># /windows/d/andlinux/Drives/data.reiserfs.10G.dvi</font> |
|||
drwxr-xr-x root root <font color="blue">winc</font>/ <font color="gray"># /dev/sda2</font> |
|||
drwxr-xr-x root root <font color="blue">wind</font>/ <font color="gray"># /dev/sda5</font> |
|||
'''<u>/net</u>''': |
'''<u>/net</u>''': |
||
<font color="gray"># NFS autofs</font> |
<font color="gray"># NFS autofs</font> |
||
Line 239: | Line 407: | ||
'''<u>/var</u>''': |
'''<u>/var</u>''': |
||
lrwxrwxrwx root root <font color="darkcyan">www</font> -> <font color="blue">/data/www</font>/ |
lrwxrwxrwx root root <font color="darkcyan">www</font> -> <font color="blue">/data/www</font>/ |
||
'''<u>/ |
'''<u>/win</u>''': |
||
drwxr-xr-x root root <font color="blue">c</font>/ <font color="gray"># /dev/sda2</font> |
|||
lrwxrwxrwx root root <font color="blue">d</font>/ <font color="gray"># /dev/sda7</font> |
|||
</div> |
</div> |
||
* Configure '''acl''' on <tt>/data/d</tt>: |
|||
<source lang=bash> |
|||
# VirtualBox uses /data/d as Windows D: drive. Since VirtualBox runs as 'root', all files gets root/root ownership. |
|||
# We use acl so that files gets group access beqO6659/rwx by default |
|||
cd /data |
|||
sudo chgrp -R beq06659 d |
|||
sudo chmod -R g+w d |
|||
find d -type d -print0|sudo xargs -0 chmod g+s |
|||
find d -type d -print0|sudo xargs -0 setfacl -m d:group:beq06659:rwx |
|||
</source> |
|||
* Configure '''acl''' on <tt>/data/www</tt>: |
|||
<source lang=bash> |
|||
# Set default access condition to rwxr-xr-x / www / www-data |
|||
cd /data |
|||
sudo chgrp -R www-data www |
|||
find www -type d -print0|sudo xargs -0 chmod g+s |
|||
find www -type d -print0|sudo xargs -0 setfacl -m d:group:www-data:r-x |
|||
find www -type d -print0|sudo xargs -0 setfacl -m d:user:www:r-x # TODO: this one does not work with root... |
|||
</source> |
|||
=== Network === |
=== Network === |
||
* Edited '''/etc/hosts''' |
* Edited '''/etc/hosts''' (added names for intranet) |
||
* Added to '''/etc/apt/apt.conf''': |
|||
* '''Proxy''' configuration - network '''nxp''': |
|||
<source lang="text"> |
|||
** '''sshproxy''' → connect to NXP proxy with '''sshtunnel''' (with NTLM auth. if needed); forward IMAP/SMTP ports; opens a SOCKS5 proxy |
|||
Acquire::http::proxy "http://localhost:8118/"; |
|||
** '''privoxy''' → forward to ssh SOCKS5 proxy. provide http proxy server. |
|||
Acquire::ftp::proxy "ftp://localhost:8118/"; |
|||
** '''apt-get''', '''wget''', '''browsers'''... → through privoxy (env. set in /etc/bash.bashrc, /etc/profile, /etc/environment) |
|||
Acquire::https::proxy "https://localhost:8118/"; |
|||
** '''ftp''' → direct connection (no solution...) |
|||
</source> |
|||
* '''Proxy''' configuration - network '''home''': |
|||
* Added to '''/etc/environment''': |
|||
** '''sshproxy''' → direct connection; forward IMAP/SMTP ports; opens a SOCKS5 proxy (useless). |
|||
<source lang="text"> |
|||
** '''privoxy''' → direct connection. provide http proxy server. |
|||
http_proxy="http://localhost:8118/" |
|||
** '''apt-get''', '''wget''', '''browsers'''... → through privoxy (env. set in /etc/bash.bashrc, /etc/profile, /etc/environment) |
|||
ftp_proxy="ftp://localhost:8118/" |
|||
** '''ftp''' → direct connection |
|||
https_proxy="https://localhost:8118/" |
|||
</source> |
|||
* .pac files: |
|||
** privoxy: <tt>file:///home/beq06659/etc/proxylocal-privoxy.pac</tt> (or <tt>http://localhost/proxy.pac</tt> to circumvent Opera bug) |
|||
** nxp: <tt>http://nww.nics.nxp.com:8080/proxy.pac</tt> |
|||
* '''/etc/sudoers''' — keep variables '''http_proxy''' and '''https_proxy''' |
|||
* '''Proxy''' configurations |
|||
<div style="padding-left:2em;"> |
|||
{| class="wikitable" |
|||
|- |
|||
!colspan="2"|NXP network |
|||
|- |
|||
|'''sshproxy''' |
|||
| |
|||
* Connect to NXP proxy with '''sshtunnel''' (with NTLM auth. if needed) |
|||
* Forward IMAP/SMTP ports |
|||
* Opens a SOCKS5 proxy |
|||
|- |
|||
| '''privoxy''' |
|||
| |
|||
* Forward to ssh SOCKS5 proxy. |
|||
* Provide http proxy server. |
|||
|- |
|||
| '''apt-get''', '''wget''', '''browsers''' |
|||
| |
|||
* through privoxy (through environment variables or .pac file) |
|||
|- |
|||
| '''ftp''' |
|||
| |
|||
* Direct connection (no solution...) |
|||
|- |
|||
!colspan="2"|HOME network |
|||
|- |
|||
|'''sshproxy''' |
|||
| |
|||
* Direct connection |
|||
* Forward IMAP/SMTP ports |
|||
* Opens a SOCKS5 proxy (not used) |
|||
|- |
|||
| '''privoxy''' |
|||
| |
|||
* Direct connection |
|||
* Provide http proxy server. |
|||
|- |
|||
| '''apt-get''', '''wget''', '''browsers''' |
|||
| |
|||
* through privoxy (through environment variables or .pac file) |
|||
|- |
|||
| '''ftp''' |
|||
| |
|||
|} |
|||
</div> |
|||
<ul> |
<ul> |
||
<li>'''SAMBA/NFS CLIENT''' - Mount '''mnemosyne''' shares as '''NFS autofs''' (see [https://help.ubuntu.com/community/Autofs]) and as '''SMB autofs'''</li> |
<li>'''SAMBA/NFS CLIENT''' - Mount '''mnemosyne''' shares as '''NFS autofs''' (see [https://help.ubuntu.com/community/Autofs]) and as '''SMB autofs'''</li> |
||
Line 264: | Line 503: | ||
/smb/mnemosyne /etc/auto.smb.mnemosyne |
/smb/mnemosyne /etc/auto.smb.mnemosyne |
||
</source> |
</source> |
||
<li>Created configuration file '''<tt>/etc/auto.smb.mnemosyne</tt>''' |
<li>Created configuration file '''<tt>/etc/auto.smb.mnemosyne</tt>''' (mount options: <tt>noperm,'''iocharset=utf8''',credentials=/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 SMB credential files '''<tt>/etc/auto.smb.mnemosyne.*</tt>''' (see <code>man mount.cifs</code>)</li> |
||
<li>Created path for mount points:</li> |
<li>Created path for mount points:</li> |
||
Line 283: | Line 522: | ||
* Identity: '''michael.peeters@nxp.com''' |
* Identity: '''michael.peeters@nxp.com''' |
||
* User certificate / CA certificate / Private key: imported from Windows ('''NXP Enterprise CA 1''' for '''Client Authentication, Secure Email''', serial '''2F DF 1F D4 00 00 00 00 5E 1C''') |
* User certificate / CA certificate / Private key: imported from Windows ('''NXP Enterprise CA 1''' for '''Client Authentication, Secure Email''', serial '''2F DF 1F D4 00 00 00 00 5E 1C''') |
||
<li>'''Privoxy''' settings: |
|||
* Added to <tt>/etc/privoxy/user.action</tt>: |
|||
<source lang=bash> |
|||
{ -filter } |
|||
tennislibre.com |
|||
</source> |
|||
</ul> |
|||
=== Firewall === |
|||
<ul> |
|||
<li>Moved ''user'' rules to <tt>/etc/ufw</tt> so that they can be tracked by ''etckeeper''</li> |
|||
<source lang="bash"> |
|||
cd /lib/ufw |
|||
sudo mv user* /etc/ufw |
|||
sudo ln -s /etc/ufw/user.rules |
|||
sudo ln -s /etc/ufw/user6.rules |
|||
</source> |
|||
<li>Enabled ''ufw''</li> |
|||
<source lang="bash"> |
|||
sudo ufw enable |
|||
</source> |
|||
<li>Policy:</li> |
|||
<source lang="bash"> |
|||
sudo ufw allow from 192.168.11.2 # Enable full access from local virtualbox |
|||
sudo ufw allow from 172.19.0.0/16 to any port 22 # Enable - from home local network - SSH |
|||
</source> |
|||
</ul> |
</ul> |
||
Line 312: | Line 577: | ||
|- |
|- |
||
| '''Super-E''' || Home Folder || Hack ''Super is mapped to Win keys'' not needed anymore it seems |
| '''Super-E''' || Home Folder || Hack ''Super is mapped to Win keys'' not needed anymore it seems |
||
|- |
|||
| '''Shift-Super-E''' ||Expo key || |
|||
|- |
|||
| '''Shift-Alt-Space''' ||Activate the window menu || was conflicting with Gnome DO shortcut |
|||
|} |
|} |
||
Line 331: | Line 592: | ||
<li>[[Gnome#Compiz|Compiz]]</li> |
<li>[[Gnome#Compiz|Compiz]]</li> |
||
* ''General Option - Move Window'': {{kb|Su}}{{kbname|Button2}}<br/>''because {{kb|A}}{{kbname|Button3}} is used in OpenOffice to move columns / rows'' |
|||
* ''Static Application Switcher'': Use '''Alt-Tab''' for <tt>Next Window (current workspace)</tt> |
|||
* ''Static Application Switcher'': Use {{kb|A}}{{kbname|Alt}} for <tt>Next Window (current workspace)</tt> |
|||
* ''Scale'': '''Multi-Output Mode''' → '''On all output devices''', '''darken background''', '''Emblem''' for overlay icon |
* ''Scale'': '''Multi-Output Mode''' → '''On all output devices''', '''darken background''', '''Emblem''' for overlay icon |
||
* ''Ring Switcher'': Enabled + Use |
* ''Ring Switcher'': Enabled + Use {{kb|Su}}{{kbname|Tab}} for <tt>Next Windows (All Workspaces)</tt> + '''Allow Mouse Selection''' |
||
* ''Enhanced Zoom Desktop'': Disabled |
* ''Enhanced Zoom Desktop'': Disabled |
||
* ''Negative'': Disabled |
* ''Negative'': Disabled |
||
Line 339: | Line 601: | ||
* ''Put'' : disabled ''Put Pointer'', enabled '''Put To Next Output''' ({{kb|Super}}{{kbkey|z}}) selected '''Avoid Offscreen'''. |
* ''Put'' : disabled ''Put Pointer'', enabled '''Put To Next Output''' ({{kb|Super}}{{kbkey|z}}) selected '''Avoid Offscreen'''. |
||
{| class="wikitable" |
{| class="wikitable" |
||
|+ Frequently used Compiz shortcuts |
|+ Frequently used Compiz shortcuts (bold are custom ones) |
||
|- |
|- |
||
! Shortcut !! Action !! Remark |
! Shortcut !! Action !! Remark |
||
|- |
|- |
||
|{{kb| |
|'''{{kb|S}}{{kb|A}}{{kbname|Space}}'''<br/>'''{{kb|Su}}{{kbname|Button3}}'''|| General Options - Window Menu |
||
|- |
|||
|{{kb|C}}{{kb|A}}{{kbname|Left}}<br/>{{kb|C}}{{kb|A}}{{kbname|Right}}|| Desktop Wall - Move || |
|||
|- |
|- |
||
|{{kb| |
|{{kb|S}}{{kb|C}}{{kb|A}}{{kbname|Left}}<br/>{{kb|S}}{{kb|C}}{{kb|A}}{{kbname|Right}}|| Desktop Wall - Move with window || |
||
|- |
|- |
||
|{{kb| |
|'''{{kb|S}}{{kb|Su}}{{kbkey|e}}'''||Expo Key|| |
||
|- |
|- |
||
|{{kb| |
|{{kb|A}}{{kbname|F7}}||Move Window|| |
||
|- |
|- |
||
|{{kb| |
|'''{{kb|Su}}{{kbkey|z}}'''||Windows Put To Next Output|| |
||
|- |
|- |
||
|{{kb| |
|{{kb|A}}{{kbname|F8}}<br/>'''{{kb|Su}}{{kbname|Button2}}'''||Resize Window|| |
||
|- |
|- |
||
|{{kb| |
|'''{{kb|Su}}{{kbname|Tab}}'''<br/>'''{{kb|S}}{{kb|Su}}{{kbname|Tab}}'''|| Ring Switcher || (All Workspaces) |
||
|- |
|- |
||
|{{kb| |
|'''{{kb|Su}}{{kbkey|w}}'''<br/>'''{{kb|Su}}{{kbkey|a}} / {{kb|{{kbname|TopLeft}}}} / {{kb|{{kbname|TopRight}}}}'''|| Scale windows || Current viewport<br/>All windows |
||
|- |
|- |
||
|{{kb| |
|'''{{kb|A}}{{kbname|Tab}}'''<br/>'''{{kb|S}}{{kb|A}}{{kbname|Tab}}'''|| Static application switcher || Current viewport |
||
|} |
|} |
||
<li>Windows</li> |
|||
* Movement Key: '''Super''' (Windows logo)<br/>''because '''Alt-mouse''' is used in OpenOffice to move columns / rows'' |
|||
</ul> |
</ul> |
||
== Detailed Application Settings == |
== Detailed Application Settings == |
||
=== Amarok === |
|||
* Select ''PulseAudio'' as [[Amarok|preferred device]] (instead of sound output ''HDA Intel (STAC92xx Analog)'' |
|||
* Set proxy settings in <tt>[[{{PAGENAME}} - Files|~/.kde/share/config/kioslaverc]]</tt>. |
|||
=== [[IMAP#Courier_IMAP|Courier IMAP]] === |
=== [[IMAP#Courier_IMAP|Courier IMAP]] === |
||
* Install (reference [[IMAP#Courier IMAP on Ubuntu|here]]): |
* Install (reference [[IMAP#Courier IMAP on Ubuntu|here]]): |
||
Line 376: | Line 642: | ||
=== Firefox === |
=== Firefox === |
||
* Theme: '''macfox3 1.1. |
* Theme: '''macfox3 1.1.7''' |
||
* Extensions (some disabled because Firefox hangs on launch/exit): |
|||
* Extensions: |
|||
** '''AutoPager 0. |
** {{gray|'''AutoPager 0.7.0.0''' — disabled}} |
||
** ''' |
** {{gray|'''Belgium eID 1.0.11''' — disabled}} |
||
** ''' |
** '''CHM Reader 0.2.3''' |
||
** ''' |
** {{gray|'''Cycle Input Focus 1.0.0''' — disabled}} |
||
** ''' |
** '''Delicious Bookmarks 2.3.1''' |
||
** ''' |
** '''Fast Dial 3.4''' |
||
** {{gray|'''FireGestures 1.5.7''' — disabled}} |
|||
** '''User Agent Switcher 0.7.2''' |
|||
** '''FoxyProxy Standard 3.3''' |
|||
** '''Live HTTP headers 0.17''' |
|||
** '''Ubuntu Firefox Modifications 0.9rc2''' |
|||
** {{gray|'''User Agent Switcher 0.7.3''' — disabled}} |
|||
=== [[Gnome#Gnome DO|Gnome DO]] === |
=== [[Gnome#Gnome DO|Gnome DO]] === |
||
Line 391: | Line 661: | ||
=== LAMP === |
=== LAMP === |
||
Install the servers: |
|||
<source lang="bash"> |
<source lang="bash"> |
||
sudo apt-get install apache2 php5 mysql-server mysql-client php5-mysql |
sudo apt-get install apache2 php5 mysql-server mysql-client php5-mysql |
||
Line 407: | Line 677: | ||
</source> |
</source> |
||
Apache: |
|||
* Apache configuration file is at '''/etc/apache2/apache2.conf''' |
|||
* configuration file is at '''/etc/apache2/apache2.conf''' |
|||
* By default, Apache root http directory is '''/var/www''' |
|||
* Apache root http directory is '''/var/www''' |
|||
* Enable ''mod-rewrite'' module.<br/> In <tt>/etc/apache2/sites-available/default</tt>, change as: <code>AllowOverride <s>{{red|None}}</s>{{green|FileInfo}}</code> (twice). |
|||
Create databases that will store local copies of ''cryptokiwi'' and ''mikiwiki'' wiki, and of ''mikido'': |
|||
<source lang="bash"> |
<source lang="bash"> |
||
MYSQL_HISTFILE=/dev/null mysql --user=root -p mysql |
|||
# Create database that will store local copies of noekeon.org crypto and mikiwiki wiki, and todolist |
|||
</source> |
|||
mysql --user=root -p mysql |
|||
<source lang="mysql"> |
|||
mysql> CREATE DATABASE cryptokiwi; |
mysql> CREATE DATABASE cryptokiwi; |
||
mysql> GRANT ALL PRIVILEGES ON cryptokiwi.* TO kiwi@localhost IDENTIFIED BY '********'; |
mysql> GRANT ALL PRIVILEGES ON cryptokiwi.* TO kiwi@localhost IDENTIFIED BY '********'; |
||
Line 419: | Line 694: | ||
mysql> CREATE DATABASE mikido; |
mysql> CREATE DATABASE mikido; |
||
mysql> GRANT ALL PRIVILEGES ON mikido.* TO miki@localhost IDENTIFIED BY '********'; |
mysql> GRANT ALL PRIVILEGES ON mikido.* TO miki@localhost IDENTIFIED BY '********'; |
||
mysql> CREATE DATABASE nxpwiki; |
|||
mysql> GRANT ALL PRIVILEGES ON nxpwiki.* TO nxp@localhost IDENTIFIED BY '********'; |
|||
mysql> quit |
mysql> quit |
||
</source> |
</source> |
||
* Enabled [[Apache#HTTPS|HTTPS]] (requires valid-user) |
|||
* Firewall blocks port 80 but allow port 443 (so that localhost can connect w/o password but other guest needs password) |
|||
=== Nautilus === |
=== Nautilus === |
||
Line 436: | Line 716: | ||
* '''Modify Account...''' → '''Automatically reconnect if disconnected''' |
* '''Modify Account...''' → '''Automatically reconnect if disconnected''' |
||
* '''Modify Account...''' → '''Proxy''' → '''localhost:8118''' |
* '''Modify Account...''' → '''Proxy''' → '''localhost:8118''' |
||
=== Samba === |
|||
* See [[Samba#Samba Server|Samba server page on this wiki]]. |
|||
* File <tt>/etc/samba/smb.conf</tt>: |
|||
<source lang="bash"> |
|||
security = user |
|||
username map = /etc/samba/smbusers |
|||
# [...] |
|||
[homes] |
|||
comment = Home Directories |
|||
browseable = no |
|||
# [...] |
|||
[c] |
|||
comment = Windows Drive C |
|||
browseable = yes |
|||
path = /win/c |
|||
printable = no |
|||
guest ok = no |
|||
read only = yes |
|||
create mask = 0700 |
|||
[d] |
|||
comment = Windows Drive D |
|||
browseable = yes |
|||
path = /win/d |
|||
printable = no |
|||
guest ok = no |
|||
read only = yes |
|||
create mask = 0700 |
|||
</source> |
|||
* Added user '''beq06659''' |
|||
* Opened firewall ports ([[Samba#Samba Server|137/udp, 138/udp, 139/tcp, 445/tcp]]) |
|||
=== SSH === |
=== SSH === |
||
Line 448: | Line 764: | ||
** <tt>id_rsa</tt> || <tt>id_rsa.pub</tt> || <tt>authorized_keys</tt> || <tt>config*</tt> || <tt>proxy.conf*</tt> || <tt>clbanner.txt</tt> |
** <tt>id_rsa</tt> || <tt>id_rsa.pub</tt> || <tt>authorized_keys</tt> || <tt>config*</tt> || <tt>proxy.conf*</tt> || <tt>clbanner.txt</tt> |
||
* Disabled '''SSH Key Agent''' from ''Gnome Startup Applications'' |
* Disabled '''SSH Key Agent''' from ''Gnome Startup Applications'' |
||
* Added startup application: |
|||
**Name: <tt>startup.sh</tt> |
|||
**Command: <tt>/home/beq06659/bin/startup.sh</tt> |
|||
**Comment: <tt>Custom startup script</tt> |
|||
* Do not accept locale env var. <tt>LC_*</tt> from the client (see [[SSH#Missing Locale in Perl]]) |
|||
=== [[Gnome#Gnome_Terminal|Terminal]] === |
=== [[Gnome#Gnome_Terminal|Terminal]] === |
||
Line 453: | Line 774: | ||
=== [[Vim|Vim]] === |
=== [[Vim|Vim]] === |
||
* Added <tt>~/. |
* Added <tt>~/.bash_completion</tt> from [http://vim.wikia.com/wiki/Using_bash_completion_with_ctags_and_Vim] (modified to also take <code>alias '''v'''=gvim</code>) |
||
=== [[VirtualBox|VirtualBox]] === |
=== [[VirtualBox|VirtualBox]] === |
||
See '''[[Configuration NXP Dell Latitude E6500#Log|virtual machine configuration log]]'''. |
|||
* Installed with apt, version '''3.2.0''' |
|||
* Installed with apt (original version 3.2.0) |
|||
* VirtualBox is launched as user '''root''' (because it seems that only the current user and '''root''' can access '''PulseAudio''' in a same X session — see [https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433654]) |
* VirtualBox is launched as user '''root''' (because it seems that only the current user and '''root''' can access '''PulseAudio''' in a same X session — see [https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433654]) |
||
* Create vmdk to boot windows partition <tt>/dev/sda2</tt>. Update the MBR code to remove GRUB. <font color="red">'''Repeat''' this every time the partitions change</font>: |
|||
{{pl2|<source lang="bash" enclose="prevalid"> |
|||
sudo dd if=/dev/sda of=opensource.mbr bs=512 count=1 |
|||
sudo apt-get install mbr # For command "install-mbr" |
|||
sudo install-mbr -i n -p D -t 0 opensource.mbr |
|||
sudo VBoxManage internalcommands createrawvmdk -filename nxl67002-sda2-mbr.vmdk -rawdisk /dev/sda -partitions 2 -relative -mbr opensource.mbr |
|||
</source>}} |
|||
* Allow user '''beq06659''' to launch VirtualBox through user ''root''. Add to <tt>/etc/sudoers</tt>: |
* Allow user '''beq06659''' to launch VirtualBox through user ''root''. Add to <tt>/etc/sudoers</tt>: |
||
{{pl2|<source lang="text">beq06659 ALL=NOPASSWD: /usr/bin/VirtualBox</source>}} |
{{pl2|<source lang="text">beq06659 ALL=NOPASSWD: /usr/bin/VirtualBox</source>}} |
||
Line 476: | Line 791: | ||
sudo /usr/bin/VirtualBox& |
sudo /usr/bin/VirtualBox& |
||
</source>}} |
</source>}} |
||
* Create a launcher in <tt>~/.local/share/applications/virtualbox-root.desktop</tt> |
|||
* Host-only network '''vboxnet0''' |
|||
{{pl2|<source lang=bash> |
|||
** IPv4 address/mask '''192.168.11.150/255.255.255.0''' (same as ''AndLinux'') |
|||
#!/usr/bin/env xdg-open |
|||
** DHCP Server address/mask '''192.168.11.1/255.255.255.0''', Lower/Upper address bound '''192.168.11.2/192.168.11.99''' |
|||
* Virtual machine '''NXL67002''' |
|||
[Desktop Entry] |
|||
** Base Memory '''1536 MB''', '''2''' cpus, VT-x/AMD-V '''enabled''', Nested Paging '''enabled''' |
|||
Version=1.0 |
|||
** Video memory '''48 MB''', '''2''' monitors, 3D accel '''enabled''', 2D accel '''enabled''' |
|||
Type=Application |
|||
** Audio host driver '''PulseAudio''', controller '''ICH AC97''' |
|||
Terminal=false |
|||
** Network '''PCnet-FAST III''', '''bridged''', '''eth0''' |
|||
Icon[en_US]=VBox |
|||
** Network '''PCnet-FAST III''', '''Host-only adapter''', '''vboxnet0''' |
|||
Name[en_US]=Oracle VM VirtualBox (root) |
|||
** Machine folder: '''permanent''', '''full access''', '''<tt>/windows/d</tt>''' as '''<tt>d</tt>''' |
|||
Exec=/home/beq06659/bin/vbox.sh |
|||
** Default layount: '''seamless mode''', extended desktop (windows taskbar on external monitor, gnome taskbar on primary monitor, workspace switcher panel on top bar) |
|||
Comment[en_US]=Run several virtual systems on a single host computer |
|||
Name=Oracle VM VirtualBox (root) |
|||
Comment=Run several virtual systems on a single host computer |
|||
Icon=VBox |
|||
</source>}} |
|||
=== Wine === |
=== Wine === |
||
Line 492: | Line 812: | ||
== To Do == |
== To Do == |
||
=== Issues === |
|||
* Try '''avahi''' for ZeroConf name resolution and get rid of <tt>/etc/hosts</tt>. |
|||
See [[Common Issues]]. |
|||
* '''{{red|Issue}}''' - '''ssh''' disconnects after some time, '''autossh''' can't reconnect. Even doing a simple '''ssh''' does not work anymore. Might be due to broken '''ssh-agent''' |
|||
** Disable auto-run of '''Gnome ssh-agent''', enabled back my '''ss-agent''' script |
|||
=== Other To Do's === |
|||
* '''{{red|Issue}}''' - '''synergy''' unstable. Sometimes CTRL key does not work anymore in the client... |
|||
** Look for alternatives: '''Synergy+''' (SynergyPlus), or '''x2x''' (see Synergy page on wikipedia). |
|||
<ul> |
|||
* '''{{red|Issue}}''' - '''VirtualBox''' - UE slower gui refresh since update to VirtualBox 3.2.4 (previous version was 3.2.0) |
|||
<li>'''{{blue|ToDo}}''' — Try '''avahi''' for ZeroConf name resolution and get rid of <tt>/etc/hosts</tt>.</li> |
|||
* '''{{red|Issue}}''' - Wireless continuously connect / disconnect. It seems I'm [http://ubuntuforums.org/showthread.php?t=1507732 not the only one]. |
|||
<li>'''{{blue|ToDo}}''' — look at ''Compact Human Theme'' (see Delicious)</li> |
|||
<li>'''{{blue|ToDo}}''' — look at ''Legacy font hinting engine'' (see Delicious)</li> |
|||
<li>'''{{blue|ToDo}}''' — Try to make ''Nautilus'' more space efficient. Look at [http://brainstorm.ubuntu.com/idea/23573/ Idea #23573]. Try ''Thunar'' or ''PCManFM'', or ''Xfe'' (the latter does not use gtk theme)</li> |
|||
* '''{{red|Issue}}''' - <tt>udevd</tt> eats CPU resource! Same problem as [http://ubuntuforums.org/archive/index.php/t-1356215.html]. Bug reported [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/440411 here]. More [http://www.google.be/search?hl=en&source=hp&q=ubuntu+udevd+upstart-udev-br+cpu+activity&aq=f&aqi=&aql=&oq=&gs_rfai= here]. Partial workaround: |
|||
* Similar requests on forum: [http://forum.linuxmint.com/viewtopic.php?f=90&p=193672&st=0&sk=t&sd=a Nautilus is Too Big and Dull] (→ change DPI to 84,...), [http://tuxtraining.com/2008/12/20/how-to-best-utilize-screen-real-estate-in-gnome How to best utilize screen real estate in Gnome], [http://www.linuxquestions.org/questions/suse-novell-60/desktop-icon-size-in-gnome-configurable-381182/ Icon Size]. |
|||
<source lang="bash"> |
|||
sudo service udevd stop |
|||
sudo service udevd start # After this unfortunately there is no battery state icon anymore (unless reboot, or maybe suspend) |
|||
udevadm monitor # Check that there is no events triggered |
|||
</source> |
|||
* '''Issue''' — ''Midnight Commander'' does not colorize different file types. Check [https://bugs.launchpad.net/ubuntu/+source/mc/+bug/541988 here]. |
|||
** '''{{green|SOLVED}}''' — Use mc official repository instead. See [[mc|MC page]] |
|||
*'''{{red|ToDo}}''' - Try to make ''Nautilus'' more space efficient. Look at [http://brainstorm.ubuntu.com/idea/23573/ Idea #23573]. Try ''Thunar'' or ''PCManFM'', or ''Xfe'' (the latter does not use gtk theme) |
|||
** Similar requests on forum: [http://forum.linuxmint.com/viewtopic.php?f=90&p=193672&st=0&sk=t&sd=a Nautilus is Too Big and Dull] (→ change DPI to 84,...), [http://tuxtraining.com/2008/12/20/how-to-best-utilize-screen-real-estate-in-gnome How to best utilize screen real estate in Gnome], [http://www.linuxquestions.org/questions/suse-novell-60/desktop-icon-size-in-gnome-configurable-381182/ Icon Size]. |
|||
** Try ''vifm'' (based on vim, see [http://tuxarena.blogspot.com/2009/04/10-file-managers-for-linux.html]), or ''emelFM2'' (based on GTK2), or ''Gnome Commander'' |
** Try ''vifm'' (based on vim, see [http://tuxarena.blogspot.com/2009/04/10-file-managers-for-linux.html]), or ''emelFM2'' (based on GTK2), or ''Gnome Commander'' |
||
<li>'''{{blue|ToDo}}''' — Also for '''Eclipse''': </li> |
|||
* See [http://blog.xam.dk/?p=70 Making Eclipse look good on Linux] (install Liberation fonts, set resolution 99dpi, tweak gtkrc file, install compact themes like compact clearlooks or human...) |
|||
* See [http://martin.ankerl.com/2007/11/04/clearlooks-compact-gnome-theme/ Clearlooks Compact Gnome Theme] |
|||
* See [http://martin.ankerl.com/2008/10/10/how-to-make-a-compact-gnome-theme/ How to Make a Compact Gnome Theme]. This is a must-read! Also in the comments there is a script that can compact all themes automatically. See also [http://martin.ankerl.com/2008/11/04/human-compact-themes-for-ubuntu-810/ Human Compact Theme for Ubuntu 8.10]. |
|||
* See [http://blog.sarathonline.com/2008/10/solved-eclipse-looks-good-in-ubuntu-now.html Solved - Eclipse looks good in Ubuntu now] |
|||
* See [http://live.gnome.org/GnomeArt/Tutorials Gnome / Gtk+ themes tutorial]. |
|||
<li>'''{{blue|ToDo}}''' — Adapt the search path in /etc/resolv.conf depending on the current network (for now, we statically append <tt>be-leu01.nxp.com</tt>, when actually this should be done only when on NXP network).</li> |
|||
<li>'''{{blue|ToDo}}''' — Pieces of software to try:</li> |
|||
* [http://www.ubuntugeek.com/bleachbit-cleanup-unwanted-files-in-ubuntu.html BleachBit], a cleanup software |
|||
** Reject URL like <tt>.../advies/...</tt> and <tt>.../ADV_AUTH.CAB</tt> (work-around: disable Privoxy AdBlocking via http://p.p). |
|||
* [http://www.ubuntugeek.com/linux-finally-gets-a-great-audio-tagger.html puddletag], a audio file tagger |
|||
** Interference with Altran Timesheet. ActiveX / ASP.NET controls do not work in (Wine) Internet Explorer 6. |
|||
* [http://www.ubuntugeek.com/install-gimp-2-6-11-in-ubuntu-10-1010-04-using-ppa.html gimp], from ppa repository |
|||
* Pieces of software to try: |
|||
<li>'''{{blue|ToDo}}''' — Have a look at ''Brain Fuck Scheduler'', a new kernel scheduler with much better latency for desktops (see [http://ck.kolivas.org/patches/bfs/bfs-faq.txt])</li> |
|||
** [http://www.ubuntugeek.com/bleachbit-cleanup-unwanted-files-in-ubuntu.html BleachBit], a cleanup software |
|||
<li>'''{{blue|ToDo}}''' — Install '''openvpn''' (+CA Cert authentication?), instead of relying on ssh-tunnel</li> |
|||
** [http://www.ubuntugeek.com/linux-finally-gets-a-great-audio-tagger.html puddletag], a audio file tagger |
|||
<li>'''{{blue|ToDo}}''' — Install remote secure storage using [http://www.arg0.net/encfs encfs] over [http://fuse.sourceforge.net/sshfs.html sshf] (so that only encrypted data is seen from the server). |
|||
** [http://www.ubuntugeek.com/install-gimp-2-6-11-in-ubuntu-10-1010-04-using-ppa.html gimp], from ppa repository |
|||
<li>'''{{blue|ToDo}}'''— Try [http://www.dovecot.org/ Dovecot] instead of Courier IMAP? (Dovecot is apparently faster thanks to its index caching feature)</li> |
|||
* '''{{red|Issue}}''' — '''VirtualBox''' - ksoftirqd/0 taking 10-20% CPU. Possible work-around is to add <tt>nohz=off</tt> to kernel command line, i.e. in <tt>/boot/grub/menu.list</tt>) (see [http://forums.virtualbox.org/viewtopic.php?t=1189] and [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440904]) |
|||
<li>'''{{blue|ToDo}}'''— Setup correct UFW rules for NFS (see [http://www.lowth.com/LinWiz/nfs_help.html])</li> |
|||
* '''{{red|Issue}}''' — '''VirtualBox''' - BT dongle not reconnecting after suspend. It used to work correctly in the past. Is it due to an update? |
|||
<li>'''{{blue|ToDo}}'''— Look at [[http://www.linuxpowertop.org/powertop.php|PowerTop]] utility for ways to optimize PC power consumption. See also [[http://www.lesswatts.org/projects/powertop/known.php|Tips on LessWatts.org]]. |
|||
* '''{{red|Issue}}''' — '''Opera 11''' - v11 does not support my autoproxy <tt>.pac</tt> file anymore. Temporarily downgraded to v10.63.6450. |
|||
</ul> |
|||
* {{red|To Do}} — Have a look at ''Brain Fuck Scheduler'', a new kernel scheduler with much better latency for desktops (see [http://ck.kolivas.org/patches/bfs/bfs-faq.txt]) |
Latest revision as of 09:58, 24 July 2014
Introduction
This is the configuration page for the Ubuntu Lucid Lynx 10.04 LTS (amd64) partition on NXL67002.
Configuration Files
All configuration files can be found here.
Repositories
- Added Opera (automatically added when installing Opera)
- Added Midnight Commander official repository
- Added Ubuntu Tweak
- Added Medibuntu
- Added gitg
- Added Natty (main, restricted, universe, see pinning below)
- Added Libre Office PPA
- Enabled Lucid backports (+pinning)
Content of /etc/apt/preferences:
Package: *
Pin: release a=natty-updates
Pin-Priority: 250
Package: *
Pin: release a=natty
Pin-Priority: 200
Package: etckeeper git git-core git-doc git-gui git-man git-svn gitk gitweb dpkg dpkg-dev build-essential
Pin: release a=natty-updates
Pin-Priority: 990
Package: etckeeper git git-core git-doc git-gui git-man git-svn gitk gitweb dpkg dpkg-dev build-essential
Pin: release a=natty
Pin-Priority: 900
Package: *
Pin: release a=lucid-backports
Pin-Priority: 400
We have a lot of repositories. So we must add to /etc/apt/apt.conf:
// We added Natty repos, so APT need a bigger memory cache to work...
APT::Cache-Limit 37748736;
Installed Applications
[2010-05-03] | Gnome DO (gnome-do) | |
[2010-05-10] | Midnight Commander (mc) | [2010-05-31] see reference page. Use vi as standard viewer/editor. Installed version from mc official repository to fix file highlighting issue. |
[2010-05-10] | Vim (vim, exuberant-ctags) | |
[2010-05-10] | Opera (opera) | [2010-12-21] v 11.00.1156 Use .pac file at http://localhost/proxy.pac to circumvent .pac file bug |
[2010-05-10] | VirtualBox (virtualbox-4.1) | [2012-11-12] Updated to 4.1.22! [2012-01-11] Updated to 4.0.16! — VERY STABLE [2010-05-26] Updated to 3.2.4! Local settings. See also VirtualBox |
[2010-05-10] | Samba (smbclient smbfs) | |
[2010-05-10] | KeePassX (keepassx) | |
[2010-05-11] | Privoxy (privoxy) | |
[2010-05-11] | AutoSSH (autossh) | |
[2010-05-11] | apt-file (apt-file) | |
[2010-05-11] | SSH Tunnel script (sshtunnel.pl, libssl-dev) | Thierry Walrant's Perl script sshtunnel.pl |
[2010-05-11] | GNU C/C++ compiler (g++) | |
[2010-05-26] | UltraEdit 1.2.0.7 (uex) | |
[2010-05-27] | MBR (mbr) | To create VirtualBox rawdisk |
[2010-05-27] | Courier IMAP (courier-imap courier-doc courier-imap-ssl) | Install instructions and local settings |
[2010-05-28] | SSH (ssh) | Local settings |
[2010-05-28] | p7zip (p7zip-full p7zip-rar) | |
[2010-05-28] | dlocate (dlocate) | |
[2010-05-28] | Thunderbird (thunderbird) | |
[2010-05-28] | Synergy (synergy) | [2011-07-07] Updated to See global config — Added /usr/bin/synergyc to /etc/suoders + alias in ~/.bashrc — Server |
[2010-05-31] | Courier-POP3 (courier-pop courier-pop-ssl) | |
[2010-05-31] | AutoFS (autofs) | See local config |
[2010-05-31] | XSel (xsel) | |
[2010-05-31] | LAMP (apache2 php5 mysql-server mysql-client php5-mysql) | See local config |
[2010-05-31] | PHPMyAdmin (phpmyadmin) | Install for apache2 + configure phpmyadmin database + see local config |
[2010-06-01] | Psi (psi) | See local config |
[2010-06-01] | MS Truetype core fonts (ttf-msttcorefonts-installer) | |
[2010-06-01] | Compiz config settings manager (compizconfig-settings-manager) | |
[2010-06-01] | Ubuntu restricted extras (ubuntu-restricted-extras) | shall install automatically libdvdread4 |
[2010-06-01] | libdvdcss2 | Installed via sudo /usr/share/doc/libdvdread4/install-css.sh (see also [1])
|
[2010-06-03] | GVim (vim-gnome) | To enable support of X clipboard |
[2010-06-07] | CUPS PDF (cups-pdf) | Allow CUPS to access ~/PDF:sudo aa-complain cupsd
|
[2010-06-08] | Qiv (qiv) | |
[2010-06-09] | Grub2 Splash Image (ubuntu-splash-image) | (from lucid-splash-image.deb) installed with sudo dpkg -i --force-architecture lucid-splash-image.deb
|
[2010-06-11] | Racoon (racoon) | For RSA key generation, see Crypto |
[2010-06-14] | GPG Agent (gnupg-agent) | Added use-agent at end of ~/.gnupg/gpg.conf
|
[2010-06-14] | Rename utils (renameutils) | |
[2010-06-30] | Ruby (ruby) | ... for Vim plug-in snipMate.vim |
[2010-07-07] | LaTeX (texlive texlive-xetex latex2hml) | Including XeTeX package |
[2010-07-07] | TeX Extra packages (texlive-plain-extra texlive-science) | Soul package requires CTAN color package - see [2] [2011-01-14] Added texlive-science. |
[2010-07-14] | gThumb (gthumb) | |
[2010-07-14] | QIV (qiv) | |
[2010-07-30] | Vim/Cscope (cscope) | |
[2010-08-09] | Wine (wine) | See Wine page |
[2010-08-09] | Nautilus Audio Converter (wavpack mppenc libmpcdec3 faac flac vorbis-tools faad lame libid3-3.8.3-dev nautilus-script-audio-convert) | Enable script ConvertAudioFile (Menu Preference → Nautilus Scripts Manager). See Linux audio. |
[2010-08-11] | HTTrack (httrack) | |
[2010-08-11] | C/C++ documentation (manpages-posix-dev stl-manual) | Make SGI doc available at http://localhost/sgi :ln -s /usr/share/doc/stl-manual/html /var/www/sgi
|
[2010-08-13] | Meld (meld) | Diff tool |
[2010-08-31] | Gnome Terminator (terminator) | See Gnome Terminator |
[2010-09-01] | Google Earth (googleearth googleearth-data) | Requires Medibuntu repository |
[2010-09-03] | Sage 4.2.1 | Recovered from AndLinux. Restored old workspaces from ~beq06659/.sage and /root/.sage. See Sage |
[2010-09-03] | NTL (libntl-dev, libntl-5.4.2) | |
[2010-09-03] | GMP (libgmp3-dev,libgmp3c2,gmp-ecm) | |
[2010-09-06] | 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
|
[2010-09-13] | tnef (tnef,ytnef) | Parsing winmail.dat attachment |
[2010-09-14] | Evolution plugins (evolution-plugins-experimental) | For opening Winmail.dat attachment in Evolution |
[2010-09-14] | Evolution RSS (evolution-rss) | |
[2010-09-14] | Quicktime plugin (gnome-mplayer,gecko-mediaplayer) | To play Quicktime content in Opera, Firefox |
[2010-09-16] | Recoll desktop search (recoll) | See also Recoll page. |
[2010-09-17] | Macbuntu 10.04 theme | [2011-02-20] Updated v2.3! — See Macbuntu page. Check log + uninstall script in ~/.macbuntu. no wobbly windows, no hot corners. |
[2010-09-17] | pdftk (pdftk) | |
[2010-09-20] | GNU Go (gnugo) | |
[2010-09-20] | Various Go games (qgo uligo) | |
[2010-09-20] | Panda glGo 1.4.1 | See local page |
[2010-09-20] | Quarry (quarry) | Board games Go, Amazons, and Reversi |
[2010-09-21] | MDF to ISO Converter (mdf2iso) | CD image conversion utility |
[2010-09-21] | MountManager (mountmanager) | ...to mount mdf CD images |
[2010-09-22] | X File Explorer (xfe) | |
[2010-09-27] | Oracle/Sun Java JDK 1.6 (sun-java6-jdk) | |
[2010-09-27] | Eclipse 3.5.2 Galileo (eclipse) | |
[2010-09-27] | Eclipse 3.6 Helios | local install in ~/eclipse |
[2010-09-28] | Javadoc | Installed on http://nxl67002ux/. JDK 1.4.2 in /data/www/javase/1.4.2/docs; JDK 6u21 in /data/www/javase/6/docs |
[2010-09-30] | Gimp (gimp) | |
[2010-10-26] | Graphical Disk Map (gdmap) | |
[2010-10-26] | KDirStat (kdirstat) | |
[2010-10-26] | Google Chrome (chromium-browser) | |
[2010-11-16] | PuddleTag (puddletag python-qt4 python-pyparsing python-mutagen python-configobj python-musicbrainz2) | [2010-12-23] v 0.9.11 See local page |
[2010-11-26] | PCSC Tools (pcsc-tools) | For ATR_analysis. |
[2010-11-26] | Color Diff (colordiff) | |
[2010-12-09] | ——— Ubuntu Lucid Lynx 10.04 LTS (i386) ——— | |
[2010-12-12] | gparted (gparted) | |
[2010-12-23] | Diffuse (diffuse) | |
[2011-01-10] | 4Pane (4pane) | See Linux Software#4Pane |
[2011-01-16] | NFS Server (nfs-kernel-server nfs-common portmap) | See NFS for more details; Created entries in /etc/exports. |
[2011-01-26] | GIT (git-gui gitk git-doc gitweb) | [2011-12-15] — Updated to 1.7.10.5 compiled from source.sudo apt-get install zlib1g-dev libcurl4-openssl-dev expat asciidoc # More packages might be needed
git clone git://github.com/gitster/git.git # Use proxygit if behind a proxy
cd git
make configure # See also INSTALL
./configure --prefix=/usr/local # In // of existing package installation. /usr/local has precedence
make all doc
sudo make install install-doc install-html
[2012-11-08] — Installed tileqt tcl/tk widget theme for gitk (see here). |
[2011-02-02] | WireShark (wireshark tshark) | |
[2011-02-02] | bsdiff (bsdiff) | |
[2011-02-14] | Some git browsers (qgit gitg source-highlight) | [2011-02-21] gitg updated to 0.0.7! |
[2011-02-14] | qmail (ucspi-tcp qmail) | See qmail page |
[2011-02-22] | socat (socat) | |
[2011-02-22] | multitee (multitee) | |
[2011-02-23] | colortail (colortail) | |
[2011-02-28] | Word Diff (wdiff) | |
[2011-03-01] | etckeeper (etckeeper) | v 0.52 from Natty |
[2011-03-01] | Amarok (amarok kubuntu-restricted-extras) | v 2.4 from lucid-backports — See Local settings |
[2011-03-01] | VLC (vlc) | |
[2011-03-02] | dwww (dwww) | |
[2011-03-02] | apt-rdepends (apt-rdepends) | |
[2011-03-02] | GraphViz (graphviz) | To plot package dependencies with apt-cache dotty and apt-rdepends -d
|
[2011-03-02] | Gufw (gufw) | graphical front-end to ufw |
[2011-03-17] | pipe viewer (pv) | |
[2011-03-17] | Perl-doc html (perl-doc-html) | Available from dwww, section Programming/perl |
[2011-04-06] | WiFi backport 2.6.37 (linux-backports-modules-wireless-2.6.37-lucid-generic-pae) |
Try to solve frequent WiFi disconnect |
[2011-05-12] | Perl Audio Converter (pacpl) | |
[2011-06-07] | PowerTop (powertop) | |
[2011-06-29] | NTP (ntp) | Set system to synchronize with NTP server automatically (servers: ntp0.nl.net, ntp1.nl.net, ntp2.nl.net, ntp.univ-lyon1.fr) |
[2011-07-04] | SVN plugin for Nautilus (nautilus-script-collection-svn) | nautilus-script-manager enable Subversion
|
[2011-07-05] | Samba Server (samba smbfs) | See local config |
[2011-07-07] | Acrobat Reader (acroread) | Edit mime type in ~/.local/share/applications/mimeapps.list:[Added Associations]
application/pdf=acroread.desktop;evince.desktop;gimp.desktop
Add to ~/.mailcap: application/pdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-pdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-bzpdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf.bz2
application/x-gzpdf; acroread '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf.gz
|
[2011-07-13] | KDiff3-QT (kdiff3-qt) | (QT version has no dep on KDE) Settings → Integration → add ;-- to command line opts to ignore, and check Quit also via Escape key |
[2011-07-14] | eID Belgium (libxerces-c28, libacr38u, pcscd) | Downloaded from taxonweb.be, also install stuff not in packages (like /usr/local/bin/beidgui). Note: there is also an ubuntu package beidgui!!! (+belpic, beid...) |
[2011-07-20] | Hexedit (hexedit) | Hex editor |
[2011-07-20] | Hexer (hexer) | Hex editor with vi-like interface |
[2011-07-26] | Ack (ack-grep) | A better grep... sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
|
[2011-08-03] | Diffstat (diffstat) | A better grep... |
[2011-09-30] | Libunwind (libunwind7, libunwind7-dev) | |
[2011-10-13] | indent (indent, indent-doc) | |
[2011-10-13] | Universal Indent GUI (universalindentgui) | |
[2011-10-13] | Uncrustify (uncrustify) | v0.59, simply compiled from source (./configure; make; sudo make install )
|
[2012-05-07] | ACL (acl) | |
[2012-05-11] | mDNS (libnss-mdns avahi-daemon mdns-scan) | After install, do:
mdns-scan
Machine should broadcast its ip address on nxl67002ux.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=nxl67002ux
|
[2012-01-10] | youtube-dl (youtube-dl) | Installed from git repository:
git clone https://github.com/rg3/youtube-dl.git
cd youtube-dl
./youtube-dl <link>
|
Un-installed applications:
[2010-09-17] | [2010-09-16] | Mac4Lin Gnome theme | See Mac4Line page. Installed in ~/mac4lin. Used MakeTechEasier version + Opera user stylesheet fix. — Uninstalled (theme too dark, Macbuntu theme is much better + Opera much better). |
[2010-12-09] | [2010-06-09] | Foxit Reader | bin in /usr/local/bin, icon in /usr/share/pixmaps/foxitreader.png, .desktop in /usr/share/applications/. Edit mime type in ~/.local/share/applications/mimeapps.list to associate with application/pdffiles — Not as good as windows version |
[2011-01-20] | [2011-01-13] | NoMachine NX Server (nxclient, nxnode, nxserver) | See NoMachine. Enabled CUPS printing. — Not needed anymore |
[2011-02-17] | [2010-09-16] | Courier-MTA (courier-mta courier-mta-ssl) | so that mails are sent to Courier mailboxes — Replaced by qmail |
Simple Settings
GRUB — Added to file /etc/grub.d/40_custom:(Not needed anymore since VirtualBox boots Windows directly, so no risk of booting host again)set default="Microsoft Windows XP Professional (on /dev/sda2)"
- CRON - cron script for automatic backup of wikis on Noekeon's (see config files).
- SUDO - keep environment variable http_proxy
- PROXY - script for automatic setup of network environment (proxy, ssh...) (see config files).
- Security — Disabled control-alt-del in console as recommended in Ubuntu Server Guide. Comment out the following line in the file /etc/init/control-alt-delete.conf:
#exec shutdown -r now "Control-Alt-Delete pressed"
- SUDO - keep environment variable GREP_OPTIONS
- Add user www for synchronization of /data/www folder (localhost page):
sudo useradd -g www-data -G users -u 999 -s /bin/bash -m www
sudo passwd www
su - www
ssh-keygen # Or copy .ssh/ copy from other www users
scp .ssh/id_rsa.pub .ssh/authorized_keys
Detailed System Settings
1st install
- 1st install on [2010-05-03]
- Distribution: Ubuntu 10.04 LTS amd64
- Installation method: Net boot install from Internet using GRUB
- Language: English
- Location: Europe, Belgium Time
- Computer name: NXL67002UX
- Keyboard layout: USA, USA
- Name: beq06659
- Login name: beq06659
- Update: Install security updates automatically
- Software to install: Ubuntu Desktop
- Partition: see main page
Kernel
- [2010-02-02] — Install the Maverick backport kernel 2.6.35 (see Ubuntu page).
- [2010-02-03] — Reverted to Lucid default kernel 2.6.32 (2.6.35 not any better).
File System
- For details, see /etc/fstab.
- NTFS partition:
- C: → do not mount automatically. Risk of corruption if mounted while VirtualBox is running!
- D: → mount as /win/d.
- NTFS partition must be mounted without umask=007,gid=46, or will get operation not permitted when modifying timestamps:
/dev/sda2 /win/c ntfs ro,users,nls=utf8,exec 0 2
/dev/sda7 /win/d ntfs users,nls=utf8,exec 0 2
- File system structure:
/: drwxr-xr-x root root boot/ # /dev/sda3 drwxr-xr-x root root data/ # /dev/sda8 drwxr-xr-x root root net/ lrwxrwxrwx root root sage -> /data/sage-4.2.1/ drwxr-xr-x root root smb/ drwxr-xr-x root root win/ /data: drwxr-xr-x root root home/ drwxr-xr-x beq06659 beq06659 sage-4.2.1/ drwxr-xr-x www-data root www/ /home/beq06659: lrwxrwxrwx beq06659 beq06659 Documents -> /windows/d/Profiles/beq06659/My Documents/ /net: # NFS autofs /smb: drwxr-xr-x root root mnemosyne/ # SMB autofs /var: lrwxrwxrwx root root www -> /data/www/ /win: drwxr-xr-x root root c/ # /dev/sda2 lrwxrwxrwx root root d/ # /dev/sda7
- Configure acl on /data/d:
# VirtualBox uses /data/d as Windows D: drive. Since VirtualBox runs as 'root', all files gets root/root ownership.
# We use acl so that files gets group access beqO6659/rwx by default
cd /data
sudo chgrp -R beq06659 d
sudo chmod -R g+w d
find d -type d -print0|sudo xargs -0 chmod g+s
find d -type d -print0|sudo xargs -0 setfacl -m d:group:beq06659:rwx
- Configure acl on /data/www:
# Set default access condition to rwxr-xr-x / www / www-data
cd /data
sudo chgrp -R www-data www
find www -type d -print0|sudo xargs -0 chmod g+s
find www -type d -print0|sudo xargs -0 setfacl -m d:group:www-data:r-x
find www -type d -print0|sudo xargs -0 setfacl -m d:user:www:r-x # TODO: this one does not work with root...
Network
- Edited /etc/hosts (added names for intranet)
- Added to /etc/apt/apt.conf:
Acquire::http::proxy "http://localhost:8118/";
Acquire::ftp::proxy "ftp://localhost:8118/";
Acquire::https::proxy "https://localhost:8118/";
- Added to /etc/environment:
http_proxy="http://localhost:8118/"
ftp_proxy="ftp://localhost:8118/"
https_proxy="https://localhost:8118/"
- .pac files:
- privoxy: file:///home/beq06659/etc/proxylocal-privoxy.pac (or http://localhost/proxy.pac to circumvent Opera bug)
- nxp: http://nww.nics.nxp.com:8080/proxy.pac
- /etc/sudoers — keep variables http_proxy and https_proxy
- Proxy configurations
NXP network | |
---|---|
sshproxy |
|
privoxy |
|
apt-get, wget, browsers |
|
ftp |
|
HOME network | |
sshproxy |
|
privoxy |
|
apt-get, wget, browsers |
|
ftp |
- SAMBA/NFS CLIENT - Mount mnemosyne shares as NFS autofs (see [3]) and as SMB autofs
- Enabled/created the following automounters in /etc/auto.master:
- Created configuration file /etc/auto.smb.mnemosyne (mount options: noperm,iocharset=utf8,credentials=/etc/auto.smb.mnemosyne.*)
- Created SMB credential files /etc/auto.smb.mnemosyne.* (see
man mount.cifs
) - Created path for mount points:
- NXP Wired (see Linux Admin#Network Manager - Search Path)
- Added local domain name be-leu01.nxp.com to /etc/resolv.conf
- NXP Wireless (see Linux Admin#Wireless Network)
- Network name (SSID): WLAN-WBI
- Wireless security: Dynamic WEP (802.1x)
- Authentication: TLS
- Identity: michael.peeters@nxp.com
- User certificate / CA certificate / Private key: imported from Windows (NXP Enterprise CA 1 for Client Authentication, Secure Email, serial 2F DF 1F D4 00 00 00 00 5E 1C)
- Privoxy settings:
- Added to /etc/privoxy/user.action:
{ -filter } tennislibre.com
/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
Firewall
- Moved user rules to /etc/ufw so that they can be tracked by etckeeper
- Enabled ufw
- Policy:
cd /lib/ufw
sudo mv user* /etc/ufw
sudo ln -s /etc/ufw/user.rules
sudo ln -s /etc/ufw/user6.rules
sudo ufw enable
sudo ufw allow from 192.168.11.2 # Enable full access from local virtualbox
sudo ufw allow from 172.19.0.0/16 to any port 22 # Enable - from home local network - SSH
Preferences
- Theme The mighty Macbuntu 10.04 theme! Reverted changes:
- Fonts — see below.
- Terminal — Colors select Use colors from system theme (was set to Gray on black built-in schemes). Keep transparent background 95%.
- Panel — add back System Monitor. We don't add back the bottom task panel.
- In Configuration Editor, /apps/metacity/general/button_layout: menu:minimize,maximize,close
- Appearance
(before Macbuntu) Fonts — Application → Tahoma 9; Document→ Sans 8; Desktop → Sans 8; Title → Sans Bold 9; Fixed width → Monospace 8- (after Macbuntu) Fonts — Application → Lucida Grande 9; Document→ Lucida Grande 9; Desktop → Lucida Grande 9; Title → Lucida Grande 10; Fixed width → Lucida Console 9 (originally Lucida Console 10)
- Fonts — rename ~/.fonts.conf to ~/.fonts.conf.macbuntu to disable macbuntu hinting settings override.
- Appearance
- Isabelle Hires Noir&Blanc crop-despeckle 936x1200.png, in ~/etc.
- Keyboard Layout (System-Wide)
- Layout: Belgium (default) + USA, no separate layout
Custlayout Belgium (file /usr/share/X11/xkb/symbols/be) to allow AltGr-; → '<' and AltGr-: → '>', and support Greek letters with AltGr-Shift. - Options: Capslock affects all keys, Alt+CapsLock or Right Ctrl+Right Shift switch layout, right alt chooses 3rd level.
(because Alt+Shift,Left Ctrl+Left Shift prevents ctrl-alt-shift shortcuts to work, Right Ctrl conflicts with VirtualBox) - Keyboard Shortcuts
- Window List Panel (see here)
- Window List Content → Show windows from all workspaces
- Restoring Minimized Windows → Restore to native workspace
- Fonts
- System fonts (/usr/local/share/fonts):
- Added BitStream Vera 1.10
- Added jsMath fonts (Linux variant, darkness 20 file, see here)
- Added all jsMath extra fonts (dark version from this page)
- User fonts (~/.fonts):
- Added Tahoma
- Compiz
- General Option - Move Window: SuButton2
because AButton3 is used in OpenOffice to move columns / rows - Static Application Switcher: Use AAlt for Next Window (current workspace)
- Scale: Multi-Output Mode → On all output devices, darken background, Emblem for overlay icon
- Ring Switcher: Enabled + Use SuTab for Next Windows (All Workspaces) + Allow Mouse Selection
- Enhanced Zoom Desktop: Disabled
- Negative: Disabled
- Desktop Wall: enabled Edge Flip Move.
- Put : disabled Put Pointer, enabled Put To Next Output (Superz) selected Avoid Offscreen.
Shortcut | Action | Remark |
---|---|---|
Super-E | Home Folder | Hack Super is mapped to Win keys not needed anymore it seems |
Shortcut | Action | Remark |
---|---|---|
SASpace SuButton3 |
General Options - Window Menu | |
CALeft CARight |
Desktop Wall - Move | |
SCALeft SCARight |
Desktop Wall - Move with window | |
SSue | Expo Key | |
AF7 | Move Window | |
Suz | Windows Put To Next Output | |
AF8 SuButton2 |
Resize Window | |
SuTab SSuTab |
Ring Switcher | (All Workspaces) |
Suw Sua / TopLeft / TopRight |
Scale windows | Current viewport All windows |
ATab SATab |
Static application switcher | Current viewport |
Detailed Application Settings
Amarok
- Select PulseAudio as preferred device (instead of sound output HDA Intel (STAC92xx Analog)
- Set proxy settings in ~/.kde/share/config/kioslaverc.
Courier IMAP
- Install (reference here):
- Create directories for web-based administration
- SSL Certificate: /etc/courier/pop3d.pem, /etc/courier/imapd.pem
- Postfix configuration: local only
- System mail name: nxl67002ux.wbi.nxp.com
- Created /etc/courier/userdb, and kept entries for root, localuser and beq06659
- Use password from /etc/courier/userdb (method authuserdb).
Firefox
- Theme: macfox3 1.1.7
- Extensions (some disabled because Firefox hangs on launch/exit):
- AutoPager 0.7.0.0 — disabled
- Belgium eID 1.0.11 — disabled
- CHM Reader 0.2.3
- Cycle Input Focus 1.0.0 — disabled
- Delicious Bookmarks 2.3.1
- Fast Dial 3.4
- FireGestures 1.5.7 — disabled
- FoxyProxy Standard 3.3
- Live HTTP headers 0.17
- Ubuntu Firefox Modifications 0.9rc2
- User Agent Switcher 0.7.3 — disabled
Gnome DO
- Autostart, Quiet mode, notification icon, Glass theme
- Launch key: <alt>+space (! disable first Gnome global shortcut for Activate the window menu)
LAMP
Install the servers:
sudo apt-get install apache2 php5 mysql-server mysql-client php5-mysql
# --> Defined password for MySQL root user
sudo vi /etc/apache2/apache2.conf
# --> Added lines at line 32:
# #MIP CUSTOM
# ServerName "nxl67002ux"
# Restart apache server to activate php module...
sudo /etc/init.d/apache restart
# Move www root dir to /data disk
sudo mv /var/www /data
sudo ln -s /f /data/www /var/www
Apache:
- configuration file is at /etc/apache2/apache2.conf
- Apache root http directory is /var/www
- Enable mod-rewrite module.
In /etc/apache2/sites-available/default, change as:AllowOverride
(twice).NoneFileInfo
Create databases that will store local copies of cryptokiwi and mikiwiki wiki, and of mikido:
MYSQL_HISTFILE=/dev/null mysql --user=root -p mysql
mysql> CREATE DATABASE cryptokiwi;
mysql> GRANT ALL PRIVILEGES ON cryptokiwi.* TO kiwi@localhost IDENTIFIED BY '********';
mysql> CREATE DATABASE mikiwiki;
mysql> GRANT ALL PRIVILEGES ON mikiwiki.* TO miki@localhost IDENTIFIED BY '********';
mysql> CREATE DATABASE mikido;
mysql> GRANT ALL PRIVILEGES ON mikido.* TO miki@localhost IDENTIFIED BY '********';
mysql> CREATE DATABASE nxpwiki;
mysql> GRANT ALL PRIVILEGES ON nxpwiki.* TO nxp@localhost IDENTIFIED BY '********';
mysql> quit
- Enabled HTTPS (requires valid-user)
- Firewall blocks port 80 but allow port 443 (so that localhost can connect w/o password but other guest needs password)
Nautilus
- Default view: List View
- Display, date format: YYYY-MM-DD hh:mm:ss
- List View: zoom 33%
- Icon View, Compact View: zoorm 66%
- Preview: all set to Never, and only for files smaller than 500kB (to prevent thumbnailing PDFs...)
Psi
(recovered from previous settings on Gryphon at ~/.psi)
- Gnome: Added Psi as startup program (Psi, /usr/bin/psi, Communicate over the jabber network).
- Options → Events → Enable popup notifications (all notifications)
- Modify Account... → Changed resource to work-ux
- Modify Account... → Automatically reconnect if disconnected
- Modify Account... → Proxy → localhost:8118
Samba
- See Samba server page on this wiki.
- File /etc/samba/smb.conf:
security = user
username map = /etc/samba/smbusers
# [...]
[homes]
comment = Home Directories
browseable = no
# [...]
[c]
comment = Windows Drive C
browseable = yes
path = /win/c
printable = no
guest ok = no
read only = yes
create mask = 0700
[d]
comment = Windows Drive D
browseable = yes
path = /win/d
printable = no
guest ok = no
read only = yes
create mask = 0700
- Added user beq06659
- Opened firewall ports (137/udp, 138/udp, 139/tcp, 445/tcp)
SSH
- Installed SSH-Tunnel
- Files recovered from other installation (ssh-tunnel v2.26 + patch):
/usr/local/bin -rwxr-xr-x 1 root root ssh-agent-refresh_andlinux.sh -rwxr-xr-x 1 root root ssh-agent-refresh.sh -rwxr-xr-x 1 root root ssh.pl -rwxr-xr-x 1 root root ssh-tunnel.pl
- User beq06659 - configuration file in directory ~/.ssh:
- id_rsa || id_rsa.pub || authorized_keys || config* || proxy.conf* || clbanner.txt
- Disabled SSH Key Agent from Gnome Startup Applications
- Added startup application:
- Name: startup.sh
- Command: /home/beq06659/bin/startup.sh
- Comment: Custom startup script
- Do not accept locale env var. LC_* from the client (see SSH#Missing Locale in Perl)
Terminal
Vim
- Added ~/.bash_completion from [4] (modified to also take
alias v=gvim
)
VirtualBox
See virtual machine configuration log.
- Installed with apt (original version 3.2.0)
- VirtualBox is launched as user root (because it seems that only the current user and root can access PulseAudio in a same X session — see [5])
- Allow user beq06659 to launch VirtualBox through user root. Add to /etc/sudoers:
beq06659 ALL=NOPASSWD: /usr/bin/VirtualBox
- Helper script to add to e.g. ~/bin :
#First allow user vbox to connect to X11
#xhost +SI:localuser:vbox
#sudo su vbox -c /usr/bin/VirtualBox&
#New config - run VirtualBox as root to allow sound
sudo /usr/bin/VirtualBox&
- Create a launcher in ~/.local/share/applications/virtualbox-root.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=VBox
Name[en_US]=Oracle VM VirtualBox (root)
Exec=/home/beq06659/bin/vbox.sh
Comment[en_US]=Run several virtual systems on a single host computer
Name=Oracle VM VirtualBox (root)
Comment=Run several virtual systems on a single host computer
Icon=VBox
Wine
See Configuration NXP Dell Latitude E6500 - Wine.
To Do
Issues
See Common Issues.
Other To Do's
- ToDo — Try avahi for ZeroConf name resolution and get rid of /etc/hosts.
- ToDo — look at Compact Human Theme (see Delicious)
- ToDo — look at Legacy font hinting engine (see Delicious)
- ToDo — Try to make Nautilus more space efficient. Look at Idea #23573. Try Thunar or PCManFM, or Xfe (the latter does not use gtk theme)
- Similar requests on forum: Nautilus is Too Big and Dull (→ change DPI to 84,...), How to best utilize screen real estate in Gnome, Icon Size.
- Try vifm (based on vim, see [6]), or emelFM2 (based on GTK2), or Gnome Commander
- ToDo — Also for Eclipse:
- See Making Eclipse look good on Linux (install Liberation fonts, set resolution 99dpi, tweak gtkrc file, install compact themes like compact clearlooks or human...)
- See Clearlooks Compact Gnome Theme
- See How to Make a Compact Gnome Theme. This is a must-read! Also in the comments there is a script that can compact all themes automatically. See also Human Compact Theme for Ubuntu 8.10.
- See Solved - Eclipse looks good in Ubuntu now
- See Gnome / Gtk+ themes tutorial.
- ToDo — Adapt the search path in /etc/resolv.conf depending on the current network (for now, we statically append be-leu01.nxp.com, when actually this should be done only when on NXP network).
- ToDo — Pieces of software to try:
- ToDo — Have a look at Brain Fuck Scheduler, a new kernel scheduler with much better latency for desktops (see [7])
- ToDo — Install openvpn (+CA Cert authentication?), instead of relying on ssh-tunnel
- ToDo — Install remote secure storage using encfs over sshf (so that only encrypted data is seen from the server).
- ToDo— Try Dovecot instead of Courier IMAP? (Dovecot is apparently faster thanks to its index caching feature)
- ToDo— Setup correct UFW rules for NFS (see [8])
- ToDo— Look at [[9]] utility for ways to optimize PC power consumption. See also [on LessWatts.org].