Nxl67170 - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 43: Line 43:
|-
|-
|'''MBR''' (<tt>mbr</tt>)||To create VirtualBox rawdisk
|'''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]]
|'''Samba Server''' (<tt>samba smbfs</tt>)||See [[#Samba|local config]]

Revision as of 23:02, 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
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