Join the community today
Register Now

Customizing installation of centminmod

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Cr0w, Mar 17, 2015.

  1. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    4:05 PM
    1.9.x
    5.5
    hi . i got question about how to Customizing installation ?
    for example ! i don't like to install memcached And APC And NSD And Nginx PageSpeed
    why ? because i want to use X-Cache , Im using free DNS Manager @Cloudflare , nginx page speed is real bullshit plugin that developed by google .
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    moved thread to appropriate forums :)

    memcached, nsd, php and mysql can only be disabled after install see Memcached server - Centmin Mod - Menu based Nginx installer for CentOS servers and the relevant options in centmin.sh for .07 stable it's lines 172-175 of centmin.sh these would have to be enabled and set before initial Centmin Mod install

    Code:
    # Disable installed services by default
    # The service is still installed but disabled by default
    # can be re-enabled with commands
    # service servicename start; chkconfig servicename on
    NSD_DISABLED=y               # NSD disabled by default with chkconfig off
    MEMCACHED_DISABLED=y          # Memcached server disabled by default via chkconfig off
    PHP_DISABLED=n                # PHP-FPM disabled by default with chkconfig off
    MYSQLSERVICE_DISABLED=n       # MariaDB MySQL service disabled by default with chkconfig off
    so above would disable NSD and Memcached server services after initial install. Otherwise you'd have to manually stop the service and chkconfig servicename off them like for example for Memcached server service at Memcached server - Centmin Mod - Menu based Nginx installer for CentOS servers

    as to ngx_pagespeed see disable instructions at ngx_pagespeed install on Centmin Mod - Menu based Nginx installer for CentOS servers

    Xcache, APC, and Zend Opcache can all be installed via centmin.sh menu options 8, 9 and 12. When you select one of them to install, all other existing PHP opcaches are unloaded and removed automatically - so if you have APC Cache installed and select install Xcache menu option 8, then APC Cache is automatically removed see PHP Opcode and Memcached statistics pages | Centmin Mod Community for more details.

    There's no way to set Xcache as default installed PHP Opcode cache right now as I do not test Xcache as much as APC Cache or Zend Opcache which both perform better than Xcache = Zend Opcache > APC Cache > Xcache in terms of measured performance.

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    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 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ]
    --------------------------------------------------------
     
    • Like Like x 1
  3. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    4:05 PM
    1.9.x
    5.5
    im sorry im newbie here and i can't post my threads to other forums cause of permissions for my account .
    by the way thanks and a question ..
    Memcached or APC ? Which is best and good for w3 total cache plugin .
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    Wordpress - WP Super Cache is easier and faster than w3 total cache Wordpress - Wordpress + Super Cache Plugin + Nginx install guide | Centmin Mod Community

    But if you had to choose between APC and Memcached, APC Cache better

    My Wordpress + WP Super Cache + Centmin Mod .08 beta test site for PHP 7 wordpress7.centminmod.com - Centmin Mod LEMP stack Wordpress Auto Installer on CentOS 7.0
     
  6. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    4:05 PM
    1.9.x
    5.5
    why you suggest that plugin ? wp super cache
    are you sure is better than w3 ? give me more informations
    i never use wp super cache plugin
     
  7. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  8. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    4:05 PM
    1.9.x
    5.5
    so . that's mean ngx_pagespeed is good ability to speed up an website on server ?
    im read an article the author said ngx_pagespeed is't good and is beta release from google developers
    and makes cpu usage high . why ?
     
  9. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    mod_pagespeed for Apache can be problematic for cpu loads due to Apache

    ngx_pagespeed for Nginx isn't bad for cpu loads due to Nginx being more efficient

    but yes ngx_pagespeed gives page speed boost but there's no free lunch so will use more cpu and memory usage than without ngx_pagespeed. Just depends on whether you want to have faster page loads and at what cost in terms of cpu and memory usage. I prefer faster page loads as my number one priority is web site/forum performance community.centminmod.com journey for speed | Centmin Mod Community :)
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
  11. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    4:05 PM
    1.9.x
    5.5
    well i have an VPS

    RAM : 2G
    CPU : 2 Core
    hard : 100G
    port : 1G
    is good for nginx_pagespeed .
    and another question
    how much resources uses " nginx page speed" ?
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    10:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    I use ngx_pagespeed on 128MB VPS Centmin Mod Test Blog | Centmin Mod Blog hehe

    resource usage depends on your site and it's style and web page elements also ngx_pagespeed is server wide, so also depends on how many sites you're hosting on the server too
     
  13. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    4:05 PM
    1.9.x
    5.5
    just 2 scripts on 1 site.
    Wordpress
    VB or Xenforo ( will install soon )