Want more timely Centmin Mod News Updates?
Become a Member

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. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated Centmin Mod .08 beta02 with 3 new Nginx module additions taken from Openresty's Nginx module offerings. Full details in separate thread to make it easier to ask questions and provide feedback at Openresty echo-nginx-module, set-misc-nginx-module & ngx_devel_kit added to .08 beta

    You'll need to update to latest Centmin Mod .08 beta 02 code to get these code changes.


    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
     
  2. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    4:56 PM
    Mainline
    10.2
    Force to stick with CentOS 6.6
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nice and fast :)

    Updated .08 beta 02 with a few commits on May 12th and 14th, including support for MongoDB Driver PHP extension, disabled by default though and included deltarpm YUM package see Commits · centminmod/centminmod · GitHub
     
  4. Skippy

    Skippy New Member

    25
    11
    3
    May 14, 2015
    Ratings:
    +20
    Local Time:
    6:56 PM
    This normal for the compile errors on centos7.1 with the latest beta from github?

    Capture2.PNG
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yup totally normal :)
     
  6. Skippy

    Skippy New Member

    25
    11
    3
    May 14, 2015
    Ratings:
    +20
    Local Time:
    6:56 PM
    So anther one of our Team members was a little concerned about the amount of packages that looked like it was installing for a LEMP stack :/

    Is there a list of all the packages that Centmin Mod install in the beta version?
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    there's a yum log file in /root/centminlogs for the initially installed YUM packages
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  9. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    1:56 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Hello eva2000
    Have few questions for you. (Sorry if I messed them and they are addressed already)

    I am setting up a new server and decided to use new .08 beta version. I am still using CentOS 6.5 though.
    (1) What's the point of having /home/.ccache/ I believe it's used in initial install but is it used later for anything? Can we delete it?
    (2) Aslo what's the use of /home/usertmp_donotdelete ?? It's 4GB file and I don't see it being used anywhere. I am running OpenVZ VPS with just 20GB space and a fresh CentMinMod install is taking 8.3GB.
    Code:
    [root@nginx home]# df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/simfs       20G  8.3G   12G  42% /
    none            2.0G  4.0K  2.0G   1% /dev
    
    (3) And lastly, why there are svr-setup and svr-setup_disk ?? (Both seems to having same files taking about 1.2GB each)

    Thanks
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    /home/usertmp_donotdelete is your swap file, do not delete it or your screw up your swap disk you see when you type
    Code:
    free -m
    /home/.ccache is ccache compile cache storage area - ccache speeds up source compilation via caching. DO NOT delete it or all your source compiles will be much slower

    how much memory does the server have ? svr-setup_disk is disk based location for downloads if you have enough memory, centmin mod /svr-setup is mounted on tmpfs ram disk for initial install and copied to disk /svr-setup_disk after install. If installed successfully, you can remove /svr-setup_disk
     
  11. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    1:56 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Well I guess since I am using OpenVZ VPS, I can delete /home/usertmp_donotdelete file. Can't setup swap in Openvz vps.
    Code:
    [root@vps3 ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:          4096       3573        522        208          0       2433
    -/+ buffers/cache:       1140       2955
    Swap:            0          0          0
    
    Not even showing up in mount.
    Code:
    [root@vps3 ~]# mount
    /dev/simfs on / type reiserfs (rw,usrquota,grpquota)
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    none on /dev type devtmpfs (rw,relatime,mode=755,gid=500)
    none on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    
    /home/.ccache/ is only using about 290MB so no issue there. I was just not sure where it's being used after initial setup.
    I think I have enough RAM for a small WP setup there. I am just short on disk space.
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Last edited: May 18, 2015
  13. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    1:56 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    So I guess I helped with the testing :)
    PS. If I don't really use PageSpeed (i.e. not in domain config), can I disable it from centmin.sh before installing or is it needed/recommended to install even if you don't use it?
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes you can disable ngx_pagespeed integration if you are not using it, see ngx_pagespeed install on Centmin Mod - Menu based Nginx installer for CentOS servers

    However, you should at least have a play with ngx_pagespeed there's huge benefits once you got your pagespeed.conf tweaked for your site see Nginx PageSpeed - Benefits of ngx_pagespeed and Webpagetest.org World Country Flags Demo :)
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  16. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    More .08 beta02 updates, thanks to @jeffwidman reported /etc/init.d/memcached issues at Bug in initd memcached script causing problems starting/restarting memcached | Centmin Mod Community I've updated the templates and scripts for with PID support for memcached and auto updating of /etc/init.d/memcached script to newer revision if you run centmin.sh menu option 10. You're existing MEMSIZE memory allocation value will persist on auto script update as the value automatically gets transferred to the new /etc/init.d/memcached script.

    Commit at updated /etc/init.d/memcached templates with PID support · centminmod/centminmod@a7c0651 · GitHub
     
  17. JarylW

    JarylW Active Member

    216
    41
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +103
    Local Time:
    4:56 PM
    I read that some fixes were pushed pertaining to OpenVZ.. Is there any difference in .07 and .08 also in SSHD port detection? My VPS defaults to another port on OS reloads by default - and while .07 handled this properly, gracefully, it would seem that .08 totally wrecked network connectivity - I'm experiencing issues with accessing the server, even through SolusVM.

    Edit: got access again - going to try one more time with default port now.
     
  18. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    6:56 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    only one update was related to openvz and non-centos7 (centos 6) for /tmp creation update centmin.sh /tmp setup to account for non-centos 7 + openvz env… · centminmod/centminmod@7fe72d1 · GitHub as outlined in post above CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ? | Page 23 | Centmin Mod Community

    might want to start a thread in beta release code forum for this specific network issue
     
  19. jeffwidman

    jeffwidman Active Member

    152
    27
    28
    Dec 3, 2014
    Ratings:
    +51
    Local Time:
    12:56 AM
    It's not clear if changing the ssh port is something you're doing or something your host is doing, but FYI--I did a bunch of fairly extensive research into this, and a lot of sys admins on ServerFault and elsewhere recommend NOT changing the default SSHD port. It doesn't add much security and it can cause major hair-pulling since applications expect it to be port 22, and not all apps support changing it, or throw random errors that take forever to debug.

    For all the intrusion-attempt emails from the intrusion detection system that Centminmod adds, the best thing is just turn off allerts for failed logins.

    This also assumes you disable ssh'ing using passwords, and preferably disable ssh'ing into the root account. Force users to ssh in under their user and then sudo if needed.

    It is controversial, if there's ever a flaw in SSH, someone port scanning is more likely to hit your port 22 than anything else. Odds are pretty low on that. And if you disable root ssh so they have to guess your username, it'll stop the bots.
     
  20. Mask

    Mask Active Member

    108
    31
    28
    Nov 10, 2014
    Ratings:
    +37
    Local Time:
    1:56 PM
    Nginx 1.9.1
    MariaDB 10.0.19
    Have a question. What's the point of running /usr/bin/cminfo_updater every 4 hours?? What it does ?