install_lamp_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install_lamp_server [2018/12/07 13:33] – admin | install_lamp_server [2018/12/07 16:31] (current) – admin | ||
---|---|---|---|
Line 13: | Line 13: | ||
Quit the DB and your done installing MySql. | Quit the DB and your done installing MySql. | ||
+ | |||
+ | Next we are going to install PHP and APACHE. | ||
+ | |||
+ | * apt install php7.0 php7.0-mysql | ||
+ | * apt install apache2 libapache2-mod-php7.0 | ||
+ | * apt install phpmyadmin | ||
+ | |||
+ | To test your server by making a file called index.php in / | ||
+ | |||
+ | <?php phpinfo(); ?> | ||
+ | |||
+ | go to your browser and test the server by enter it's ip-address or if you are on a local machine with localhost. It should display the PHP Version information. If not check all the steps to make sure your PHP installation went through. | ||
+ | |||
+ | Now make you installation secure. | ||
+ | |||
+ | * mysql_secure_installation | ||
+ | |||
+ | Follow the instructions on the screen and set what you need to have. | ||
+ | |||
+ | You now have a working LAMP server on Debian 9. | ||
\\ | \\ |
install_lamp_server.1544186010.txt.gz · Last modified: 2018/12/07 13:33 by admin