Mineos-node on arch

From MineOS
Jump to: navigation, search

cfdisk (gpt)

mkfs.ext4 /dev/sda1 mkswap /dev/sda2 swapon /dev/sda2 mount /dev/sda1 /mnt

systemctl stop dhcpcd.service

hostnamectl set-hostname mineos-arch

informational: ip link

ip link set enp0s3 up ip addr add xxx.xxx.xxx.xxx/26 dev enp0s3 ip route add default via xxx.xxx.xxx.xxx


(then i added dns to resolv.conf because i couldnt resolve)

vi /etc/pacman.d/mirrorlist pacstrap /mnt base

genfstab -p /mnt >> /mnt/etc/fstab

arch-chroot /mnt echo mineos-arch > /etc/hostname ln -sf /usr/share/zoneinfo/America/Phoenix /etc/localtime

vi /etc/systemd/network/wired.network

[Match] Name=enp0s3 Host=mineos-arch

[Network] DNS=xxx.xxx.xxx.xxx

[Address] Address=xxx.xxx.xxx.xxx/26

[Route] Gateway=xxx.xxx.xxx.xxx

(then i added dns to resolv.conf because i couldnt resolve)

vi /etc/locale.gen (uncomment used locales) locale-gen echo LANG=en_US > /etc/locale.conf mkinitcpio -p linux passwd

pacman -S grub os-prober grub-install --target=i386-pc --recheck --debug /dev/sda grub-mkconfig -o /boot/grub/grub.cfg

exit reboot


.... parted for 3mb partition

parted set 3 boot on quit ....


?? systemctl start systemd-networkd

pacman -S openssh systemctl start sshd.socket

pacman -S base-devel pacman -S git rdiff-backup screen jre7-openjdk rsync nodejs npm