GithubHelp home page GithubHelp logo

archlinux-vbox-setup's Introduction

archlinux-vbox-setup

Setup VirtualBox ArchLinux Guest with XMonad, Emacs, rxvt-unicode, oh-my-zsh, tmux customizations from https://github.com/sizur/dotfiles

Installation

  1. Get latest VBox from https://www.virtualbox.org/wiki/Downloads
  2. Check checksum
  3. Get latest ISO from https://www.archlinux.org/download/
  4. Check checksum
  5. Create new VM without EFI support
  6. Boot the new VM
  7. If you are on Wifi, setup connection with https://wiki.archlinux.org/index.php/Wireless_network_configuration
  8. Run HOSTNAME=<hostname> NAMEUSER=<username> zsh -c "$(wget -O - https://goo.gl/mEkAm9)"
  9. The installer will ask for new root and NAMEUSER passwords
  10. Once presented with oh-my-zsh successful installation, type exit.
  11. When the installer will restart, make sure you dont boot from the ISO.

Variables

  • NAMEUSER: Username. Defaults to sizur. It's called NAMEUSER to avoid name collision of existing env vars.
  • DEVICE: What device to install to. Defaults to /dev/sda. ATTENTION: this will rease your data!
  • SWAP_GB: Size of swap partition in GiB. Defaults to 2. Assuming no hybernation.
  • ROOT_GB: Size of the Root partition in GiB. Defaults to 20.
  • HOSTNAME: Defaults to arch-vbox.
  • DOMAIN : Used to resolve naked hostnames. Defaults to none. Can list more than one using a string with a space separator.
  • TIMEZONE: Defaults to America/Los_Angeles. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  • LOCALE: Defaults to en_US.UTF-8

Usage

After login, type startx to enter the XMonad.

Modifiers:

  • W is the Windows key.
  • C is the Ctrl key.
  • M is the Alt key.
  • S is the Shift key.

The following are my most frequently used commands.

XMonad

  • W-1, W-2, etc... Switches XMonad desktops.
  • W-S-Enter opens a new terminal.
  • W-p runs dmenu so you can execute any windowed application.
  • W-S-c kills current window.
  • M-C-c copies current selection to clipboard.
  • W-Tab focus next window.
  • W-S-Tab focus previous window.
  • W-Space change to next layout.
  • W-q reload xmonad configuration.
  • W-S-q exit xmonad.

archlinux-vbox-setup's People

Contributors

sizur 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.