Arch: Difference between revisions
Jump to navigation
Jump to search
(時 you too can haz keys #E0E) |
m (→Configure It: 1080p HD #EEE 岸) |
||
Line 81: | Line 81: | ||
== <span style="color: #0EE; font-size: 2em">Configure It</span> == | == <span style="color: #0EE; font-size: 2em">Configure It</span> == | ||
=== SSH === | |||
<pre> | <pre> | ||
# pacman -S openssh | # pacman -S openssh | ||
# systemctl start sshd | # systemctl start sshd | ||
# ststemctl enable sshd | # ststemctl enable sshd | ||
</pre> | |||
=== LXDE === | |||
<pre> | |||
# pacman -S xorg xorg-drivers xorg-xinit lxde | # pacman -S xorg xorg-drivers xorg-xinit lxde | ||
# echo "exec startlxde" > ~/.xinitrc | # echo "exec startlxde" > ~/.xinitrc | ||
# startx | # startx | ||
</pre> | |||
=== Resolution === | |||
<pre> | |||
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 | # pacman -S virtualbox python mosquitto zip unzip tigervnc firefox chromium | ||
libgl (1?) | libgl (1?) |
Revision as of 11:07, 13 November 2016
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
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
- 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