Giter Site home page Giter Site logo

jsntn / spartan-arch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abrochard/spartan-arch

1.0 1.0 0.0 11.88 MB

Collections of script to create a minimal dev environment based on Arch Linux.

License: GNU General Public License v3.0

Shell 100.00%

spartan-arch's Introduction

spartan-arch

This is a set of scripts designed to automate the creation of a minimal VM running Arch Linux and i3/Emacs as a Windows manager. This VM can be used as a file editor for the host via folder sharing and as a development environment. Currently, the VM costs about 90MB of RAM to run.

Requirements for Virtual Box VM

  • 8GB of space on disk
  • 1GB of RAM
  • Clipboard sharing in both directions enabled
  • Two shared folders org and workspace auto-mount and permanent

Installation

Boot the VM on archlinux iso and then run the command

wget https://goo.gl/ZPAMtT -O install.sh
bash install.sh [user] [password] [fast]

All arguments are optional and will be prompted for if not passed on invocation:

  • [user] is your username
  • [password] is what you want the root and user password to be
  • [fast] is boolean 1 or 0 and controls using rankmirrors during set up which will be slow

The install.sh script will run and then reboot the computer once done.

You want to boot on disk this time and eject the cd from the VM.

Login as your user then run the command

bash post-install.sh

The script will ask for the root password a couple of times.

Usage

Once the VM is booted, log in as your user and call startx to start Xorg.

TODO

  • dhcpcd on boot
  • ssh-keys generation

spartan-arch's People

Contributors

abrochard avatar

Stargazers

Jason TIAN avatar

Watchers

 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.