Nxl67170 - Ubuntu
Jump to navigation
Jump to search
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
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
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 -sf /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 [3] (modified to also take
alias v=gvim
)
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 [4])
- 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 E5430 - Wine.
To Do
Issues
- Issue — To be completed
- To Do — Description
Done & Fixed
- Fixed — Issue description
Fix description - Done — Description