Hack The Sec - Leading Resource Of Linux Tutorial
Automated Linux Apache MySQL PHP or Nginx PHP-FPM MYSQL installation and configuration

Automated Linux Apache MySQL PHP or Nginx PHP-FPM MYSQL installation and configuration

Linux Apache MySQL PHP or Nginx PHP-FPM MYSQL 

This is auto-installer for automatically install and configure apache or nginx with MySQL and PHP. On install time Apache or nGinx script will ask about virtual host domain name. On install time for MySQL database script will ask questions about MySQL root pass, new database name, new username and password for the new user.
Main script is: ap-ng-vhost.py
Requirements:
  1. CentOS 6.7 or higher(or any yum based Linux).
  2. Python2.7 must be installed to your Linux server.
  3. Download all files to the Linux server and execute ap-ng-vhost.py script.
Just download all files from this link to your Linux folder and execute ap-ng-vhost.py script. For clean everything you must use./cleaner.sh script.

Download Here

After that goto the unzipped folder and run this script : -


$ python ap-ng-vhost.py

Write Virtual Domain Name 

After that select
PHP and Mysql Option 1

Set a MySql Server Password


After That Done Now Select 2nd Option


Write Virtual Domain Name 

After that select PHP and Mysql Option 1

Installation Done


H

About the author

I am a Linux Administrator and Security Expert. Through this site I share Linux tutorials, hardening guides and security news.

Comments