User Tools

Site Tools


ubuntu_server_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu_server_setup [2018/08/13 10:24]
mstraub [Enable Automatic Security Updates]
ubuntu_server_setup [2020/07/23 11:35] (current)
mstraub [Ubuntu <= 14.04]
Line 14: Line 14:
 Some additional packages for easier CLI handling: Some additional packages for easier CLI handling:
 <​code>​ <​code>​
-sudo apt-get install bash-completion ubuntu-release-upgrader-core software-properties-common+sudo apt install bash-completion ubuntu-release-upgrader-core software-properties-common
 </​code>​ </​code>​
-===== Oracle Java ===== 
  
-If you need Oracle Java install it from this 3rd party repo (which is updated regularly):+And some more useful tools:
 <code bash> <code bash>
-sudo add-apt-repository ppa:​webupd8team/​java +sudo apt install ​htop ncdu ranger tldr tree vim
-sudo apt-get update +
-sudo apt-get ​install ​oracle-java8-installer+
 </​code>​ </​code>​
  
-[[http://​www.webupd8.org/​2012/​09/​install-oracle-java-8-in-ubuntu-via-ppa.html|original source]], [[https://​wiki.ubuntuusers.de/​Java/​Installation/​Oracle_Java/​Java_8|more info @ ubuntuusers.de]]+===== Java =====
  
 +If you are fine with the OpenJDK version that comes with your Ubuntu:
  
 +<code bash>
 +sudo apt install openjdk-11-jdk-headless
 +</​code>​
 +
 +A good alternative if you want other versions is https://​adoptopenjdk.net - they provide ppas for free.
 ===== Lighttpd ===== ===== Lighttpd =====
  
Line 75: Line 78:
   * [[https://​help.ubuntu.com/​community/​AutomaticSecurityUpdates]]\\   * [[https://​help.ubuntu.com/​community/​AutomaticSecurityUpdates]]\\
   * [[https://​help.ubuntu.com/​16.04/​serverguide/​automatic-updates.html]]   * [[https://​help.ubuntu.com/​16.04/​serverguide/​automatic-updates.html]]
- 
-==== Ubuntu <= 14.04 ==== 
-Unattended-Upgrade::​Remove-Unused-Dependencies seems to be broken in Ubuntu 14.04. This entry in ''/​etc/​crontab''​ should do the trick by daily executing autoremove: 
- 
-<​code>​ 
-0  0    * * *   ​root ​   apt-get autoremove -y >> /​var/​log/​autoremovecronjob.log 2>&1 
-</​code>​ 
- 
  
  
ubuntu_server_setup.1534148699.txt.gz · Last modified: 2018/08/13 10:24 by mstraub