Benutzer:PMay/vServer at Hetzner: Unterschied zwischen den Versionen
PMay (Diskussion | Beiträge) |
PMay (Diskussion | Beiträge) |
||
Zeile 6: | Zeile 6: | ||
# systemctl enable network@ens3.service | # systemctl enable network@ens3.service | ||
* edit /etc/resolv.conf to setup name server (see same file from old debian installation for proper values) | |||
== activate swap partition == | == activate swap partition == |
Version vom 19. November 2013, 20:02 Uhr
network
- also see en:Network Configuration or en:Network Configuration#Static IP address
- proper values forIP adress and so on can be found from old debian installation at /etc/network/interfaces
- create and edit /etc/conf.d/network@ens3
- create and edit /etc/systemd/system/network@.service (without ens3 after @)
# systemctl enable network@ens3.service
- edit /etc/resolv.conf to setup name server (see same file from old debian installation for proper values)
activate swap partition
# mkswap /dev/sda1 # swapon /dev/sda1
edit /etc/fstab and add this line at bottom
/dev/sda1 none swap defaults 0 0