Difference between revisions of "LXC Arch Virtual Machine vs Container"

From Jay's Cafe' Wiki
m
m
 
Line 1: Line 1:
*'''Build Process<br>
*'''Build Process<br>
**(VM) Set correct hostname. The hostname was not set by the template.
<code>
hostnamectl set-hostname <hostname>
</code>
**(both) Enable Multilibs
**(both) Enable Multilibs
**(both) Install vim, openssh, x11-ssh-askpass, xorg-xauth, xorg. Select defaults on the install.
**(both) Install vim, openssh, x11-ssh-askpass, xorg-xauth, xorg. Select defaults on the install.
Line 16: Line 20:
**(both) Install base-devel, git, lightdm, lxterm and xfce-terminal and blackbox.
**(both) Install base-devel, git, lightdm, lxterm and xfce-terminal and blackbox.
<code>
<code>
pacman -S --needed base-devel git lightdm blackbox lxterminal xfce4-terminal
pacman -S --needed base-devel go git lightdm blackbox lxterminal xfce4-terminal
</code>
</code>
***(container) More permission errors on the container version.
***(container) More permission errors on the container version.
Line 23: Line 27:
useradd <user> -m -s /bin/bash -G root,wheel
useradd <user> -m -s /bin/bash -G root,wheel
passwd <user>
passwd <user>
</code>
**(both)Install yay
<code>
su - <user>
mkdir -p sandbox/aur
cd sandbox/aur
git clone https://aur.archlinux.org/yay
cd yay
makepkg -is
</code>
**(both)Install x2goserver
<code>
yay x2goserver
</code>
</code>
</code>

Latest revision as of 07:54, 2 January 2024

  • Build Process
    • (VM) Set correct hostname. The hostname was not set by the template.

hostnamectl set-hostname <hostname>

    • (both) Enable Multilibs
    • (both) Install vim, openssh, x11-ssh-askpass, xorg-xauth, xorg. Select defaults on the install.

pacman -S --needed vim openssh x11-ssh-askpass xorg-xauth xorg

    • (both) Edit /etc/ssh/sshd_config to allow remote log in using a keyboard.
    • (both) Enable and start/restart sshd. Then check proper operation.

systemctl enable sshd systemctl restart sshd systemctl status sshd

    • (container) Received the following non-fatal errors on install
      • vcsu, vtcon, blkcg_punt_bio, raid5wq, scsi_tmf, writeback, md0 and others. All permission errors.
    • (both) Install base-devel, git, lightdm, lxterm and xfce-terminal and blackbox.

pacman -S --needed base-devel go git lightdm blackbox lxterminal xfce4-terminal

      • (container) More permission errors on the container version.
    • (both) Create user and set password

useradd <user> -m -s /bin/bash -G root,wheel passwd <user>

    • (both)Install yay

su - <user> mkdir -p sandbox/aur cd sandbox/aur git clone https://aur.archlinux.org/yay cd yay makepkg -is

    • (both)Install x2goserver

yay x2goserver