Skip to content

Instantly share code, notes, and snippets.

@AshikNesin
Last active April 2, 2019 03:01
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AshikNesin/7a45761a16f40b45f342b2a3c71c4513 to your computer and use it in GitHub Desktop.
Setup LAMP Stack Ubuntu 16
# Install Apache
sudo apt-get update
sudo apt-get install apache2 -y
# Install PHP7
sudo apt-get -y install php7.0 libapache2-mod-php7.0
sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 php7.0-mysql php7.0-fpm -y
# Other packages which might be useful
sudo apt-get install php-mcrypt php7.0-soap php7.0-mbstring php7.0-intl php7.0-xml php7.0-curl php7.0-gd -y
# Install MySQL Server
sudo apt-get install mysql-server -y
# phpMyAdmin
sudo apt-get install phpmyadmin apache2-utils -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment