Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update nginx vhost generator to check for main hostname domain in 123…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 23, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
    example for centmin.sh menu option 2

    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com    
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 2
    --------------------------------------------------------
    

    Code (Text):
    ---------------------------------------------------------------
    Important Information
    ---------------------------------------------------------------
    
    You are about to create an Nginx vhost site account with/without
    HTTPS/SSL support. Details of this process are outlined on site
    at centminmod.com/nginx_domain_dns_setup.html. Also read the
    continually updated Getting Started Guide for Centmin Mod usage
    at centminmod.com/getstarted.html which covers the pure-ftpd
    ftp username that is auto generated with the Nginx vhost site.
    
    Do you want to continue with Nginx vhost site creation ? [y/n] y
    
    Enter vhost domain name to add (without www. prefix): centos7.localdomain
    

    Code (Text):
     Error: centos7.localdomain is already setup for server main hostname
     at /usr/local/nginx/conf/conf.d/virtual.conf
     It is important that main server hostname be setup correctly
    
     As per Getting Started Guide Step 1 centminmod.com/getstarted.html
     The server main hostname needs to be unique. So please setup
     the main server name vhost properly first as per Step 1 of guide.
    
     Aborting nginx vhost creation...
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
    example for /usr/bin/nv method of nginx vhost generation

    Code (Text):
    nv -d centos7.localdomain -s n -u ftp1
    ---------------------------------------------------------------
    Nginx Vhost Setup...
    ---------------------------------------------------------------
    
     Error: centos7.localdomain is already setup for server main hostname
     at /usr/local/nginx/conf/conf.d/virtual.conf
     It is important that main server hostname be setup correctly
    
     As per Getting Started Guide Step 1 centminmod.com/getstarted.html
     The server main hostname needs to be unique. So please setup
     the main server name vhost properly first as per Step 1 of guide.
    
     Aborting nginx vhost creation...
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
    example for centmin.sh menu option 22 wordpress auto installer + wordpress nginx vhost generation routine

    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com     
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    

    Code (Text):
    -------------------------------------------------------------
    Setup full Nginx vhost + Wordpress + WP Plugins
    -------------------------------------------------------------
    
    Enter vhost domain name you want to add (without www. prefix): centos7.localdomain
    
     Error: centos7.localdomain is already setup for server main hostname
     at /usr/local/nginx/conf/conf.d/virtual.conf
     It is important that main server hostname be setup correctly
    
     As per Getting Started Guide Step 1 centminmod.com/getstarted.html
     The server main hostname needs to be unique. So please setup
     the main server name vhost properly first as per Step 1 of guide.
    
     Aborting nginx vhost creation...