Last active
April 6, 2017 08:09
-
-
Save madeindjs/891c167eb864f09439a23f9b26c3bca7 to your computer and use it in GitHub Desktop.
Basic setup for Linux mint developper desktop
This file contains hidden or 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 | |
green='\e[0;32m' | |
darkred='\e[1;31m' | |
lightblue='\e[1;34m' | |
default='\033[0m' | |
echo -e "${darkred}***Bootstrap Linux Mint setup***${default}" | |
echo -e "${green}* update packages${default}" | |
sudo apt-get update | |
sudo apt-get upgrade | |
echo -e "${green}* install Apache & PHP${default}" | |
sudo apt-get install apache2 | |
sudo apt-get install php php-mysql php-gd php-mbstring php-dompdf phpunit | |
# TODO: Install docker | |
echo -e "${green}* install MySQL${default}" | |
sudo apt-get install mysql-server-5.5 | |
sudo /etc/init.d/mysql start | |
# TODO: install Ruby | |
echo -e "${green}* install Crystal${default}" | |
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 09617FD37CC06B54 | |
sudo su | |
sudo echo "deb https://dist.crystal-lang.org/apt crystal main" > /etc/apt/sources.list.d/crystal.list | |
exit | |
sudo apt-get update | |
sudo apt-get install crystal | |
echo -e "${green}* install Git & Git Flow${default}" | |
sudo apt-get install git git-flow vim | |
git config --global user.name "Alexandre Rousseau" | |
git config --global user.email "[email protected]" | |
git config --global alias.st status | |
echo -e "${green}* install Arc Theme${default}" | |
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_15.04/ /' >> /etc/apt/sources.list.d/arc-theme.list" | |
sudo apt-get update | |
sudo apt-get install arc-theme | |
echo -e "${green}* install Sublime Text${default}" | |
wget https://download.sublimetext.com/sublime-text_build-3126_amd64.deb | |
sudo dpkg -i sublime-text_build-3126_amd64.deb | |
echo -e "${green}* install Netbeans${default}" | |
wget http://download.netbeans.org/netbeans/8.2/final/bundles/netbeans-8.2-php-linux-x64.sh | |
sudo chmod 777 netbeans-8.2-php-linux-x64.sh | |
./netbeans-8.2-php-linux-x64.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment