pacman -S openssh
systemctl start sshd
systemctl enable sshd.socket
pacman -S sudo
Use sed
to uncomment the wheel group from sudoers, then hijack the EDITOR variable to copy the modified version back via visudo.
sed 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers > /etc/sudoers.new
export EDITOR="cp /etc/sudoers.new"
visudo
rm /etc/sudoers.new
useradd -m -g users -G wheel -s /usr/bin/zsh cerebral
passwd cerebral
pacman -S open-vm-tools
pacman -S open-vm-tools-dkms
Check pacman output for the dkms version that needs to be installed, then
dkms add open-vm-tools/9.4.0
Start + Enable the daemon
cat /proc/version > /etc/arch-release
systemctl start vmtoolsd
systemctl enable vmtoolsd
(optional) Sync time to the host, alternatively set up NTP
vmware-toolbox-cmd timesync enable
pacman -S ntp
systemctl start ntpd
systemctl enable ntpd
pacman -S webmin
systemctl start webmin
systemctl enable webmin
pacman -S --needed base-devel
pacman -S wget
Assuming the user cerebral has created, is in the "wheel" group, and sudoers has been set up as above. Package builds should NOT be done as root.
su cerebral
cd ~
mkdir builds && cd builds
wget https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz
tar -xvzf package-query.tar.gz
cd package-query
makepkg -s
sudo pacman -U package-query-*.xz
cd ~/builds
wget https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
tar -xvzf yaourt.tar.gz
cd yaourt
makepkg -s
sudo pacman -U yaourt-*.xz
exit