This small script helps install and configure archlinux. You just need:
- download archlinux.iso from official website, burn to cd or usb and boot
- login to livecd, retrieve ip and enable sshd
- wait for installation and than reboot
- remove installation media
- login to new system
- provide hostname, username, timezone and list of necessary packages for new system
- wait for configuring
The script will:
- Partition hard drive (100M for boot, ~2Gb for swap, rest for root)
- Install yandex mirror as first (useful for CIS countries)
- Install system, generate fstab, configure grub, adding ru_RU.UTF-8 locale, adding necessary lines to mkinicpio.conf, enable sshd and dhcpcd
After reboot, script will:
- Set hostname, timezone, localizing system to ru_RU.UTF-8
- Configure pacman to use multilib (only for x64)
- Create user, update system, install necessary packages (provided by user; also will install
yajlandbash-completion), install X11 packages (xorg-serverxorg-xinitxorg-server-utilsmesa-libgl), drivers for videocards (xf86-video-intelxf86-video-atixf86-video-nouveauxf86-video-vesaandlib32-mesa-libglonly for x64), Xfce (xfce4xfce4-goodies), fonts (ttf-liberationttf-dejavuopendesktop-fontsttf-bitstream-verattf-arphic-ukaittf-arphic-umingttf-hanazono) - Configure sudo (
%wheel ALL=(ALL) ALL) - Install yaourt
- Allow to use ssh only to created user
- Installed python v2
- Installed
paramiko(pip install paramiko)
python2 run.py