Arch

From Noisebridge
Revision as of 11:47, 10 November 2016 by C0DE (talk | contribs) (→‎Configure It)
Jump to navigation Jump to search

Arch is awesome you should try it, here's how...

Try It

Download it: https://www.archlinux.org/download/ try teh torrent, it's hella well seeded.

Boot from iso, either on compatible hardware, or as a VirtualBox.

Congratulations, you're now running Arch.


Install It

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

  1. 010 now it be green ?

I'm a repliCAN!

as in i can & will replicate

"when in doubt, reboot"

file got owned by root, chown it back

started vm with archlinux iso as optical

boot into Arch x64

root@archiso ~ # timedatectl set-ntp true
root@archiso ~ # fdisk /dev/sda
	n (use all defaults)
	a (toggle bootable flag to enabled)
	w (writes changes and exits
root@archis ~ # mkfs.ext4 /dev/sda1
root@archis ~ # mount /dev/sda1 /mnt
root@archis ~ # pacstrap /mnt base
root@archis ~ # genfstab -U /mnt >> /mnt/etc/fstab
root@archis ~ # arch-chroot /mnt

chroot # ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
chroot # hwclock --systohc
chroot # nano /etc/locale.gen (uncomment en_US.UTF-8 and ISO)
chroot # locale-gen
chroot # echo LANG=en_US.UTF-8 > /etc/locale.conf
chroot # echo mousepad-aqua > /etc/hostname
chroot # passwd
	aqua
chroot # pacman -S grub
chroot # grub-install --target=i386-pc /dev/sda
chroot # grub-mkconfig -o /boot/grub/grub.cfg
chroot # pacman -S intel-ucode
chroot # grub-mkconfig -o /boot/grub/grub.cfg
chroot # exit

[remove install media]

root@archis ~ # reboot

login as root

[root@localhost ~]# ip link (note ethernet name)
[root@localhost ~]# nano /etc/netctl/ethernet-dhcp 
	Description='DHCP connection'
	Interface=enp0s3
	Connection=ethernet
	IP=dhcp
[root@localhost ~]# netctl start ethernet-dhcp
[root@localhost ~]# netctl enable ethernet-dhcp
[root@localhost ~]# pacman -S sudo
[root@localhost ~]# visudo (enable wheel group w/password save == esc :x)
[root@localhost ~]# useradd -m -G wheel -s /bin/bash h4x0r
[root@localhost ~]# passwd h4x0r (guest)
[root@localhost ~]# pacman -Syyu (sync databases)


Configure It

# pacman -S openssh
# systemctl start sshd
# ststemctl enable sshd
# pacman -S xorg-xinit lxde
# echo "exec startlxde" > ~/.xinitrc
# startx


misc...
	# pacman -S virtualbox python mosquitto zip tigervnc xorg firefox chromium
		libgl (1?)
		virtualbox (2)
		libx264 (1)
		ttf-font (1)

	# pacman -S noto-fonts-cjk noto-fonts-emoji
	# pacman -S fossil git svn