Created
April 1, 2018 02:36
-
-
Save skippednote/0501b5e72c596ae923cf38161102c7cb to your computer and use it in GitHub Desktop.
This file contains 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
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install zsh -y | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
ln -sfn /mnt/c/Users/skipp/r r | |
cd r/personal/dotfiles | |
ln -sf ~/r/personal/dotfiles/zshrc ~/.zshrc | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
ln -sfn $PWD/gitconfig $HOME/.gitconfig | |
ln -sfn $PWD/gitignore_global $HOME/.gitignore_global | |
ln -sfn $PWD/gitmessage $HOME/.gitmessage | |
sudo add-apt-repository -y ppa:ondrej/php | |
sudo apt-get update -y | |
sudo apt-get install -y apache2 | |
sudo apt-get install -y php7.1 php7.1-xml php7.1-mbstring php7.1-curl php7.1-mcrypt php7.1-bz2 php7.1-zip php7.1-mysql php7.1-gd php7.1-xdebug -y | |
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer | |
sudo chown -R skippednote /home/skippednote/.composer | |
sudo apt-get install mysql-server | |
echo "AcceptFilter http none\nAcceptFilter https none " | sudo tee -a /etc/apache2/apache2.conf | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash | |
sudo apt-get install nodejs -y | |
sudo apt-get install build-essential xclip-y | |
composer global require drush/drush | |
sudo a2enmod ssl | |
sudo mkdir /opt/crts | |
sudo chown -R skippednote /opt/crts | |
openssl req -new -x509 -days 365 -sha1 -newkey rsa:1024 -nodes -keyout server.key -out server.crt -subj '/O=Company/OU=Department/CN=www.example.com' | |
sudo ln -sfn /mnt/c/Users/skipp/r /var/www/r | |
rm -rf ~/.ssh | |
ln -sfn /mnt/c/Users/skipp/.ssh ~/.ssh | |
sudo apt-add-repository ppa:ansible/ansible && sudo apt-get update | |
sudo apt-get install ansible hugo | |
curl -O https://releases.hashicorp.com/vagrant/2.0.2/vagrant_2.0.2_x86_64.deb | |
sudo dpkg -i vagrant_2.0.2_x86_64.deb | |
gpg --gen-key | |
gpg --list-secret-keys --keyid-format LONG | |
gpg --armor --export AF176AAB66BD13D1 > key.txt | |
gpg --list-key | |
git config --global user.signingkey | |
gpg --import (use lastpass) | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce | |
sudo mkdir /c | |
sudo adduser skippednote docker | |
sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
sudo adduser skippednote docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment