In diesem Beitrag baue ich mir eine kleine Entwicklungsumgebung mit einer Ubuntu Serverversion. Teil 1
Die Anforderungen an die Hardware sind gering. Nach der Installation kann der Monitor entfernt werden. Selbiger wird nur zum Setup benötigt.
Meine Beiträge sind auf Grund der Menge von mehrteiligem Inhalt.
Ich werde den Text nachhaltig aktualisieren, weil doch SSH, Apache, PHP usw. recht umfangreich ist.
So kann ich die notwendigen Installationen und Teilschritte zeitlich besser einplanen.
Alle notwendigen Voraussetzungen:
Adding user `lordsniefnase' ...
Adding new group `lordsniefnase' (1001) ...
Adding new user `lordsniefnase' (1001) with group `lordsniefnase' ...
Creating home directory `/home/lordsniefnase' ...
Copying files from `/etc/skel' ...
Der Ordner test wurde erfolgreich erstellt.
UFW Konfig - Standart laden und aktivieren - Freigabe SSH und Port 22:
lordsniefnase@sliplady:~$ sudo ufw default deny incoming
Default incoming policy changed to 'deny'
(be sure to update your rules accordingly)
lordsniefnase@sliplady:~$ sudo ufw default allow outgoing
Default outgoing policy changed to 'allow'
(be sure to update your rules accordingly)
lordsniefnase@sliplady:~$ sudo ufw allow ssh
Rules updated
Rules updated (v6)
lordsniefnase@sliplady:~$ sudo ufw allow 22
Rules updated
Rules updated (v6)
lordsniefnase@sliplady:~$ sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
lordsniefnase@sliplady:~$ sudo reboot
Connection to 192.168.178.21 closed by remote host.
Connection to 192.168.178.21 closed.
tomate@tomate-MS-7971:~$ ssh lordsniefnase@192.168.178.21
lordsniefnase@192.168.178.21's password:
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-74-generic x86_64)
* Documentation:
https://help.ubuntu.com
* Management:
https://landscape.canonical.com
* Support:
https://ubuntu.com/advantage
System information as of Tue Jun 22 13:37:04 UTC 2021
System load: 1.02 Temperature: 42.0 C
Usage of /: 3.2% of 195.86GB Processes: 151
Memory usage: 2% Users logged in: 0
Swap usage: 0% IPv4 address for enp5s0: 192.168.178.21
* Super-optimized for small spaces - read how we shrank the memory
footprint of MicroK8s to make it the smallest full K8s around.
https://ubuntu.com/blog/microk8s-memory-optimisation
8 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
Last login: Tue Jun 22 13:33:18 2021 from 192.168.178.31
lordsniefnase@sliplady:~$ sudo ufw status verbose
[sudo] password for lordsniefnase:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
To Action From
-- ------ ----
22/tcp ALLOW IN Anywhere
22 ALLOW IN Anywhere
22/tcp (v6) ALLOW IN Anywhere (v6)
22 (v6) ALLOW IN Anywhere (v6)
lordsniefnase@sliplady:~$ sudo ufw status numbered
Status: active
To Action From
-- ------ ----
[ 1] 22/tcp ALLOW IN Anywhere
[ 2] 22 ALLOW IN Anywhere
[ 3] 22/tcp (v6) ALLOW IN Anywhere (v6)
[ 4] 22 (v6) ALLOW IN Anywhere (v6)
lordsniefnase@sliplady:~$ exit
logout
Für OpenSim auf Ubuntu würde ich selbst nur Serverversion 18.04.5 nutzen.