Install JDK Java Ubuntu

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer



LAMP with phpMyAdmin on Ubuntu

  1. Install Apache2

    sudo apt-get install apache2

  2. Install MySQL

    sudo apt-get install mysql-server php5-mysql
    sudo mysql_install_db
    sudo mysql_secure_installation

  3. Install PHP

    sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

    opt. tell apache2 to look for index.php before index.html by editing


  4. Install phpMyAdmin for apache2

    sudo apt-get install phpmyadmin php-gettext php-mbstring

    hit ‘space’ to select apache when asked

    sudo phpenmod mcrypt
    sudo phpenmod mbstring

  5. Restart apache2

    sudo systemctl restart apache2