Linux/Virtual Server Setup Guide: Difference between revisions

From Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
== Step 1: Prepare local linux terminal ==
= Step 1: Prepare local linux terminal =
* Install Windows Subsystem for Linux / Ubuntu
* Install Windows Subsystem for Linux / Ubuntu
* Open local linux terminal and complete initial setup
* Open local linux terminal and complete initial setup


== Step 2: Generate Cloud VM (Hetzner, Netcup,...) ==
= Step 2: Generate Cloud VM (Hetzner, Netcup,...) =
* Install latest Ubuntu LTS  
* Install latest Ubuntu LTS  
* Set username / password
* Set username / password
Line 9: Line 9:
** VM IP, VM username, VM password
** VM IP, VM username, VM password


== Step 3: Adjust DNS entries ==
= Step 3: Adjust DNS entries =


* Make sure the desired DNS entries point to the (new?) IP of the VM. (IPv4 + IPv6)
* Make sure the desired DNS entries point to the (new?) IP of the VM. (IPv4 + IPv6)
Line 19: Line 19:
</blockquote>
</blockquote>


== Step  4: Set up VM ==
= Step  4: Set up VM =
* Open local linux terminal
* Open local linux terminal
* Connect to VM:
* Connect to VM:
Line 27: Line 27:
</pre>
</pre>
</blockquote>
</blockquote>
* do stuff
== Install basics ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Uninstall snapd ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Install fail2ban ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Add swapfile ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Install Docker ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Install munin-node ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Install wireguard ==
<blockquote>
<pre>
</pre>
</blockquote>
 
== Optimize terminal looks ==
<blockquote>
<blockquote>
<pre>
<pre>

Revision as of 19:11, 21 November 2023

Step 1: Prepare local linux terminal

  • Install Windows Subsystem for Linux / Ubuntu
  • Open local linux terminal and complete initial setup

Step 2: Generate Cloud VM (Hetzner, Netcup,...)

  • Install latest Ubuntu LTS
  • Set username / password
  • Write down information required for next steps:
    • VM IP, VM username, VM password

Step 3: Adjust DNS entries

  • Make sure the desired DNS entries point to the (new?) IP of the VM. (IPv4 + IPv6)
  • Verify from the local terminal that the DNS entry is pointing to the correct ip
nslookup {hostname}

Step 4: Set up VM

  • Open local linux terminal
  • Connect to VM:
ssh {user}@{hostname}

Install basics


Uninstall snapd


Install fail2ban


Add swapfile


Install Docker


Install munin-node


Install wireguard


Optimize terminal looks