Debian
HTTP Server
apt install apache2 -y systemctl enable apache2 service apache2 start
Konfiguration
Der Name des Servers muss festgelegt werden.
# /etc/apache2/sites-available/000-default.conf ServerName vserverDebian.mydomain
Mysql Server
apt install mariadb-server mariadb-client -y systemctl enable mariadb-server service mariadb-server start
IP Adresse einstellen
/etc/network/interfaces # dynamisch iface eth0 inet dhcp
Beispiel 1:
# statisch iface eth0 inet static address 192.168.100.1 netmask 255.255.255.0 network 192.168.100.0 broadcast 192.168.100.255 gateway 192.168.100.254
Beispiel 2:
# statisch iface eth0 inet static address 10.0.0.111 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.138
dann
ifdown eth0 ifup eth0
Hinweis: Unter Suse Linux ist die Konfiguration für eth0 in
/etc/sysconfig/network/ifcfg-eth0