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

From Jay's Cafe' Wiki
(Created page with "*'''Build Process<br>")
 
m
 
(2 intermediate revisions by the same user not shown)
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) Install vim, openssh, x11-ssh-askpass, xorg-xauth, xorg. Select defaults on the install.
<code>
pacman -S --needed vim openssh x11-ssh-askpass xorg-xauth xorg
</code>
**(both) Edit /etc/ssh/sshd_config to allow remote log in using a keyboard.
**(both) Enable and start/restart sshd. Then check proper operation.
<code>
systemctl enable sshd
systemctl restart sshd
systemctl status sshd
</code>
**(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.
<code>
pacman -S --needed base-devel go git lightdm blackbox lxterminal xfce4-terminal
</code>
***(container) More permission errors on the container version.
**(both) Create user and set password
<code>
useradd <user> -m -s /bin/bash -G root,wheel
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>

Latest revision as of 06: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