Created
April 7, 2018 00:02
-
-
Save zelon88/6ef39d0ba651b9b3de06ac6bbb08a35b to your computer and use it in GitHub Desktop.
Debian LAMP Server Install Instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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