Get the most out of your Centmin Mod LEMP stack
Become a Member

Install Ask everything about Centminmod

Discussion in 'Install & Upgrades or Pre-Install Questions' started by zhaosin, Aug 11, 2014.

  1. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    I already install centminmod ( with only last command )
    After that, i run " centmin "
    Next, i run 2 to add new domain, finish
    Next, i run 4 to update nginx-1.7.4
    Next, i run 5 to update php 5.5.15
    - But it require install Zend OpCache ( i accepted and installed )
    Next, i run 21 to update all thing it write
    - But it require install Zend OpCache, too and display PHP 5.4

    So is it ok, have error or something not ok for VPS ??
    And how to check all version of PHP, Zend OpCache, Nginx... , all thing installed in VPS ??
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    If this is a new install, you only had to run the following to get Nginx 1.7.4 and PHP 5.5.15 + Zend Opcache

    last step menu option 21 is not needed.

    To check 3 commands in SSH to run

    Code:
    nginx -V
    php -v
    php --ri 'Zend OpCache'
    Then be sure to read Getting Started guide Getting Started Guide | Centmin Mod Community

    As to checking install, you have a full install.log file as outlined in troubleshooting How to troubleshoot Centmin Mod initial install issues | Centmin Mod Community so you can see if it all installed properly as in the install.log there's a post install check list that looks like this

    Code:
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.1.6
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2011 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.7.2
    built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
    TLS SNI support enabled
    configure arguments: --with-cc-opt='-I/svr-setup/staticlibssl/include -I/usr/include' --with-ld-opt='-L/svr-setup/staticlibssl/lib -Wl,-rpath -lssl -lcrypto -ldl -lz' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_flv_module --with-http_realip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.1 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --with-openssl=../openssl-1.0.1h --with-libatomic --with-pcre=../pcre-8.35 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.8.31.4-beta
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.4.30 (cli) (built: Jun 30 2014 10:39:01)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-5.5.38-1.el6.x86_64
    MariaDB-shared-5.5.38-1.el6.x86_64
    MariaDB-compat-5.5.38-1.el6.x86_64
    MariaDB-client-5.5.38-1.el6.x86_64
    MariaDB-server-5.5.38-1.el6.x86_64
    MariaDB-devel-5.5.38-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.20
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v7.03 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 3.0.6
    
    Copyright (C) 2014 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check ngx_pagespeed Control Script:
    http://centminmod.com/nginx_ngx_pagespeed.html
    --------------------------------------------------------
    pscontrol handler
    pscontrol edit
    pscontrol on
    pscontrol off
    pscontrol statson
    pscontrol statsoff
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.17
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: downloadonly, fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * base: linux.mirrors.es.net
    * epel: epel.mirror.freedomvoice.com
    * extras: mirror.hmc.edu
    * rpmforge: mirror.hmc.edu
    * updates: mirror.atlanticmetro.net
    1560 packages excluded due to repository priority protections
    repo id        repo name                                             status
    base           CentOS-6 - Base                                       4,859+1,508
    epel           Extra Packages for Enterprise Linux 6 - x86_64        8,383+2,579
    extras         CentOS-6 - Extras                                              14
    mariadb        MariaDB                                                       8+1
    rpmforge       RHEL 6 - RPMforge.net - dag                           3,205+1,510
    updates        CentOS-6 - Updates                                        802+301
    repolist: 17,271
     
    • Like Like x 1
  3. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    Can you give full information of your VPS installed with name and version of them ?
    And after i run 4 & 5 to update new, do i need re-install order option such as 6,7,10,15,18,19,20... or order option ?
     
    Last edited: Aug 11, 2014
  4. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    Not sure I understand that question ?

    for Centmin Mod version you see that when you load centmin.sh and via file at /etc/centminmod-release

    Code:
    cat /etc/centminmod-release
    1.2.3-eva2000.07
    or do you mean an overview page with all versions listed ? There currently isn't such a page available, command line can verify them all as suggested above

    No need to with .07 stable build, running menu option 4 to upgrade Nginx and option 5 to upgrade/download PHP is enough.
     
    • Like Like x 1
  5. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    "Not sure I understand that question ?
    for Centmin Mod version you see that when you load centmin.sh and via file at /etc/centminmod-release"
    Sorry for my bad english, mean, such as this topic -> Upgraded Linode VPS from 2GB to 4GB plan | Centmin Mod Community
    • CSF Firewall
    • Added: Elasticsearch 1.2.0
    Two that web stack already have in centminmod or not ? If not, how install them, and do any web stack you installed for this forum but you still not list in that topic ?
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    CSF readme txt file linked at CSF Firewall - Centmin Mod - Menu based Nginx installer for CentOS servers or

    Code:
    csf -v
    csf: v7.07 (generic)
    Elasticsearch is via 3rd party Axivo repo that is added to Centmin Mod .07 stable and higher for 64bit CentOS only.

    Code:
    yum --enablerepo=axivo list elasticsearch -q
    Available Packages
    elasticsearch.x86_64                                                             1.3.1-1.el6                                                             axivo
    Code:
    yum -y install java-1.7.0-openjdk
    yum --enablerepo=axivo install elasticsearch
     
    • Like Like x 1
  7. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    Do they really need for VPS ? And do anything else admin ??
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  9. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    'Everything else is either in the Getting Started Guide | Centmin Mod Community or linked to within the guide'
    Can you write "it" here, my english very bad, i can't understand all things :(
    (it: mean everything else you installed for forum )
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    That's all the basics installed that are provided with Centmin Mod, everything else is up to you and custom tailored to what you intend to use your Centmin Mod server for your site(s). I only provide the basic tools, everything else is up to you.

    I have added Bing Translator (see thread) to select pages of the official site including
     
    • Like Like x 1
  11. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    I already finished basic install
    Now i just need install xenforo, after i up source xenforo to VPS, next step is make database in phpmyadmin, but i can't find it anywhere :(
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    Dedicated forum just for discussing Forum software like Xenforo Forum software usage | Centmin Mod Community With sticky thread to Centmin Mod Nginx + Forum software Guides | Centmin Mod Community and appropriate guides. The IP.Board has an example for database setup via SSH Nginx Vhost & Rewrites for IP.Board which is same for creating any MySQL database such as Xenforo.

    If you need phpmyadmin then check out phpmyadmin beta build Addon for Centmin Mod phpmyadmin.sh Addon | Centmin Mod Community

    And also another beta state Addon, mysqladmin_shell.sh at mysqladmin_shell.sh Shell based Addon | Centmin Mod Community
     
    Last edited: Aug 12, 2014
    • Like Like x 1
  13. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    VPS still load high with 1 RAM ( linode.com )
    My forum only have 10 members and 20 post, but CPU still load >95% -> down !!!
    So how i can do admin :(
    @eva2000
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    how many cpu cores ?

    If you cpu has 4 cpu core/threads, then 100% = 100/4 = 25% cpu load average. Only when you reach 4x 100% = 400% are you really at 100% cpu load.

    So if you have 8 cpu threads cpu load of 1.0 = 1/8 = 0.125 cpu load. When you are at cpu load of 8.0, then you cpu load is 8/8 = 1.0 cpu load.
     
    • Like Like x 1
  15. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    I use a first plan in linode.com
    1 CPU core
     
  16. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
  17. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    RAM 4 GB with 100 members, i think too much money to maintain with this data number :(
     
  18. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    6:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    Maybe try 2GB Linode VPS first ?
     
    • Like Like x 1
  19. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5
    Do you use location Fremont, CA for forum right ?
     
  20. zhaosin

    zhaosin New Member

    18
    0
    1
    Aug 11, 2014
    Ratings:
    +0
    Local Time:
    3:59 AM
    1
    MariaDB 5.5