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 [2021/08/26 16:21]
mstraub [Enable Automatic Security Updates]
ubuntu_server_setup [2021/10/18 16:19] (current)
mstraub [Java]
Line 1: Line 1:
 ====== Ubuntu Server Setup ====== ====== Ubuntu Server Setup ======
  
-This document should outline a few steps that are useful after a fresh install of an Ubuntu Server.+This document should outline a few steps that are useful after a fresh install of an Ubuntu Server ​- last updated for 20.04.
  
 ===== Install Useful Tools ===== ===== Install Useful Tools =====
  
 <code bash> <code bash>
-sudo apt install htop ncdu ranger tldr tree vim+sudo apt install ​mlocate ​htop ncdu ranger tldr tree vim
 </​code>​ </​code>​
  
-===== Java =====+===== More Software ​=====
  
-If you are fine with the OpenJDK version that comes with your Ubuntu:+==== Samba / CIFS ==== 
 + 
 +If you need to mount Windows network drives: 
 + 
 +<code bash> 
 +sudo apt install cifs-utils 
 +</​code>​ 
 + 
 +==== Java ==== 
 + 
 +Ubuntu ​provides multiple versions of OpenJDK, e.g.:
  
 <code bash> <code bash>
-sudo apt install openjdk-11-jdk-headless+sudo apt install openjdk-17-jdk-headless
 </​code>​ </​code>​
  
-A good alternative if you want other versions ​is https://adoptopenjdk.net - they provide ppas for free.+If you need other versions ​check https://adoptium.net (previously named adoptopenjdk). Unfortunately as of 2021-10 they don'​t ​provide ppas but only .tar.gz files. But this may change soon.
 ===== Lighttpd ===== ===== Lighttpd =====
  
Line 110: Line 120:
 ===== More Resources ===== ===== More Resources =====
  
-[[http://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers]]\\ +[[https://www.ubuntupit.com/best-linux-hardening-security-tips-a-comprehensive-checklist/]]
-[[https://​www.thefanclub.co.za/​how-to/​how-secure-ubuntu-1204-lts-server-part-1-basics]]+
ubuntu_server_setup.1629987682.txt.gz · Last modified: 2021/08/26 16:21 by mstraub