User Tools

Site Tools


Sidebar

user:ahought2:start

This is an old revision of the document!


LDI0 - Setting up an Arch-Linux Distro

Download page: https://www.archlinux.org/download/ Installation Guide: https://wiki.archlinux.org/index.php/Installation_guide

Save the iso file and bootstrap files to a USB.

1# dmesg to find the /dev/sdx (for example my usb was /dev/sdb)

2# dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

3# ping archlinux.org (to check for internet connection)

4# mkfs.ext4 /dev/sda1 to partition the root drive to sda1 with ext4 filesystem

5# pacstrap /mnt base (to install base packages)

6# genfstab -U /mnt » /mnt/etc/fstab

7# arch-chroot /mnt (change into root)

8# ln -s /usr/share/zoneinfo/Region/City /etc/localtime (/Region/City = /America/New_York)

9# hwclock –systohc

10# locale-gen (to generate the locales[stuff like keyboard layouts and date order and such])

11# hostnamectl set-hostname myhostname (make sure /etc/hostname exists[also go into /etc/hosts and add the hostname to the list])

12# passwd (to change root password)

13# grub-install –target=i386-pc /dev/sdx

14# grub-mkconfig -o /boot/grub/grub.cfg

15# exit

16# unmount /mnt

17# reboot

18# useradd -m -g initial_group -G additional_groups -s login_shell username

19# pacman -S plasma-meta (this downloads the KDE Plasma desktop environment)

20# systemctl enable sddm.service ( sym link and enables sddm display manager)

21# install xorg-xinit xf86-video-intel xterm (then reboot)

22# pacman -S firefox

23# pacman -S i3

to change root use: arch-chroot

if stuck on loading GUI try [alt+F2]

once logged in as user use “su” to switch to root with the root password.

VirtualBox

https://wiki.archlinux.org/index.php/VirtualBox

install virtualbox package install linux-lts-headers package

install nginx package

nginx web server on Debian VirtualBox

mediawiki

hpc1

user/ahought2/start.1503435908.txt.gz · Last modified: 2017/08/22 21:05 by ahought2