Setup Linux Ubuntu For Web Development

Install Node.js

sudo apt-get install curl

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

sudo apt-get install -y nodejs

Install LAMP stack

sudo apt-get install apache2

sudo apt-get install php7.0 libapache2-mod-php7.0

sudo apt-get install mysql-server

sudo /etc/init.d/apache2 restart

Install phpmyadmin

sudo apt-get install phpmyadmin

sudo nano /etc/php/7.0/apache2/php.ini

Uncomment extension=msql.so

sudo /etc/init.d/apache2 restart
sudo nano /etc/apache2/apache2.conf

At the bottom of the file write:

Include /etc/phpmyadmin/apache.conf

Save it and then:

sudo /etc/init.d/apache2 restart

Install Filezilla

sudo apt-get install filezilla

Install Gimp

sudo add-apt-repository ppa:otto-kesselgulasch/gimp

sudo apt-get update

sudo apt-get install gimp

Install 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 PhpStorm

Download linux version from https://www.jetbrains.com/phpstorm/download/

sudo tar xf PhpStorm-*.tar.gz -C /opt/

cd /opt/PhpStorm-*/bin

./phpstorm.sh
License server: http://www.aku.vn/idea

Leave a Reply

Your email address will not be published. Required fields are marked *