Results 1 to 8 of 8
  1. #1

    * How To automatically install Nginx PHP-FPM MySql phpMyAdmin[All in One installer]

    Some of our clients are not good at SSH command, they just want an easy way to run their websites. Most of them are less then 1GB memory VPS and don't want install control panel.

    For this purpose, we wrote an auto installer script for "Nginx+PHP+MySql+phpMyAdmin" (Github)

    What's you need to do is: Copy and post/run below single command line via SSH root login. wait 5-15 minutes(depending on the software download speed from your server), Everything is Done!

    ############ Automatically install command line ############

    wget -O /tmp/npmp.sh https://raw.github.com/ComfortVPS/Nginx-PHP-MySql-phpMyAdmin/master/install-nginx-php-mysql.sh; sh /tmp/npmp.sh;
    ############ Installation Requirement ############

    PHP Code:
    CentOS 5.x/6.x 32bit or 64bit We recommend you Reload OS before run the installer )

    Guarantee Memory >= 128MB

    Free Disk space 
    >=2GB 
    ############ Fetures ############

    PHP Code:
    You can add multiple websites directly via SFTPno need to login SSHno need to restart Nginx

    You can easily custom config each website domain
    's Nginx config file if you need

    Installed the newest stable version of Nginx, PHP-FPM, MySql by YUM

    phpMyAdmin4.x installed and ready for use. Just login and manage mysql database as you want

    Work perfectly for low memory VPS with ram >= 128MB

    Many tutorials for how to use

    Get your password after everything installed 
    Your SSH console screen will show something like below after successfully installed, Please record your password. The unique password was random generated by openssl, no need to change.

    ############ Information you will get after installation (below is an example) ############

    PHP Code:
    ====== Nginx PHP-FPM MYSQL Successfully installed

    ====== MySql root password is cft.KL7fvW2g

    ====== SFTP Username is myweb

    ====== SFTP Password is cft.KL7fvW2g

    ====== Website document root is /www/yourdomain

    ====== Add websites tutorialshttp://goo.gl/sdDF9

    ====== Now you can visit http://your-ip-address/

    ====== Eghttp://50.3.62.173/

    ====== phpMyAdminhttp://50.3.62.173/phpMyAdmin4U/

    ====== More tutorialshttp://goo.gl/tNFb0 
    ############ How to add multiple websites via SFTP ? ############

    Step 1, Create a domain name directory under /www via SFTP, eg, yourdomain.com, subdomain.abc.com, domain-name.net

    Step 2, Everything is Done, Config Nginx virtual host is finish, upload your php/html files to that directory then test it.
    ############ More tutorials ############

    http://www.comfortvps.com/VPS/Auto-i...ql-CentOS.html

    We will continue to write more tutorials for how to use it.
    Last edited by WindowsVPS; 12-17-2013 at 10:22 PM.

  2. #2

    Arrow It's very easy to add multiple websites

    Easy way to add multiple websites directly via SFTP, No need to login SSH, No need to restart Nginx

    Website directory structure example via SFTP(see attachment image below, Full Tutorial):
    Attached Thumbnails Attached Thumbnails nginx-vhost-dirs.png  

  3. #3
    Join Date
    Jul 2004
    Location
    Pittsburgh PA
    Posts
    380
    This works great, just used this on my new vps. Works just as you said. Thanks for providing this.

    - Marc
    Budget Hosting www.hostkoi.com
    Budget Servers www.dediserverhost.com
    HKWS Group: HostKoi - DediServerHost

  4. #4
    CTRL+D

    I will try this setting,
    Many thanks

  5. #5
    Join Date
    Jul 2009
    Location
    Tangerang, ID
    Posts
    123
    this is good, is it available for other distro(s)?

  6. #6
    Join Date
    Jan 2011
    Posts
    53
    Great tutorial and I understand it's 22 months old but script stopped working, sadly.
    phpMyAdmin does not work. When trying to access it I get 404. Could you update this script please?

  7. #7
    may kindly put the full nginx installation / configuration guide here

  8. #8
    Join Date
    Aug 2014
    Location
    United States
    Posts
    628
    Lol software changes, these scripts will only work so long. Use centminmod.
    Incendia Web Works ██████ ███ ██ █ █
    See how we Rack Up against other HOSTS.

Similar Threads

  1. Install Nginx 0.8.53 +phpmyadmin+mysql+php-fpm+ftp script!
    By Ruchirablog in forum Hosting Security and Technology Tutorials
    Replies: 32
    Last Post: 08-18-2013, 07:26 AM
  2. Need someone to install nginx/mysql/php-fpm
    By TinyVox in forum Employment / Job Offers
    Replies: 5
    Last Post: 03-12-2013, 01:12 AM
  3. Monitoring System (nginx + php-fpm + mysql)
    By MrGeneral in forum Hosting Security and Technology
    Replies: 13
    Last Post: 07-02-2012, 11:47 AM
  4. Basic nginx/php-fpm/MySQL Tuning
    By raindog308 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 10-27-2011, 08:53 AM
  5. Install Nginx - PHP-FPM Install: package could not be found
    By minhmeo in forum Hosting Security and Technology
    Replies: 8
    Last Post: 07-29-2010, 11:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •