Last active
August 21, 2018 07:06
-
-
Save sangpt/b80a11909d8bfbbc7d9f23b4cd9ea869 to your computer and use it in GitHub Desktop.
My software on Ubuntu
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
# install & config git | |
sudo apt install git | |
git config --global color.ui true | |
git config --global user.name "[email protected]" | |
git config --global user.name "sangpt" | |
git config --global user.email "[email protected]" | |
# config git ssh and paste the result to https://github.com/settings/keys | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
cat ~/.ssh/id_rsa.pub | |
echo 'Paste the result above to https://github.com/settings/keys' | |
# install nodejs | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt install curl | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
# install theme | |
sudo apt-get install unity-tweak-tool | |
sudo add-apt-repository ppa:noobslab/icons | |
sudo apt-get update | |
sudo apt-get install ultra-flat-icons | |
# install google chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list | |
sudo apt-get update | |
sudo apt-get install google-chrome-stable | |
# install vscode | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
sudo apt-get install apt-transport-https | |
sudo apt-get update | |
sudo apt-get install code # or code-insiders | |
# install mysql | |
sudo apt-get 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
How to use:
curl -sL https://gist.githubusercontent.com/sangpt/b80a11909d8bfbbc7d9f23b4cd9ea869/raw/298fc3a97e233d16f6f3363d961b561b37171b68/ubuntu.sh | sudo -E bash -