Nxl67170 - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
!colspan="2" align="left"|Essential:
!colspan="2" align="left"|Essential:
|-
|-
|'''Application''' (<tt>package</tt>)||<small>[YYYY-MM-DD]</small> Update<br/>Additional configuration settings
|'''VirtualBox''' (<tt>virtualbox-4.2</tt>)||[2013-02-20]</small> Updated to 4.2.8!<br/>[[#VirtualBox|Local settings]]. See also [[VirtualBox]]
|-
|'''Privoxy''' (<tt>privoxy</tt>)||
|-
|'''Gufw''' (<tt>gufw</tt>)||graphical front-end to ''ufw''
|-
|'''SSH Tunnel script''' (<tt>sshtunnel.pl</tt>, <tt>libssl-dev</tt>)||Thierry Walrant's Perl script <tt>sshtunnel.pl</tt>
|-
|'''LAMP''' (<tt>apache2 php5 mysql-server mysql-client php5-mysql</tt>)||See [[#LAMP|local config]]
|-
|'''PHPMyAdmin''' (<tt>phpmyadmin</tt>)||Install for ''apache2'' + configure ''phpmyadmin'' database + see [[#LAMP|local config]]
|-
|'''dwww''' (<tt>dwww</tt>)||
|-
|'''Courier IMAP''' (<tt>courier-imap courier-doc courier-imap-ssl</tt>)||[[IMAP#Courier IMAP on Ubuntu|Install instructions]] and [[#Courier IMAP|local settings]]
|-
|'''Courier-POP3''' (<tt>courier-pop courier-pop-ssl</tt>)||
|-
|'''qmail''' (<tt>ucspi-tcp qmail</tt>)||See [[qmail]] page
|-
|'''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)
|-
|'''HTTrack''' (<tt>httrack</tt>)||
|-
|'''WireShark''' (<tt>wireshark tshark</tt>)||
|-
|'''MBR''' (<tt>mbr</tt>)||To create VirtualBox rawdisk
|-
|'''NFS Server''' (<tt>nfs-kernel-server nfs-common portmap</tt>)||See [[NFS]] for more details; Created entries in <tt>/etc/exports</tt>.
|-
|'''Samba Server''' (<tt>samba smbfs</tt>)||See [[#Samba|local config]]
|-
|'''ACL''' (<tt>acl</tt>)||
|-
|'''Google Chrome''' (<tt>chromium-browser</tt>)||
|-
|'''Thunderbird''' (<tt>thunderbird</tt>)||
|-
|'''Wine''' (<tt>wine</tt>)||See [[Configuration NXP Dell Latitude_E6500 - Wine|Wine page]]
|-
|'''Psi''' (<tt>psi</tt>)||See [[#Psi|local config]]
|-
|'''CUPS PDF''' (<tt>cups-pdf</tt>)||Allow CUPS to access ~/PDF:<source lang="bash" enclose="prevalid">sudo aa-complain cupsd</source>
|-
|'''LaTeX''' (<tt>texlive texlive-xetex latex2hml</tt>)||Including XeTeX package
|-
|'''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.
|-
|'''GNU C/C++ compiler''' (<tt>g++</tt>)||
|-
|'''C/C++ documentation''' (<tt>manpages-posix-dev stl-manual</tt>)||Make SGI doc available at http://localhost/sgi :<source lang="bash">ln -s /usr/share/doc/stl-manual/html /var/www/sgi</source>
|-
|'''Javadoc'''||Installed on http://nxl67002ux/. ''JDK 1.4.2'' in <tt>/data/www/javase/1.4.2/docs</tt>; ''JDK 6u21'' in <tt>/data/www/javase/6/docs</tt>
|-
|'''Perl-doc html''' (<tt>perl-doc-html</tt>)||Available from ''dwww'', section ''Programming/perl''
|-
|'''Google Earth''' (<tt>googleearth googleearth-data</tt>)||Requires [[Ubuntu#Medibuntu|'''Medibuntu''' repository]]
|-
|'''Recoll desktop search''' (<tt>recoll</tt>)||See also [[Linux Software#Recoll|Recoll page]].
|-
|'''pdftk''' (<tt>pdftk</tt>)||
|-
|'''Oracle/Sun Java JDK 1.6''' (<tt>sun-java6-jdk</tt>)||
|-
|'''4Pane''' (<tt>4pane</tt>)||See [[Linux Software#4Pane]]
|-
|'''Git''' (<tt>git-gui gitk git-doc gitweb</tt>)||<small>[2013-02-20]</small> &mdash; {{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>[2013-02-20]</small> &mdash; Installed '''tileqt''' tcl/tk widget theme for ''gitk'' (see [[Git#Configuration|here]]).
|-
|Some '''git browsers''' (<tt>qgit gitg source-highlight</tt>)||<small>[2013-02-20]</small> {{red|gitg updated to 0.0.7! }}
|-
|'''KDirStat''' (<tt>kdirstat</tt>)||
|-
|'''Color Diff''' (<tt>colordiff</tt>)||
|-
|'''Word Diff''' (<tt>wdiff</tt>)||
|-
|'''Diffuse''' (<tt>diffuse</tt>)||
|-
|'''bsdiff''' (<tt>bsdiff</tt>)||
|-
|'''KDiff3-QT''' (<tt>kdiff3-qt</tt>)||(QT version has no dep on KDE) Settings &rarr; Integration &rarr; add <tt>;--</tt> to command line opts to ignore, and check ''Quit also via Escape key''
|-
|'''Diffstat''' (<tt>diffstat</tt>)||A better grep...
|-
|'''[[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>
|-
|'''Hexedit''' (<tt>hexedit</tt>)||Hex editor
|-
|'''Hexer''' (<tt>hexer</tt>)||Hex editor with vi-like interface
|-
|'''Uncrustify''' (<tt>uncrustify</tt>)||v0.59, simply compiled from source (<code>./configure; make; sudo make install</code>)
|-
|'''socat''' (<tt>socat</tt>)||
|-
|'''multitee''' (<tt>multitee</tt>)||
|-
|'''colortail''' (<tt>colortail</tt>)||
|-
|'''Qiv''' (<tt>qiv</tt>)||
|-
|'''libdvdcss2'''||Installed via <code>sudo /usr/share/doc/libdvdread4/install-css.sh</code> (see also [https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs])
|-
|'''VLC''' (<tt>vlc</tt>)||
|-
|'''apt-rdepends''' (<tt>apt-rdepends</tt>)||
|-
|'''GraphViz''' (<tt>graphviz</tt>)||To plot package dependencies with <code>apt-cache dotty</code> and <code>apt-rdepends -d</code>
|-
|'''pipe viewer''' (<tt>pv</tt>)||
|-
|'''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>
|-
|-
!colspan="2" align="left"|
!colspan="2" align="left"|

Revision as of 22:59, 11 March 2013

Introduction

This is the configuration page for the Ubuntu Precise 12.04 partition on NXL67170.

Configuration Files

All configuration files can be found here.

Repositories

To be completed.

Installed Applications

Common applications
See Common configuration for Linux.

Essential:
VirtualBox (virtualbox-4.2) [2013-02-20] Updated to 4.2.8!
Local settings. See also VirtualBox
Privoxy (privoxy)
Gufw (gufw) graphical front-end to ufw
SSH Tunnel script (sshtunnel.pl, libssl-dev) Thierry Walrant's Perl script sshtunnel.pl
LAMP (apache2 php5 mysql-server mysql-client php5-mysql) See local config
PHPMyAdmin (phpmyadmin) Install for apache2 + configure phpmyadmin database + see local config
dwww (dwww)
Courier IMAP (courier-imap courier-doc courier-imap-ssl) Install instructions and local settings
Courier-POP3 (courier-pop courier-pop-ssl)
qmail (ucspi-tcp qmail) See qmail page
NTP (ntp) Set system to synchronize with NTP server automatically (servers: ntp0.nl.net, ntp1.nl.net, ntp2.nl.net, ntp.univ-lyon1.fr)
HTTrack (httrack)
WireShark (wireshark tshark)
MBR (mbr) To create VirtualBox rawdisk
NFS Server (nfs-kernel-server nfs-common portmap) See NFS for more details; Created entries in /etc/exports.
Samba Server (samba smbfs) See local config
ACL (acl)
Google Chrome (chromium-browser)
Thunderbird (thunderbird)
Wine (wine) See Wine page
Psi (psi) See local config
CUPS PDF (cups-pdf) Allow CUPS to access ~/PDF:
sudo aa-complain cupsd
LaTeX (texlive texlive-xetex latex2hml) Including XeTeX package
TeX Extra packages (texlive-plain-extra texlive-science) Soul package requires CTAN color package - see [1]
[2011-01-14] Added texlive-science.
GNU C/C++ compiler (g++)
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
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
Perl-doc html (perl-doc-html) Available from dwww, section Programming/perl
Google Earth (googleearth googleearth-data) Requires Medibuntu repository
Recoll desktop search (recoll) See also Recoll page.
pdftk (pdftk)
Oracle/Sun Java JDK 1.6 (sun-java6-jdk)
4Pane (4pane) See Linux Software#4Pane
Git (git-gui gitk git-doc gitweb) [2013-02-20]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

[2013-02-20] — Installed tileqt tcl/tk widget theme for gitk (see here).

Some git browsers (qgit gitg source-highlight) [2013-02-20] gitg updated to 0.0.7!
KDirStat (kdirstat)
Color Diff (colordiff)
Word Diff (wdiff)
Diffuse (diffuse)
bsdiff (bsdiff)
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
Diffstat (diffstat) A better grep...
Ack (ack-grep) A better grep...
sudo ln -s /usr/bin/ack-grep /usr/local/bin/ack
Hexedit (hexedit) Hex editor
Hexer (hexer) Hex editor with vi-like interface
Uncrustify (uncrustify) v0.59, simply compiled from source (./configure; make; sudo make install)
socat (socat)
multitee (multitee)
colortail (colortail)
Qiv (qiv)
libdvdcss2 Installed via sudo /usr/share/doc/libdvdread4/install-css.sh (see also [2])
VLC (vlc)
apt-rdepends (apt-rdepends)
GraphViz (graphviz) To plot package dependencies with apt-cache dotty and apt-rdepends -d
pipe viewer (pv)
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

Local applications:

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

Un-installed applications (by uninstall date):

[yyyy-mm-dd] Application (package) [YYYY-MM-DD] uninstalled (reason)

Simple Settings

  • SUDO - keep environment variable http_proxy, https_proxy (to keep proxy settings for apt-get etc)
  • SUDO - keep environment variable GREP_OPTIONS (keep grep options)
  • SUDO - keep environment variable DISPLAY, XAUTHORITY (avoid doing xhost local:root before launching X pgm)
  • SUDO - keep environment variable HOME (e.g. to keep git aliases and settings when using etckeeper)
Defaults        env_reset, env_keep="http_proxy https_proxy GREP_OPTIONS DISPLAY XAUTHORITY HOME"
  • SUDO - Allow truecrypt and rfkill w/o password:
ALL     ALL=NOPASSWD: /usr/bin/truecrypt
ALL     ALL=NOPASSWD: /sbin/rfkill
  • CRON - cron script for automatic backup of wikis on Noekeon's (see config files).
  • 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"
  • 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

  • 2nd install on [2013-02-20]
  • Distribution: Ubuntu 12.04 amd64
  • Installation method: Net boot install from Internet using GRUB
  • Language: English
  • Location: Europe, Belgium Time
  • Computer name: nxl67170ux
  • Keyboard layout: BE
  • Name: beq06659
  • Login name: beq06659
  • Update: No automatic update
  • Software to install: Ubuntu Desktop
  • Partition: see main page

File System

  • To be completed

Network

  • To be completed

Preferences

  • To be completed

Users

To be completed

Detailed Application Settings

VirtualBox

  • See virtual machine configuration log.
  • Installed with apt (original version 4.2.8)
  • 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 [3])
  • 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

To Do

Issues

  • Issue — To be completed
  • To Do — Description

Done & Fixed

  • Fixed — Issue description
    Fix description
  • Done — Description