1012 B
1012 B
Install Arch LXC on Proxmox
Install
- Download the lxc image
- During the install set a password, the network and ssh are not enabled by default
- After install set a special feature
- SSH to proxmox host
- Edit
/etc/pve/nodes/proxmox/lxc/<id>.conf - Add
features: nesting=1 - Reboot the container
Arch Setup
- Log into the console
- Set pacman mirror
- Edit
/etc/pacman.d/mirrorlist - Uncomment the mirror closest to you
- Initialize
pacman
pacman-key --init
pacman-key --populate archlinux
pacman-key --refresh-keys
- Run the updater and install some packages
pacman -Syu
pacman -S openssh vim sudo
- Setup a new user, sudo, and ssh access
useradd -m -shell /bin/bash <username>
passwd <username>
usermod -aG sudo <username>
systemctl restart sshd
systemctl enable sshd
- Copy over ssh keys
- Setup sudo access
visudo
<username> ALL=(ALL) ALL
- Set
.vimrc
set mouse=
set tabstop=4
set shiftwidth=4
set expandtab
syntax on