Forked from przbadu/Setup-ubuntu-for-web-development.sh
Created
December 18, 2019 03:46
-
-
Save amaurycatelan/f55b64efaef0ebf5798da1b1404e21d2 to your computer and use it in GitHub Desktop.
Setting up ubuntu for web development for first time
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/sh | |
# Author: przbadu | |
# email: [email protected] | |
# github: github.com/przbadu | |
# update ubuntu | |
sudo apt-get update | |
# install vim, git, curl, tmux | |
sudo apt-get install vim git curl tmux | |
# install the silver searcher | |
sudo apt-get install silversearcher-ag | |
# install ctags | |
# wget https://nchc.dl.sourceforge.net/project/ctags/ctags/5.8/ctags-5.8.tar.gz | |
sudo apt-get install exuberant-ctags | |
# install python-software-properties and other required tools | |
sudo apt-get install python-software-properties | |
sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip | |
# install zsh | |
sudo apt-get install zsh | |
chsh -s /bin/zsh | |
# NOTE: You might need to restart your system after installing zsh to take effect | |
# install oh-my-zsh | |
curl -L http://install.ohmyz.sh | sh | |
# install jdk/jre 8 | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get install oracle-java8-installer | |
sudo apt-get install oracle-java8-set-default | |
# download and install google chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable-current-amd64.deb | |
rm google-chrome-stable_current_amd64.deb | |
# install nvm (node version manager) | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash | |
echo "export NVM_DIR=\"$HOME/.nvm\"" >> ~/.zshrc | |
echo "[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\" # This loads nvm" >> ~/.zshrc | |
# install latest node | |
nvm install node | |
# setting up vim, tmux, etc dotfiles | |
# Setup RCM (for more info: https://github.com/thoughtbot/rcm) | |
wget -qO - https://apt.thoughtbot.com/thoughtbot.gpg.key | sudo apt-key add - | |
echo "deb http://apt.thoughtbot.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/thoughtbot.list | |
sudo apt-get update | |
sudo apt-get install rcm | |
# clone our dotfiles (forked from thoughtbot/dotfiles) | |
mkdir -p ~/Dropbox | |
git clone [email protected]:przbadu/dotfiles.git ~/Dropbox/dotfiles | |
cd ~/dotfiles | |
env RCRC=$HOME/dotfiles/rcrc rcup | |
rcup | |
# you might need to configure your git global config and others, please read README file | |
# https://github.com/przbadu/dotfiles for further configuration | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment