Join the community today
Register Now

Featured CentOS 7.x How to help test .08 CentOS 7 Betas with Github code ?

Discussion in 'Beta release code' started by eva2000, Jul 11, 2014.

  1. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    Yes, modify php-fpm.conf
     
    • Like Like x 1
  2. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:26 PM
    latest
    10
    Thanks Ronald!
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    Getting Started guide item 14 for PHP-FPM security outlines how to add or remove them Getting Started with Centmin Mod
     
  4. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:26 PM
    latest
    10
    Been awhile since I've taken a glance at the getting started guide lol! Maybe I should though every once in awhile :=) Thanks George!
     
  5. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    I usually update this thread here Getting Started Guide | Centmin Mod Community for changes to Getting Started guide, so watch/subscribe to that thread ;)
     
  6. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:56 AM
    1.9.x
    5.5
    ./centmin.sh: line 1132: incmemcachedinstall: command not found
     
  7. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    when was last time you updated Centmin Mod .08 beta 02 code ? last updated code commit was yesterday Commits · centminmod/centminmod · GitHub

    Also how did you update centmin mod .08 beta 02 ? could be you are missing inc/memcached_install.inc file when you updated

    pre-prepared instructions :D

    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code which you downloaded via zip file or via github. This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod is best.
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.

    There's 3 ways you can upgrade your .07 stable or .08 beta02 code you have on your server. They are outlined in respective upgrade sections of the first posts linked below:
    1. For .07 stable 1st post see section on upgrades Install - Centmin Mod 1.2.3-eva2000.07 stable install
    2. For .08 beta 02 1st post see section on upgrade to latest code CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ?
    3. For either .07 stable or .08 beta02 via github command line Upgrade - Working with git command line for updating Centmin Mod local copies
    Github commit log for
     
  8. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    Latest 08 beta on Centos7, seems error?
     
  9. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    is this straight after initial install without a server reboot, or did you reboot server first ?
     
  10. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    Yes.
     
  11. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    just tried on centos 7 and no problems here
    Code:
    [root@centos7 ~]# service nsd stop
    Stopping nsd (via systemctl):                              [  OK  ]
    [root@centos7 ~]# chkconfig nsd off
    virtualised server ? OpenVZ, Xen or KVM or dedicated ?

    looks like NSD wasn't installed in the first place

    I bet you set in centmin.sh
    Code:
    NSD_DISABLED=y
    NSD_INSTALL=n
    In that case NSD won't be installed so NSD_DISABLED=y can't do it's job and hence your error
     
  12. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    Linode so Xen :)
    Yeah NSD is disable on post install :).
     
  13. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    you did not disable NSD on pre-install NSD_INSTALL=n?
     
  14. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    I have it disabled.
     
  15. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    guess need to clarify my question, I need to know when you disabled NSD, before or after initial install

    before initial install (which you error at CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ? | Page 22 | Centmin Mod Community suggests as NSD wasn't installed to be able disable it) via
    Code:
    NSD_DISABLED=y
    NSD_INSTALL=n
    or did you only set before initial install
    Code:
    NSD_DISABLED=y
    NSD_INSTALL=y
    or did you leave it at defaults prior to initial install
    Code:
    NSD_DISABLED=n
    NSD_INSTALL=y
     
  16. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    Before.
    Before installing centmin, I have it disabled already.
     
  17. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    via NSD_INSTALL=n right ? if so then that's why you got the error, NSD wasn't available as it wasn't installed. So when you set NSD_DISABLED=y, the script can't disable/turn off NSD via service stop and chkconfig off as there was no NSD installed
     
  18. RoldanLT

    RoldanLT Well-Known Member

    3,869
    945
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,284
    Local Time:
    11:26 AM
    1.11
    10.2
    Yeah :).
     
  19. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 2
  20. eva2000

    eva2000 Administrator Staff Member

    29,707
    6,708
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,012
    Local Time:
    1:26 PM
    Nginx 1.13.x
    MariaDB 5.5
    Updated Centmin Mod .08 beta 02 with a few more updates, one of the more important ones is support for a separate and persistent custom_config.inc file to place custom centmin.sh settings/variables in which override centmin.sh defaults.

    Commit at add persistent custom centmin.sh options file support at inc/custom_conf... · centminmod/centminmod@6744e36 · GitHub

    supports 2 locations for custom_config.inc
    1. inc/custom_config.inc where centmin.sh base directory resides
    2. at ${CONFIGSCANBASE}/custom_config.inc which defaults to /etc/centminmod/custom_config.inc
    to override centmin.sh settings and allow them to persist on centmin mod code updates, create a custom_config.inc at one of the 2 locations mentioned above and add the centmin.sh option to the custom_config.inc file i.e.

    to set PHP 5.6.8 + Zend Opcache as default place in manually created file at /etc/centminmod/custom_config.inc the following variables which are in centmin.sh to override centmin.sh ones
    Code:
    PHP_VERSION='5.6.8'
    ZOPCACHEDFT='y'
    
     
    • Like Like x 5