Created
August 7, 2014 21:35
-
-
Save Tantas/efda9fa41ae83d240f21 to your computer and use it in GitHub Desktop.
Setup a comfortable working environment on ArchLinux.
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 characters
# If ArchLinux Rasberry Pi, SSH into the machine with root/root | |
ssh root@<ip-address> | |
# Apply updates | |
pacman -Syu | |
# Create a user to work under | |
useradd -m -G wheel -s /bin/bash joe | |
passwd joe | |
# Create ability to sudo | |
pacman -S sudo vim | |
# Allow all users with group sudo to sudo | |
vim /etc/sudoers | |
# Uncomment line | |
# %sudo ALL=(ALL) ALL | |
# Create the group sudo and add user joe to it | |
groupadd sudo | |
usermod -aG sudo joe | |
# Logout and login as the newly created user | |
exit | |
ssh joe@<ip-address> | |
# Create a comfortable environment | |
pacman -S rsync git parallel bc tree | |
git clone https://github.com/Tantas/dotfiles.git | |
cd ./dotfiles/ | |
chmod +x bootstrap.sh | |
yes | ./bootstrap.sh | |
cd ../ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment