Benutzer:PMay/vServer at Hetzner: Unterschied zwischen den Versionen

Aus wiki.archlinux.de
PMay (Diskussion | Beiträge)
PMay (Diskussion | Beiträge)
Zeile 10: Zeile 10:


== sshd ==
== sshd ==
*
* see also [[:en:Secure Shell]]
* install openssh wih pacman
* enable it
 
  # systemctl enable sshd.service


== activate swap partition ==
== activate swap partition ==

Version vom 19. November 2013, 20:05 Uhr

network

 # systemctl enable network@ens3.service
  • edit /etc/resolv.conf to setup name server (see same file from old debian installation for proper values)

sshd

 # systemctl enable sshd.service

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