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

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.

For test virtual domain name just add your server IP and virtual name to c:\windows\system32\drivers\etc\hosts file for Windows or /etc/hosts file for Linux as follows:
172.16.100.10 unix.com

Script using steps will be as follows:
LAMP-NMPF

 

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s