Git Product home page Git Product logo

archlinux_installer's Introduction

Script for semiautomatic installing ArchLinux

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 yajl and bash-completion), install X11 packages (xorg-server xorg-xinit xorg-server-utils mesa-libgl), drivers for videocards (xf86-video-intel xf86-video-ati xf86-video-nouveau xf86-video-vesa and lib32-mesa-libgl only for x64), Xfce (xfce4 xfce4-goodies), fonts (ttf-liberation ttf-dejavu opendesktop-fonts ttf-bitstream-vera ttf-arphic-ukai ttf-arphic-uming ttf-hanazono)
  • Configure sudo (%wheel ALL=(ALL) ALL)
  • Install yaourt
  • Allow to use ssh only to created user

Requirements

  • Installed python v2
  • Installed paramiko (pip install paramiko)

Run script

python2 run.py

Inspired by this article

archlinux_installer's People

Contributors

aliksend avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.