Discover Centmin Mod today
Register Now

Featured DigitalOcean Centmin Mod Nginx LNMP install on CentOS 7.0 KVM VPS

Discussion in 'Virtual Private Server (VPS) hosting' started by eva2000, Aug 25, 2014.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    26,465
    6,078
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +8,896
    Local Time:
    1:47 AM
    Nginx 1.11.x
    MariaDB 5.5
    DigitalOcean now has a CentOS 7.0 OS template for their KVM VPS droplet servers so decided to test out my latest Centmin Mod .08 beta which is being tested specifically for CentOS 7.0 operating system compatibility. Please note, Centmin Mod .08 beta is not suited to production live usage yet - so feedback and testing is very much appreciated ;)

    Centmin Mod .08 beta install methods



    There are two methods to install Centmin Mod .08 beta on CentOS 7.0 DigitalOcean KVM VPS droplet server as outlined at CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ? | Centmin Mod Community

    Method 1: Use instructions outlined on README on 123.08centos7beta01 branch at centminmod/centminmod at 123.08centos7beta01 ยท GitHub

    Method 2: Use the new installer.sh CLI command line unattended installation script located at here. To use this script, on a fresh virgin CentOS 7.0 64bit type this one line command in SSH window as root user:

    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    


    Creating DigitalOcean CentOS 7 Droplet



    First step is to create the DigitalOcean droplet and fill in the desired hostname for your server. This hostname will also become the default hostname for Centmin Mod installed Nginx as outlined in step 1 of the Getting Started guide.

    Select the droplet size/plan and droplet region and then select the CentOS 7.0 x64 operating system image. If you previously setup DigitalOcean SSH keys, you can select those for adding to your DigitalOcean droplet server. Keep VirtIO enabled.

    centos7_install_digitalocean_00.png
    centos7_install_digitalocean_01.png
    Now wait while droplet is being created
    centos7_install_digitalocean_02.png

    Once droplet is created you will be shown the droplet management page as seen below.
    centos7_install_digitalocean_03.png

    Centmin Mod .08 beta install on CentOS 7.0 DigitalOcean Droplet



    Now it's time to log into your DigitalOcean CentOS 7.0 x64 droplet server via SSH. I use SecureCRT SSH client to log in via creating a new SSH session to connect to my droplet's ip address via root user and using SSH key method. If you do not use SSH keys, then you will use root password method to log into your CentOS 7 droplet.

    securecrt_00.png

    For this guide I will use traditional method 1, the Centmin Mod menu install method to install Centmin Mod on CentOS 7.0 droplet. Instructions are outlined on 123.08centos7beta01 Github branch page.

    Update: As at 24/12/2015, 123.09beta01 is latest branch in beta series

    Type in SSH window:
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    


    For menu mode, type in SSH window :)
    Code (Text):
    ./centmin.sh
    


    You'll see the Centmin Mod main menu as shown below. Enter the number 1 for option 1 to install Centmin Mod LNMP web stack. This will do the entire installation in unattended mode, so depending on speed of your server it can take between 10-30 minutes to install.

    centminmod_menu_install_00.png

    At end of installation, you'll have a long list of info including a Post-Install check list showing the main software installed and their version info, along with location and paths to memcache.php stats page and login user/pass as well as the default generated MariaDB 10 MySQL root password which is also located at /root/.my.cnf.

    centminmod_menu_install_01.png

    centminmod_menu_install_02.png

    centminmod_menu_install_03.png

    Your Centmin Mod .08 beta LNMP web stack install on DigitalOcean CentOS 7.0 KVM VPS droplet is complete and you can now proceed to the Getting Started Guide. If you have problems or errors, check out the initial install troubleshooting guide.

    Final Nginx configuration

    Final PHP-FPM configuration

    PHP extensions/modules loaded

    Code:
    php -m
    [PHP Modules]
    apc
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    zip
    zlib
    
    [Zend Modules]
    MariaDB 10.0.13 MySQL

     
    Last edited: Jul 21, 2016
    • Like Like x 8
Thread Status:
Not open for further replies.