ZAVCXL0005 - Ubuntu

From miki
Revision as of 07:51, 10 January 2018 by Mip (talk | contribs) (→‎Essential)
Jump to navigation Jump to search

Introduction

This is the configuration page for the Ubuntu Trusty 14.04 partition on ZAVCWL0035.

Configuration Files

All configuration files can be found here.

Installed Applications

Common applications

See Common configuration for Linux.

Essential

Virtualbox (package, repo Repository)

If virtualbox is autostarting (and fails), remove it with:

sudo update-rc.d -f virtualbox remove
Python pip (python-pip)
Application (package, repo Repository)
sudo apt-...
Application (package)
  • [YYYY-MM-DD] Update to vX.Y
  • TBC
Courier (package)
  • Do not install courier-pop*
rsync daemon (rsync xinetd)
  • Create file /etc/xinetd.d/rsync:
service rsync
{
    disable = no
    socket_type = stream
    wait = no
    user = root
    server = /usr/bin/rsync
    server_args = --daemon
    log_on_failure += USERID
    flags = IPv6
}
  • Create file /etc/rsyncd.conf:
max connections = 1
log file = /var/log/rsync.log
max verbosity = 3
transfer logging = yes
log format = %o %i %h [%a] %m (%u) %f %l
timeout = 6000

read only = yes
list = yes
uid = root
gid = root
auth users = backuppc
secrets file = /etc/rsyncd.secrets

[boot]
comment = /boot partition (480MB)
path = /boot

[home]
comment = /home partition (211GB)
path = /home

[root]
comment = / partition (20GB)
path = /
  • Create file /etc/rsyncd.secrets:
backuppc:XXXXXXXXXXXXX
  • Exclude files/directory by renaming with extension .nobak and symlinking (all tmp/, /sage, /usr/local/texlive).
NTP (ntp)
  • synchronize with NTP server automatically
  • Use ST network gateway as ntp server (see netstat -rn). Add to /etc/ntp.conf:
server 10.137.3.254 iburst
S.M.A.R.T (smartmontools)
Opera (opera)
  • Config reset script ~/bin/reset_opera.sh
Kernel
  • Switched to LTS HWE stack edge (kernel 4.13 and up):
# Install HWE Edge stack
sudo apt-get install --install-recommends linux-generic-hwe-16.04-edge xserver-xorg-hwe-16.04
  • Tried with LTS HWE stack (kernel 4.10), but had issue with kworker thread taking 100% cpu (see Common Issues):
# Install HWE stack
# sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04

Local

HP MyRoom (hpmyroom libxtst6:i386 libxss1:i386) To connect, select connect with Key.
Youtube DL (youtube_dl)
  • Install with
sudo pip install youtube_dl
WMCTRL (wmctrl)
Thunderbird (thunderbird)
  • Use Maildir as data store [1]: set pref mail.serverDefaultStoreContractID to @mozilla.org/msgstore/maildirstore;1
  • Add-on Virtual Identity
Wireshark (wireshark)
  • Enable wireshark for non-super user [2]:
sudo dpkg-reconfigure wireshark-common
sudo gpasswd -a $USER wireshark
ia32 libraries (gcc-multilib g++-multilib)
  • We go for solution given here:
sudo apt-get install gcc-multilib g++-multilib
  • Look at package ia32-libs-multiarch
Jupyter
Owncloud

Uninstalled

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

System Settings

1st install
  • TBC
File system
  • TBC
Network
  • TBC
Preferences
  • TBC
Miscellaneous
  • Unity Tweak:
    • Search: uncheck Search online sources, uncheck Show "More Suggestions", uncheck Show "Recently Used" applications
    • Additional: Open the first panel menu Alt-F10

Issues and To Do

Issues

See Common Issues.

To Do

  • To Do — Description

Done

  • Done — Description

Stability

  • 37 days uptime with kernel linux-image-4.4.0-72-generic!
  • 5 days uptime with kernel linux-image-4.4.0-79-generic.
  • 1 crash (can't wake up, SysRq-REISUB not working) with kernel linux-image-4.4.0-81-generic