-
-
Save CerebralMischief/6be9f0db7d49b0875f7cd7cac4413f0a to your computer and use it in GitHub Desktop.
Revisions
-
CerebralMischief revised this gist
Aug 24, 2018 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,8 +20,8 @@ Use `sed` to uncomment the wheel group from sudoers, then hijack the EDITOR vari Create a non-root user ---------------------- useradd -m -g users -G wheel -s /usr/bin/zsh cerebral passwd cerebral (If running under VMWare) Install VM tools ------------------------------------------ @@ -66,10 +66,10 @@ Install dev tools for AUR Install Yaourt -------------- Assuming the user cerebral has created, is in the "wheel" group, and sudoers has been set up as above. Package builds should NOT be done as root. su cerebral cd ~ mkdir builds && cd builds -
kevinwright revised this gist
Oct 8, 2013 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,10 +39,17 @@ Start + Enable the daemon systemctl start vmtoolsd systemctl enable vmtoolsd (optional) Sync time to the host, alternatively set up NTP vmware-toolbox-cmd timesync enable NTP --- pacman -S ntp systemctl start ntpd systemctl enable ntpd Install webmin -------------- -
kevinwright revised this gist
Oct 8, 2013 . 1 changed file with 59 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,28 @@ OpenSSH daemon -------------- pacman -S openssh systemctl start sshd systemctl enable sshd.socket Sudoers ------- pacman -S sudo Use `sed` to uncomment the wheel group from sudoers, then hijack the EDITOR variable to copy the modified version back via visudo. sed 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers > /etc/sudoers.new export EDITOR="cp /etc/sudoers.new" visudo rm /etc/sudoers.new Create a non-root user ---------------------- useradd -m -g users -G wheel -s /bin/bash kevin passwd kevin (If running under VMWare) Install VM tools ------------------------------------------ @@ -10,20 +35,48 @@ Check pacman output for the dkms version that needs to be installed, then Start + Enable the daemon cat /proc/version > /etc/arch-release systemctl start vmtoolsd systemctl enable vmtoolsd Sync time to the host vmware-toolbox-cmd timesync enable Install webmin -------------- pacman -S webmin systemctl start webmin systemctl enable webmin Install dev tools for AUR ------------------------- pacman -S --needed base-devel pacman -S wget Install Yaourt -------------- Assuming the user kevin has created, is in the "wheel" group, and sudoers has been set up as above. Package builds should NOT be done as root. su kevin cd ~ mkdir builds && cd builds wget https://aur.archlinux.org/packages/pa/package-query/package-query.tar.gz tar -xvzf package-query.tar.gz cd package-query makepkg -s sudo pacman -U package-query-*.xz cd ~/builds wget https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz tar -xvzf yaourt.tar.gz cd yaourt makepkg -s sudo pacman -U yaourt-*.xz exit -
kevinwright renamed this gist
Oct 8, 2013 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ (If running under VMWare) Install VM tools ------------------------------------------ -
kevinwright created this gist
Oct 8, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ (If running under VMWare) Install VM tools ------------------------------------------ pacman -S open-vm-tools pacman -S open-vm-tools-dkms Check pacman output for the dkms version that needs to be installed, then dkms add open-vm-tools/9.4.0 Start + Enable the daemon systemctl start vmtoolsd systemctl enable vmtoolsd cat /proc/version > /etc/arch-release Sync time to the host vmware-toolbox-cmd timesync enable Create a non-root user ---------------------- Install dev tools ----------------- Install Yaourt --------------