How To Install Centmin Mod Nginx Web Stack

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
About time I posted a quick guide for installing Centmin Mod so here it is :)

Centmin Mod v1.2.3 background info http://centminmod.com/centminmod_v123.html

Requirements:
  • Fresh CentOS 6.x based 32bit or 64bit installation (CentOS minimal ISO recommended)
  • Minimum 256MB memory available. With some tweaks outlined here, you can install on 128MB memory based VPS. But recommend at least 256MB memory.
  • 25 - 60 minutes of your time depending on speed of your server, network speed (for downloads/yum etc).
  • Links:
  • Install instructions http://centminmod.com/download.html
  • FAQ http://centminmod.com/faq.html
  • Change Log http://centminmod.com/changelog.html
  • General Notes:
  • For Xen 32bit OS users on 64bit host nodes, please read FAQ note regarding ARCH_OVERRIDE value you need to enable for Centmin Mod or Original Centmin script to work.
  • If your SSH2 Telnet client options allow for it you can increase the size of your scroll back buffer size to allow larger amounts of outputted text to be shown via scrolling back and forth.

Install:

Download to any directory EXCEPT /tmp as scripts won't be executable from /tmp

Code:
cd /usr/local/src
yum -y install bc wget yum-plugin-fastestmirror
yum clean all
wget http://centminmod.com/download/centmin-v1.2.3-eva2000.06.zip
unzip centmin-v1.2.3-eva2000.06.zip
cd centmin-v1.2.3mod
chmod +x centmin.sh
./centmin.sh

then hit menu option #1
Code:
--------------------------------------------------------
Centmin Mod 1.2.3-eva2000.06 - 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.x Branch Upgrade Only
12). MariaDB 5.2.x to MariaDB 5.5 YUM upgrade
13). Install ioping.sh vbtechsupport.com/1239/
14). SELinux disable
15). Install/Re-install imagick 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). Exit
--------------------------------------------------------
Enter option [ 1 - 21 ]
--------------------------------------------------------

The depending on your site setup:
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830

thanks

Doh I had the all important annotations disabled by accident, so the blog embedded video wasn't showing the useful annotation commentary during install :eek:

All fixed now, removed iv_load_policy=3 to set annotations to enabled by default so you can see the commentary and explanation as the video progresses :)
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
Second video added to https://blog.centminmod.com/304 to showcase .07 version’s Phusion Passenger Nginx module support via optional passenger.sh Addon as well as NodeBB node.js example installation.



Best viewed in 720 or 1080 HD enjoy !
 
Last edited by a moderator:

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
Centmin Mod Nginx CLI Install Mode Benchmarks for upcoming .07 release https://blog.centminmod.com/327

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 imagick 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). Exit
--------------------------------------------------------
Enter option [ 1 - 21 ]
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
Added updated Centmin Mod .07 beta install video.

This video shows how to install via Centmin Mod Github hosted code https://blog.centminmod.com/304

best viewed in full HD

https://www.youtube.com/watch?feature=player_embedded&v=onaRRx8eK_0
 
Last edited by a moderator:

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
This is awesome George, thanks.
you're welcome :)

FYI, Centmin Mod's Google+ Community has moved to a dedicated community forum at http://community.centminmod.com.

Forums are hosted on a 4GB VPS server using Centmin Mod auto installer based Nginx 1.7.1 with Nginx PageSpeed module enabled, PHP 5.5.13 + Zend OpCache, MariaDB MySQL 5.5.37 and Memcached 1.4.20 server = fast page load speed :D
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
Produced my best ever Centmin Mod installation video - only takes 5 minutes of a viewers time to see the latest SSH one liner install method :D

Dual installation video, I simultaneously installed Centmin Mod .08 beta on both CentOS 6.6 + CentOS 7.0 servers :D

 

ENF

Participant
Joined
May 19, 2010
Messages
83
Last edited:

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
eva2000 - Sorry if I've missed something, but I can't access any of your site links.

Code:
403 Forbidden
Request forbidden by administrative rules.

Did your sites go offline? Or is this just a temporary issue?

I'm in Japan if that makes any difference... again, sorry if you posted about this somewhere else.

Edit, to clarify:
http://centminmod.com/ = 403'd
http://mysqlmymon.com/ = 403'd
https://community.centminmod.com/ = Works.
http://vbtechsupport.com/ = Works.
sorry for late reply, bare with me as I'm currently sick with the cold :(

Different servers for my listed sites, centminmod.com and mysqlmymon.com are on the same 5x VPS load balanced cluster and your IP probably got caught in the CSF Firewall. If you have a VPN or proxy you can browse through to those sites, you will probably find it works. Private message me your IP address, so can check my firewall logs :)

edit: looks like you might have been cause in my Haproxy load balancer level firewall like rules for spamhaus detected IP addresses I load into Haproxy via /etc/haproxy/dropspamhaus.lasso.lst
 
Last edited:

ENF

Participant
Joined
May 19, 2010
Messages
83
sorry for late reply, bare with me as I'm currently sick with the cold :(

Different servers for my listed sites, centminmod.com and mysqlmymon.com are on the same 5x VPS load balanced cluster and your IP probably got caught in the CSF Firewall. If you have a VPN or proxy you can browse through to those sites, you will probably find it works. Private message me your IP address, so can check my firewall logs :)

edit: looks like you might have been cause in my Haproxy load balancer level firewall like rules for spamhaus detected IP addresses I load into Haproxy via /etc/haproxy/dropspamhaus.lasso.lst

Thank you for your reply. The sites are actually working for me today.... (maybe because of different IP)

My job is very mobile and my IP's change every time I reboot my WiFi devices (NTT DoCoMo Japan) --- my connection at home refreshes it's IP either on reboot of the router or on a timed interval, so It's only possible to declare which ISP I'm using, lol. (they want an extra 10,000 yen/month to get a static IP which would classify the service as business use.... mostly good benefits, but Dynamc DNS works for my purposes at this point...)

I'll keep the VPN/Proxy in mind, but I've been finding more and more than Japan is being lumped in the Asia spam problem... however, at least from a majority of providers I work with, we are very conscientious about users or bots doing stupid things on Japan's net allocations.

Thank you again for your reply and I hope you're feeling better^^
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
Current state of Centmin Mod .08 beta 03 change log from .07 stable. The .08 will be going stable end of month if all goes to plan :D

Centmin Mod .08 beta03 Change Log
 
Joined
Jan 6, 2004
Messages
5,948
Great work as always Eva, good to see you still around doing these things and giving advice after all these years. :)
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
Great work as always Eva, good to see you still around doing these things and giving advice after all these years. :)
thanks Brad.. yup still optimising and tweaking servers .. although most of my free time is put into Centmin Mod Project now - using it myself to power 42 out of 46 of my servers - that's nearly US$8,000 per year saved in WHM/Cpanel fees ! :D
 

eva2000

Habitué
Joined
Jan 11, 2004
Messages
1,830
More previews for Centmin Mod .08 beta 03 (soon to be stable)

vhost-stats-phppools_00.png
 
Top