Skip to content

Instantly share code, notes, and snippets.

@zelon88
Created April 7, 2018 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zelon88/6ef39d0ba651b9b3de06ac6bbb08a35b to your computer and use it in GitHub Desktop.
Save zelon88/6ef39d0ba651b9b3de06ac6bbb08a35b to your computer and use it in GitHub Desktop.
Debian LAMP Server Install Instructions
A solid install process for a capable LAMP server, adapted from https://https://github.com/zelon88/HRCloud2/How-To-Install-HRCloud2.txt.
-----STEP 1 - INSTALL APACHE 2.4-----
-sudo apt-get update
-sudo apt-get install apache2
-sudo apt-get install curl
--------------------------------------------------
-----STEP 2 - INSTALL MYSQL------
-sudo apt-get install mysql-server
-sudo apt-get install mysql-client
-sudo mysql_secure_installation
-sudo mysql -u root -p
-CREATE DATABASE database1;
-exit
**WRITE DOWN THE MYSQL ROOT PASSWORD AND DATABASE NAME!!!
--------------------------------------------------
-----STEP 3 - INSTALL PHP7.1 & PLUGINS-----
-sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
-sudo apt-get install php-all-dev
-sudo apt-get install php7.1-zip
-sudo apt-get install php7.1-gd
-sudo apt-get install php-curl
--------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment