User Tools

Site Tools


linux:arch_workstation_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:arch_workstation_setup [2018/06/13 20:40]
bmiddha
linux:arch_workstation_setup [2021/05/02 21:36] (current)
Line 13: Line 13:
 <​file|/​etc/​pacman.d/​mirrorlist>​ <​file|/​etc/​pacman.d/​mirrorlist>​
 ## UIUC ## UIUC
-Server = http://cosmos.cites.illinois.edu/pub/​archlinux/​$repo/​os/​$arch+Server = http://mozart.acm.cs/mirror/​archlinux/​$repo/​os/​$arch
 </​file>​ </​file>​
  
Line 29: Line 29:
 <​code>​ <​code>​
 fallocate -l 6G /​mnt/​swapfile fallocate -l 6G /​mnt/​swapfile
-mkswap /​mnt/​swapfile 
 chmod 600 /​mnt/​swapfile chmod 600 /​mnt/​swapfile
 +mkswap /​mnt/​swapfile
 swapon /​mnt/​swapfile swapon /​mnt/​swapfile
 </​code>​ </​code>​
Line 38: Line 38:
 genfstab -U /mnt >> /​mnt/​etc/​fstab genfstab -U /mnt >> /​mnt/​etc/​fstab
 </​code>​ </​code>​
-replace /​mnt/​swapfile with /swapfile in fstab+replace /​mnt/​swapfile with /swapfile in /etc/fstab
 <​code>​ <​code>​
 /​swapfile ​    ​none ​     swap    ........ /​swapfile ​    ​none ​     swap    ........
Line 49: Line 49:
  
 ===== Timezone ===== ===== Timezone =====
 +<​code>​
 ln -sf /​usr/​share/​zoneinfo/​Region/​City /​etc/​localtime ln -sf /​usr/​share/​zoneinfo/​Region/​City /​etc/​localtime
 +</​code>​
 Set clock to localtime for Windows dualboot Set clock to localtime for Windows dualboot
 +<​code>​
 hwclock --systohc --localtime hwclock --systohc --localtime
 +</​code>​
  
 ===== Locale ===== ===== Locale =====
Line 60: Line 63:
 LANG=en_US.UTF-8 LANG=en_US.UTF-8
 </​file>​ </​file>​
-Genereate Locale + 
-locale-gen+===== Genereate Locale ​===== 
 +<​code>​locale-gen</​code>​
  
 ===== Hostname from DHCP ===== ===== Hostname from DHCP =====
Line 106: Line 110:
 [multilib] [multilib]
 Include = /​etc/​pacman.d/​mirrorlist Include = /​etc/​pacman.d/​mirrorlist
 +</​code>​
 +add acm repo 
 +<​code>​
 +[uicacm]
 +SigLevel = Optional TrustAll
 +Server = http://​mozart.acm.cs/​acm-packages/​archlinux/​
 </​code>​ </​code>​
 <​code>​ <​code>​
Line 135: Line 145:
 <​code>​ <​code>​
 sudo useradd -m -d /​opt/​acmguest acmguest sudo useradd -m -d /​opt/​acmguest acmguest
-sudo passwd ​acmguset+sudo passwd ​acmguest
 </​code>​ </​code>​
 <​file|/​etc/​sudoers.d/​acmguset-sudo>​ <​file|/​etc/​sudoers.d/​acmguset-sudo>​
Line 143: Line 153:
 ===== LDAP Setup ===== ===== LDAP Setup =====
 [[linux:​arch_ad_backend]] [[linux:​arch_ad_backend]]
-===== nfs home dir ===== +===== mount home dir ===== 
-[[linux:arch_home_directories]]+Install nfs-utils 
 +<​code>​ 
 +sudo pacman -S nfs-utils 
 +</​code>​ 
 +<​file|/​etc/​fstab>​ 
 +
 +
 +172.29.0.6:/acm-home /home nfs  noauto,​x-systemd.automount,​x-systemd.device-timeout=10,​timeo=14,​x-systemd.idle-timeout=1min 0 0 
 +172.29.0.7:/​pkgs-64 /​var/​cache/​pacman/​pkg nfs  noauto,​x-systemd.automount,​x-systemd.device-timeout=10,​timeo=14,​x-systemd.idle-timeout=1min 0 0 
 +</​file>​
linux/arch_workstation_setup.1528922425.txt.gz · Last modified: 2021/05/02 21:36 (external edit)