Giter VIP home page Giter VIP logo

archian's Introduction

Archian

This is a fully automated and interactive script for installing Arch. It contains a wide variety of options. To install use the following command after booting to the Arch ISO,

Use

curl -q https://raw.githubusercontent.com/eb3095/archian/master/web.sh | bash

or

pacman -Sy --noconfirm
pacman -S git --noconfirm
git clone https://github.com/eb3095/archian
cd archian
./install.sh

or

Use the ISO from the Archian Media section.

Available Bases

  • Desktop
  • BlackArch
  • Server

Available Package Selections

  • Virtualization + OVMF
  • Nvidia Drivers
  • AMDGPU Drivers
  • Vulcan
  • Wine
  • Developement tools
  • Desktop Applications

Available Desktops

  • KDE
  • Enlightenment
  • LXDE
  • XFCE
  • None

Scripted Installs

archian.json

You can now script the install entirely with archian.json. An example is available in templates/example.json. This defines everything before hand about the install process. Package configuration is exclusionary but you can disable all packages. Black arch is for the blackarch install only.

The entire install process is logged to /var/log/arch-install.log. The install process is only logged when scripted. As of now I do not have a proper work around for stdout/stderr redirection that doesn't break dialog.

This can also be configured in the ISO boot menu via the cmdline,

archian_json=https(s)|ftp://url

or

archian_json=/path/to/file

or

override the domain name "http://installer.archian.com" and generate (or provide a static) archian.json from there.

Note the "files" option in the json format. This is to provide a link to download the rootfs directory and scripts. This needs to be a zip file as of right now. The structure of this should be as follows.

rootfs/
  root/
  etc/
archian-boot.sh
archian-post.sh
archian-pre.sh

archian-boot.sh

The boot script is a bash script named archian-boot.sh. This executes on first boot after the archian boot process runs. The boot script is entirely optional. This does not require archian.json. Everything is logged to /var/log/archboot.log.

archian-pre.sh

This script is executed before the chroot or any action is taken. Useful for special installed env changes. This script is optional. This does not require archian.json.

archian-post.sh

This script is executed after everything is done, while still chrooted, but before the installer is removed. Use the following to install packages via trizen from repo or aur. Be warned this isn't verified and just confirms everything. This script is optional. This does not require archian.json. This is logged to /var/log/archpost.log

install_pkgs nano vi emacs

rootfs

Files in rootfs are copied over, overwriting anything else in there. If you need anything more then that, do it in the scripts.

These files simply need to be in the folder you are in when you execute the curl for web.sh. If you git clone it your self just move them into the archian folder's rootfs before running install.sh. Same with the ISO if you build it manually.

Web

./
  archian.json
  archian-boot.sh
  archian-post.sh
  rootfs/

Git / ISO

archian.json
archian-boot.sh
archian-post.sh
archian/
  install.sh
  rootfs/
  bin/
  lib/
  ...

Archian Media

You can find the latest ISO download from the following link,

http://45.77.146.64/

If you would like to build your own, the creation script can be found here,

https://github.com/vultr/archian-iso

Build tool for PXE comming soon.

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.