Arch

From Noisebridge
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

Make a key

[green@01h arch]$ dd bs=4M if=archlinux-2016.11.01-dual.iso of=/dev/sdh status=progress && sync

or

[noise@android-f31e3654c04ba949:/xfer/arch]# dd bs=4M if=archlinux-2017.01.01-dual.iso of=/dev/sdg status=progress && sync

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

SSH

# pacman -S openssh
# systemctl start sshd
# ststemctl enable sshd

LXDE

# pacman -S xorg xorg-drivers xorg-xinit lxde
# echo "exec startlxde" > ~/.xinitrc
# startx

Resolution

cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA1 1920x1080_60.00
<pre>

=== Misc ===
<pre>
	# pacman -S virtualbox python mosquitto zip unzip tigervnc firefox chromium
		libgl (1?)
		virtualbox (2)
		libx264 (1)
		ttf-font (1)

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



pastebin it

<somthing> 2>&1 | curl -F c=@- https://ptpb.pw