mkdir -p ~/.ssh/socks scp sam@opal.ucm.dev:.ssh/* /home/sam/.ssh/ su - adduser sam staff adduser sam www-data echo '%staff ALL = (ALL) NOPASSWD: ALL' > /etc/sudoers.d/local cat < /etc/X11/xorg.conf Section "ServerFlags" Option "DontZap" "false" EndSection Section "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "yes" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection END # log out and log in again wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo apt install ./google-chrome-stable_current_amd64.deb rm google-chrome-stable_current_amd64.deb ln -s /usr/bin/google-chrome /usr/local/bin/chrome sudo apt install git sudo apt install devscripts # this is slower, pulls in many packages? # git config --global user.email sam@ucm.dev # git config --global user.name "Sam Watkins" mkdir -p ~/code cd ~/code git clone sam@ucm.dev:code/arcs || true cd arcs make sudo make devinst arcs -i git config --add arcs.peers sam@ucm.dev:code/arcs cd .. ssh ucm.dev # for connection (for A in ucm-tools ucm-packages profile brace cz Xtools ansible; do arcs -c sam@ucm.dev:code/$A; done) cd ucm-packages ./ucm-install ucm-core cd arcs -c sam@ucm.dev:my mkdir etc cd etc arcs -c sam@ucm.dev:etc/private cd ~/code/profile ./setup sam-new cd ~/code/brace exe/brb cd ~/code/ucm-tools ./configure make make devinst sudo dpkg-reconfigure locales # add en_US UTF8 and make default cd ~/code/Xtools make make devinst cd ~/code/ucm-tools/bin.x11/ ./xfce4-keyboard-shortcuts-setup #cd #curl -sL https://deb.nodesource.com/setup_15.x -o nodesource_setup.sh #sudo bash nodesource_setup.sh sudo apt-get install -y nodejs nodejs-doc- ### To install the Yarn package manager, run: # curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - # echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list # sudo apt-get update && sudo apt-get install yarn cd ln -s code/ucm-tools/bin b ln -s code/ucm-tools/sbin sb ln -s code/ucm-tools/sh sh ln -s code/ucm-tools t ln -s code/ucm-packages pkg ln -s my/snip snip # install docker curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io sudo adduser sam docker git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim echo yq >> /etc/python3/requirements.txt ansible-playbook ~/code/ansible/ansible.yml ansible-playbook ~/code/ansible/python.yml ulb ~/code/ansible/ansible-* which pydoc || ln -s `which pydoc3` /usr/local/bin/pydoc