ZAVCXL0005 - Ubuntu: Difference between revisions

From miki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 86: Line 86:
* Use ST network gateway as ntp server (see <code>netstat -rn</code>). Add to {{file|/etc/ntp.conf}}:
* Use ST network gateway as ntp server (see <code>netstat -rn</code>). Add to {{file|/etc/ntp.conf}}:
<pre>server 10.137.3.254 iburst</pre>
<pre>server 10.137.3.254 iburst</pre>
|-
|'''S.M.A.R.T''' (<tt>smartmontools</tt>)||
* See [[Linux_Disk_Management#S.M.A.R.T.|S.M.A.R.T.]]
|-
|'''Opera''' (<tt>opera</tt>)||
* Config reset script {{file|~/bin/reset_opera.sh}}
|-
|Kernel||
* Switched to LTS HWE stack ''edge'' (kernel 4.13 and up):
<source lang="bash">
# Install HWE Edge stack
sudo apt-get install --install-recommends linux-generic-hwe-16.04-edge xserver-xorg-hwe-16.04
</source>
* Tried with LTS HWE stack (kernel 4.10), but had issue with ''kworker'' thread taking 100% cpu (see [[Common Issues]]):
<source lang="bash">
# Install HWE stack
# sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
</source>
|}
|}


Line 99: Line 117:
|-
|-
|'''WMCTRL''' (<tt>wmctrl</tt>)||
|'''WMCTRL''' (<tt>wmctrl</tt>)||
|-
|'''Thunderbird''' (<tt>thunderbird</tt>)||
* Use ''Maildir'' as data store [https://wiki.mozilla.org/Thunderbird/Maildir]: set pref <code>mail.serverDefaultStoreContractID</code> to <code>@mozilla.org/msgstore/maildirstore;1</code>
* Add-on [https://www.absorb.it/virtual-id Virtual Identity]
|-
|'''Wireshark''' (<tt>wireshark</tt>)||
* Enable wireshark for non-super user [https://ask.wireshark.org/questions/16343/install-wireshark-on-ubuntu]:
<source lang=bash>
sudo dpkg-reconfigure wireshark-common
sudo gpasswd -a $USER wireshark
</source>
|-
|'''ia32 libraries''' (<tt>gcc-multilib g++-multilib</tt>)||
* We go for solution given [http://askubuntu.com/questions/91909/trouble-compiling-a-32-bit-binary-on-a-64-bit-machine here]:
<source lang=bash>
sudo apt-get install gcc-multilib g++-multilib
</source>
* Look at package {{deb|ia32-libs-multiarch}}
|-
|'''[[Jupyter]]'''||
|-
|'''[[Owncloud]]'''||
|}
|}


Line 130: Line 170:
|}
|}


== To Do ==
== Issues and To Do ==
=== Issues ===
=== Issues ===
See [[Common Issues]].
* '''{{red|Issue}}''' — To be completed

=== To Do ===
* '''{{red|To Do}}''' — Description
* '''{{red|To Do}}''' — Description


=== Done & Fixed ===
=== Done ===
* '''{{green|Fixed}}''' — Issue description<br/>Fix description
* '''{{green|Done}}''' — Description
* '''{{green|Done}}''' — Description

=== Stability ===
* '''37 days uptime''' with kernel {{deb|linux-image-4.4.0-72-generic}}!
* '''5 days uptime''' with kernel {{deb|linux-image-4.4.0-79-generic}}.
* 1 crash (can't wake up, SysRq-REISUB not working) with kernel {{deb|linux-image-4.4.0-81-generic}}
* Upgraded to {{deb|linux-image-generic-hwe-16.04-edge}} ({{deb|linux-image-4.13.0-26-generic}}) + {{deb|xorg-server-source-hwe-16.04}}
:* Seems more stable overall (less kworker 100% CPU issue).
:* '''{{red|serious GUI issues}}''' (mouse click, mouse selection, right click button stuck or no effect).
* Downgraded to {{deb|xorg-server}}, kept {{deb|linux-image-generic-hwe-16.04-edge}} ({{deb|linux-image-4.13.0-26-generic}}).

Latest revision as of 13:27, 22 January 2018

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
  • Upgraded to linux-image-generic-hwe-16.04-edge (linux-image-4.13.0-26-generic) + xorg-server-source-hwe-16.04
  • Seems more stable overall (less kworker 100% CPU issue).
  • serious GUI issues (mouse click, mouse selection, right click button stuck or no effect).
  • Downgraded to xorg-server, kept linux-image-generic-hwe-16.04-edge (linux-image-4.13.0-26-generic).