You will find in this README a memo I use for basic Arch Linux installation on these VPS.
All you get when installing Arh Linux onto a VPS is a basic prompt: root@archiso ~ # so let's start from there.
loadkeys fr_CH
fdisk /dev/vda
Type 'o'. This will clear out any partitions on the drive.
Type 'p' to list partitions. There should be no partitions left.
Type 'n', then 'p' for primary, '1' (Default) for the first partition on the drive, press ENTER to accept the default first sector, then type '+100M' for the last sector.
Type 't', then 'c' to set the first partition to type W95 FAT32 (LBA).
Type 'a', then '1' to toggle bootable flag on Boot partition.
Type 'n', then 'e' for extended, '2' (Default) for the first partition on the drive, press ENTER to accept the default first sector, then ENTER for the last sector (Extended partition will take all the available space left).
Type 'n' : All space for primary partition is in use, so fdisk will automatically add a logical partition.
Adding logical partition 5
Press ENTER to accept default first sector, then '+49G' (eg) for root partition size.
Type 't', partition number should be 5, press ENTER, then '8e' to set the first logical partition to type Linux LVM.
Type 'n' : All space for primary partition is in use, so fdisk will automatically add a logical partition.
Adding logical partition 6
Press ENTER to accept default first sector, then ENTER again for default last sector.
Type 't', partition number should be 6, press ENTER, then '82' to set the second logical partition to type Linux Swap.
Type 'p' to check how partition table is looking, if everything looks good, write the partition table and exit by typing 'w'.
mkfs.vfat /dev/vda1 -n B00T
mkdir /mnt/boot
mount /dev/vda1 /mnt/boot
mkfs.ext4 /dev/vda5 -L vr00t
mount /dev/vda5 /mnt
mkswap /dev/vda6 -L sw4p
swapon /dev/vda6
systemctl status systemd-resolved.service
systemctl enable systemd-resolved && systemctl start systemd-resolved
pacstrap /mnt linux linux-firmware base base-devel
genfstab -pL /mnt /mnt/etc/fstab
arch-chroot /mnt
echo myhostname >> /etc/hostname
ln -s /usr/share/zoneinfo/Europe/Zurich /etc/localtime
locale-gen
nano /etc/locale.conf
LANG=en_GB.UTF-8
LC_COLLATE=C
LC_TIME=en_GB.UTF-8
echo /etc/vconsole.conf >> KEYMAP=fr_CH
MODULES="virtio virtio_blk virtio_pci virtio_net virtio_ring"
mkinitcpio -p linux
== WARNING: Possibly missing firmware for module: wd719x
== WARNING: Possibly missing firmware for module: aic94xx
[You can safely ignore them !](https://wiki.archlinux.org/index.php/mkinitcpio### Possibly_missing_firmware_for_module_XXXX)
passwd
pacman -S grub
grub-install --target=i386-pc /dev/vda
grub-mkconfig -o /boot/grub/grub.cfg
useradd -m -g users -G storage,power,wheel -s /bin/bash "username"
nano /etc/sudoers and uncomment the %wheel line
passwd "username" to define a password and su "username" to login as newly created user
sudo pacman -S multilib-devel git jshon wget netctl ifplugd dhcpcd openssh
cd /etc/netctl
install -m640 examples/ethernet-dhcp internet
sudo nano internet
Inteface=ens3
netctl enable internet && sudo netctl start internet
pacman -S xfce4 xfce4-goodies slim xorg wget baobab mlocate binutils firefox p7zip xarchiver
nano ~/.xinitrc and "starxfce4" then save
Edit slim.conf default username and autologin yes for autologin.
starxfce4'
exit && umount -R /mnt
reboot