User:Yurimastur

From ArchWiki
Jump to navigation Jump to search

Linux Networking

https://jamielinux.com/docs/libvirt-networking-handbook/index.html

https://wiki.archlinux.org/index.php/Libvirt#Networks

https://wiki.archlinux.org/index.php/Nftables

https://wiki.archlinux.org/index.php/Iptables

https://wiki.archlinux.org/index.php/Network_bridge


Linux Security

https://wiki.archlinux.org/index.php/SELinux

Installing Arch


parted /dev/vda mktable gpt
parted /dev/vda mkpart primary fat32 0% 8MiB
parted /dev/vda mkpart primary ext4 8MiB 100%
parted /dev/vda set 1 bios_grub on

mkfs.btrfs /dev/vda2
mount /dev/vda2 /mnt
mkdir /mnt/boot
pacstrap /mnt base base-devel grub btrfs-progs networkmanager openssh bash-completion pkgfile bc ceph
genfstab -U /mnt >> /mnt/etc/fstab


arch-chroot /mnt

ln -s /usr/share/zoneinfo/UTC /etc/localtime
echo "LANG=en_US.UTF-8" >> /etc/locale.conf
locale-gen
grub-install --target=i386-pc /dev/vda
grub-mkconfig -o /boot/grub/grub.cfg

systemctl enable NetworkManager
systemctl enable sshd
systemctl enable pkgfile-update.timer

passwd

exit

umount /mnt

reboot

#after boot
nmcli g hostname myhostname.com