Code Monkey home page Code Monkey logo

archvm's Introduction

Arch VM

This repo contains a set of scripts to do the basic provisioning for my Arch Linux development VM. The scripts only perform provisioning for the base OS. Separate scripts (stored elsewhere) are used for full setup.

Bootable Image

Download latest Arch Linux image:

Architecture Image Notes
x86_64 Link
aarch64 Link The image filename matches the format archboot-YYYY.MM.DD-HH.SS-latest-aarch64.iso.

Set up the VM

Ensure you're running the latest version of the virtualisation software (e.g. Virtual Box or Parallels).

It's important that the VM is set up to use UEFI. Parallels does this by default. Virtual Box must be configured to boot with UEFI.

The VM should be given name archvmYYYYMMDD.

Resource settings:

Setting Home Work
CPU 2 6
Memory 2048MB 8192MB
Disk 64GB 250GB

Invoke install script

Once the VM boots up into the live installer, execute the following steps by typing them manually:

loadkeys dvorak
curl -L tinyurl.com/52f3wz3n | bash

Forward ports

The port 22DD on the host should be forwarded to 22 on the guest (for SSH).

In VMware Fusion, this can be done by configuring a custom network named "NAT w/ Ports", which contains the appropriate forwarding rule. The VM should then be configured to use that network. To get the IP address of the VM, use the ip addr command inside the VM itself.

TODOs

  • Does using the "larger" image really matter? All things being equal, smaller image is better. Need to try out both (I've been using the "larger" one).

  • Work out how to install from the generic ARM images.

  • Strip anything from the install scripts that aren't actually needed.

  • Add comments for why everything is needed.

  • Use notices rather than comments.

archvm's People

Contributors

peterstace avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

neitsab

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.