ZAVCXL0005 - Ubuntu: Difference between revisions
Jump to navigation
Jump to search
(21 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
* <small>[YYYY-MM-DD]</small> Update to vX.Y |
* <small>[YYYY-MM-DD]</small> Update to vX.Y |
||
* TBC |
* TBC |
||
|- |
|||
|'''Courier''' (<tt>package</tt>)|| |
|||
* Do not install <code>courier-pop*</code> |
|||
|- |
|||
|'''rsync daemon''' (<tt>rsync xinetd</tt>)|| |
|||
* Create file {{file|/etc/xinetd.d/rsync}}: |
|||
<source lang=bash> |
|||
service rsync |
|||
{ |
|||
disable = no |
|||
socket_type = stream |
|||
wait = no |
|||
user = root |
|||
server = /usr/bin/rsync |
|||
server_args = --daemon |
|||
log_on_failure += USERID |
|||
flags = IPv6 |
|||
} |
|||
</source> |
|||
* Create file {{file|/etc/rsyncd.conf}}: |
|||
<source lang=bash> |
|||
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 = / |
|||
</source> |
|||
* Create file {{file|/etc/rsyncd.secrets}}: |
|||
<source lang=text> |
|||
backuppc:XXXXXXXXXXXXX |
|||
</source> |
|||
* Exclude files/directory by renaming with extension {{file|.nobak}} and symlinking (all {{file|tmp/}}, {{file|/sage}}, {{file|/usr/local/texlive}}). |
|||
|- |
|||
|'''NTP''' (<tt>ntp</tt>)|| |
|||
* synchronize with NTP server automatically |
|||
* 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> |
|||
|- |
|||
|'''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 40: | Line 115: | ||
*Install with |
*Install with |
||
sudo pip install youtube_dl |
sudo pip install youtube_dl |
||
|- |
|||
|'''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 71: | 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 |
=== 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) |
|
Courier (package) |
|
rsync daemon (rsync xinetd) |
service rsync
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
flags = IPv6
}
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 = /
backuppc:XXXXXXXXXXXXX
|
NTP (ntp) |
server 10.137.3.254 iburst |
S.M.A.R.T (smartmontools) |
|
Opera (opera) |
|
Kernel |
# Install HWE Edge stack
sudo apt-get install --install-recommends linux-generic-hwe-16.04-edge xserver-xorg-hwe-16.04
# 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) |
sudo pip install youtube_dl |
WMCTRL (wmctrl) | |
Thunderbird (thunderbird) |
|
Wireshark (wireshark) |
sudo dpkg-reconfigure wireshark-common
sudo gpasswd -a $USER wireshark
|
ia32 libraries (gcc-multilib g++-multilib) |
sudo apt-get install gcc-multilib g++-multilib
|
Jupyter | |
Owncloud |
Uninstalled
Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
System Settings
1st install |
|
File system |
|
Network |
|
Preferences |
|
Miscellaneous |
|
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).