Skip to content

Latest commit

 

History

History
68 lines (57 loc) · 2.4 KB

new-system-setup.md

File metadata and controls

68 lines (57 loc) · 2.4 KB

Table of Contents generated with DocToc

Setup for WSL2 Development

Get sudo rights, setup terminal

  1. Add user to sudoers, www-data groups:
su -
usermod -a -G www-data damian && usermod -a -G sudo damian

Install apt applications

apt-get install sudo
sudo apt-get install -y curl pngcrush optipng tree tig htop gprename cowsay xclip build-essential apache2 git wireshark netcat docker mailutils openssl mercurial locate postfix mailutils libsasl2-2 ca-certificates libsasl2-modules subversion

Configure bash & git

git config --global user.name "Damian Taggart" && git config --global user.email && damian@taggart.consulting && git config --global core.filemode false && git config --global push.default simple
mkdir ~/{projects,libraries}
cd ~/projects && git clone https://github.com/attackant/bash.git
cat ~/projects/bash/user/.bashrc_additions >> ~/.bashrc
cp ~/projects/bash/user/.bash_aliases ~/.bash_aliases
source ~/.bashrc

Update current install

sudo aptup

Setup SSH

ssh-keygen -t rsa -C "damian@meowwolf.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
xclip -sel clip < ~/.ssh/id_rsa.pub # add to github, gitlab, bitbucket, etc

Manually configure applications:

nodejs via nvm:

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash # install nvm
nvm install stable
nvm alias default stable
npm install -g bower grunt-cli

Install external libraries

exlib && git clone git@github.com:elliotcondon/acf.git && git clone git@github.com:WordPress/WordPress.git

Install dev tools, web stack

TODO