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

From Jay's Cafe' Wiki
m
m
Line 4: Line 4:
<code>
<code>
pacman -S --needed vim openssh x11-ssh-askpass xorg-xauth xorg
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 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>
</code>

Revision as of 06:34, 2 January 2024

  • Build Process
    • (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 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>