Skip to content

Instantly share code, notes, and snippets.

@hakimkal
Created November 2, 2018 20:48
Show Gist options
  • Select an option

  • Save hakimkal/4e893693790ac60a0cca692bb1ea850e to your computer and use it in GitHub Desktop.

Select an option

Save hakimkal/4e893693790ac60a0cca692bb1ea850e to your computer and use it in GitHub Desktop.
Linux setup
TOOLS :
- Install Terminator
http://gnometerminator.blogspot.ca/p/introduction.html
- Install Boot-repair
https://help.ubuntu.com/community/Boot-Repair
http://doc.ubuntu-fr.org/boot-repair
- Install Git
https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-14-04
- Instal Oh-My-Zsh :
http://whaaat.com/content/update-shell-zsh-osx-unix
I use "Muse" theme
- Install Java
https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
- Install Vagrant + Virtual Box
http://www.olindata.com/blog/2014/07/installing-vagrant-and-virtual-box-ubuntu-1404-lts
https://www.digitalocean.com/community/tutorials/how-to-install-vagrant-on-a-vps-running-ubuntu-12-04
- Install Sublime Text
http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3
- Install PHPStorm
http://wiki.jetbrains.net/intellij/Installing_and_running_PHPStorm_on_Ubuntu
- install VPN
sudo apt-get install openvpn
sudo apt-get install network-manager-openvpn
SERVER :
- Install LAMP :
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04
- install nGinx :
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-14-04-lts
- Install PhpMyAdmin :
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04
- Change Mysql Folder
http://askubuntu.com/questions/137424/moving-mysql-datadir
- Install Ruby
https://gorails.com/setup/ubuntu/14.04
TODO
replace /var/www folder with symlink to /home/user/www-dev
~ ᐅ mkdir www-dev
~ ᐅ sudo rm -rf /var/www
~ ᐅ sudo ln -s ~/www-dev/ /var/www
replace /etc/apache2/sites-available with symlink to /home/user/etc/apache2/sites-available
~ ᐅ sudo mv /etc/apache2/sites-available /etc/apache2/sites-available-old/
~ ᐅ sudo ln -s ~/etc/apache2/sites-available /etc/apache2/sites-available
replace /etc/apache2/sites-enabled with symlink to /home/user/etc/apache2/sites-enabled
~ ᐅ sudo mv /etc/apache2/sites-enabled /etc/apache2/sites-enabled-old/
~ ᐅ sudo ln -s ~/etc/apache2/sites-enabled /etc/apache2/sites-enabled
move hosts file
~ ᐅ cp /etc/hosts ~/etc/hosts
~ ᐅ sudo rm /etc/hosts
~ ᐅ sudo ln -s ~/etc/hosts /etc/hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment