Last active
September 22, 2018 18:27
-
-
Save aou/25e54b5a402f41d3e66b5e91acaca905 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
#!/bin/bash +x | |
sudo apt -y install vim-gtk emacs25 rbenv ruby-build redis-server \ | |
wget htop man-db bash-completion openjdk-8-jre \ | |
libssl1.0-dev nodejs dolphin dolphin-plugins \ | |
plasma-integration tmux silversearcher-ag \ | |
python3-pip python3-tk keychain rclone \ | |
locales-all | |
if [ $? -ne 0 ] | |
then echo "error in apt install" | |
fi | |
cat lib/bashrc | tee -a ~/.bashrc | |
cat lib/profile | tee -a ~/.profile | |
ln -s ~/env_aou/bin ~/bin | |
ln -s ~/env_aou/env/.tmux.conf_ubuntu ~/.tmux.conf | |
ln -s ~/env_aou/env/.tmux ~/.tmux | |
ln -s ~/env_aou/emacs ~/.emacs | |
ln -s ~/env_aou/emacs.d ~/.emacs.d | |
ln -s ~/env_aou/env/.screenrc ~ | |
ln -s ~/env_aou/env/.vim ~ | |
ln -s ~/env_aou/env/.vimrc ~ | |
ln -s ~/env_aou/env/.wgetrc ~ | |
cd ~/env_aou | |
git config --local user.name "My Name" | |
git config --local user.email "My@Email.com" | |
# tilix | |
echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/stretch-backports.list | |
sudo apt update | |
sudo apt -y install tilix | |
if [ $? -ne 0 ] | |
then echo "error in apt install" | |
fi | |
sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.sh | |
# google chrome | |
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list | |
sudo apt update | |
apt -y install google-chrome-stable | |
if [ $? -ne 0 ] | |
then echo "error in apt install" | |
fi | |
# ruby | |
rbenv init | |
rbenv install 2.3.3 | |
# work git stuff goes here | |
mkdir -p ~/local/ | |
cd ~/local | |
tar -xvzf ~/env_aou/setup/debs/elasticsearch-2.4.0.tar.gz | |
sudo apt install ~/env_aou/setup/debs/mysql-apt-config_0.8.10-1_all.deb | |
sudo apt update | |
sudo apt install mysql-server mysql-client libmysqlclient-dev | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment