Download


Download Centmin Mod

Please make sure to download the latest stable Centmin Mod version. You can find version change log here.

How to Install Centmin Mod ?

First read the FAQ and following info pages below. These will give a better understanding of the Centmin Mod setup.

You can provide feedback and suggestions on Centmin Mod Google+ Community

Server Requirements & Testing

  1. Preferably, use CentOS 6.0 - 6.5 operating system where possible.
  2. If possible, setup a test server or virtualised server via Virtualbox or VMWare to test out Centmin Mod before doing install on live server. For quick tests, you can easily setup a 512MB OpenVZ SSD-Cached VPS server with 120GB Raid 10 SSD-Cached disk space for US$7.50/month with RamNode. Or a 256MB OpenVZ SSD-Cached VPS with 90GB Raid 10 SSD-Cached disk space for US$4.25/month. You can also choose KVM based SSD-Cached VPS but you'll need to install the Operating System (CentOS 6.5) yourself unlike the OpenVZ offerings. Note: Centmin Mod minimum recommended memory based VPS server is at least 256MB memory. You could get away with 128MB memory with a tweak to centmin.sh but for any active site you'll eventually need more than 128MB memory.
  3. Or a 512MB memory, 16GB hard disk storage Secured Cloud VM server instance using SecuredServers.com Cloud with costs starting from US$0.025 per hour. Benchmarks on Secured Cloud VM instance here. Secured Cloud VM setup tip: To make your Centmin Mod install web accessible on Secured Cloud VMs, they have their own firewall enabled in Secured Cloud VM customer admin area that only allows port 22 and 3389 by default. For Centmin Mod installs, you can disable Secured Cloud VM's firewall and let Centmin Mod CSF firewall take over.
  4. Even cheaper option is to setup a DigitalOcean.com 512MB memory VPS at $0.007/hr. Or a DigitalOcean.com 1GB memory VPS at $0.015/hr or the new Linode SSD based VPS plans which are priced exactly to compete with DigitalOcean. Posted Linode vs DigitalOcean benchmarks
  5. All above mentioned VPS hosts are personally used for Centmin Mod testing so are guaranteed to work well together.

How to install video

Best viewed in 1080 HD

How to install Centmin Mod Nginx web stack

Install Steps

You'll need a VPS or dedicated server with full root user + SSH2 telnet access to install Centmin Mod. Logged in as root user via SSH2 telnet type these commands:

1. Download latest version of Centmin Mod's zip file using wget command in SSH telnet - (you can find latest version info here)

Note: In example below, zip is downloaded to /usr/local/src. DO NOT download to /tmp and run centmin.sh from /tmp as Centmin Mod removes the ability to execute scripts from /tmp as a security precaution. Also the downloaded contents must NOT be deleted or removed as subsequent runs of centmin.sh to use menu options require certain files and scripts in place.

cd /usr/local/src
wget http://centminmod.com/download/centmin-v1.2.3-eva2000.06.zip

2. Extract files and change to centmin-v1.2.3mod directory and chmod +x centmin.sh bash script.

unzip centmin-v1.2.3-eva2000.06.zip
cd centmin-v1.2.3mod
chmod +x centmin.sh

3. Run centmin.sh menu based installer and if this is first time installing, select option #1 for Centmin Install. If you are upgrading a server which already previously had Centmin Mod installed, you DO NOT need to run option #1, instead run option #4 and then #5 for upgrading Nginx web server and upgrading PHP.

yum -y install bc wget yum-plugin-fastestmirror
yum clean all
./centmin.sh

While almost 99% unattended and automated, the very last stage of the install process will:

  1. Prompt you to proceed with securing MySQL server by entering a MySQL root password, removing anonymous MySQL user and other steps. Be sure to answer yes when asked if you want to reload privileges.
  2. Then Final question will prompt to setup Memcached admin page's username and password.

4. Post-Install Setup

Proceed with the Getting Started guide.

General Notes:

  • For Xen 32bit Paravirtulized OS users on 64bit host nodes prior to install if on Xen VPS, you need to enable and uncomment one variable (remove hash # in front of the variable) ARCH_OVERRIDE='386' within centmin.sh then install via centmin.sh for Centmin Mod to work.
      # The default is stable, you can change this to development if you wish
    #ARCH_OVERRIDE='i386'
    # Uncomment the above line if you are running a 32bit Paravirtulized Xen VPS
    # on a 64bit host node.
    
  • 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.
  • After install read Getting Started guide

Centmin Mod v1.2.3+ and higher notes:

Centmin Mod v1.2.3 is configured to be almost 99% unattended for initial Centmin Mod install. You'd only have to edit 3 variables up to the top of centmin.sh prior to install to proceed with unattended mode:

  • UNATTENDED='y'
  • NGINX_IPV='n' for Nginx IPv6 support
  • ZONEINFO for server timezones (details http://centminmod.com/datetimezones.html).

Everything else should in theory be unattended once you hit menu option #1 to install Centmin Mod. As unattended mode leaves little choice via prompts, I had to make the decisions for some installed items. In unattended mode:

  • Xcache isn't installed but APC Cache is the default installed PHP opcode cacher. From my experience APC Cache is better than Xcache for Nginx PHP-FPM. Read note for PHP 5.5.0 + APC Cache.
  • Memcached server is automatically installed with 1 server instance
  • Python 2.7.3 is not installed
  • CSF Firewall is automatically installed
  • Siege benchmark is automatically installed

PHP disable_functions

Centmin Mod v1.2.3-eva2000.06+ made a change in /usr/local/lib/php.ini for security reasons to disable some PHP functions:

  disable_functions = exec,passthru,shell_exec,system,proc_open,popen

For some PHP scripts, you may need to remove some of these disable_functions listed. Ask your PHP script author which are needed to be removed (required). For example, for vBulletin to work with ImageMagicK instead of the default GD for image resizing, do following:

  1. Edit php.ini (shortcut command phpedit) and remove exec from the list of disabled_functions
  2. Set ImageMagicK path to /usr/bin and save and select ImageMagicK
  3. Restart php-fpm service (shortcut command fpmrestart)

Past 3 month avg: ~1400 per month

mysqlmymonlite.sh gather server stats in less than <12 seconds! Download.

PureVPN PPTP, L2TP IPSec, SSTP protocols (5 devices - limited torrent support)