CentminMod installation on Linux – Method 2


Step 1: goto https://github.com/centminmod/centminmod/branches then choose your branch you want to install like 123.08stable

Use this command:

branchname=123.08stable

Step 2: use this command:

yum -y install wget nano bc unzip

Result:

[root@tutorialspots ~]# branchname=123.08stable
[root@tutorialspots ~]# yum -y install wget nano bc unzip
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink                                            |  12 kB     00:00
 * base: mirrors.maine.edu
 * epel: mirrors.mit.edu
 * extras: mirrors.maine.edu
 * updates: mirrors.maine.edu
base                                                     | 3.7 kB     00:00
epel                                                     | 4.3 kB     00:00
epel/primary_db                                          | 5.8 MB     00:03
extras                                                   | 3.4 kB     00:00
extras/primary_db                                        |  34 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.9 MB     00:02
Package wget-1.12-5.el6_6.1.x86_64 already installed and latest version
Package nano-2.0.9-7.el6.x86_64 already installed and latest version
Package bc-1.06.95-1.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package unzip.x86_64 0:6.0-2.el6_6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 unzip           x86_64           6.0-2.el6_6              base           149 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 149 k
Installed size: 313 k
Downloading Packages:
unzip-6.0-2.el6_6.x86_64.rpm                             | 149 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : unzip-6.0-2.el6_6.x86_64                                     1/1
  Verifying  : unzip-6.0-2.el6_6.x86_64                                     1/1

Installed:
  unzip.x86_64 0:6.0-2.el6_6

Complete!

centmin install method 2

Step 3: use this command:

wget -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip

result:

[root@tutorialspots ~]# wget -O /usr/local/src/${branchname}.zip https://github.com/cent
minmod/centminmod/archive/${branchname}.zip
--2016-02-16 04:23:56--  https://github.com/centminmod/centminmod/archive/123.08
stable.zip
Resolving github.com... 192.30.252.129
Connecting to github.com|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/centminmod/centminmod/zip/123.08stable [fo
llowing]
--2016-02-16 04:23:56--  https://codeload.github.com/centminmod/centminmod/zip/1
23.08stable
Resolving codeload.github.com... 192.30.252.160
Connecting to codeload.github.com|192.30.252.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: "/usr/local/src/123.08stable.zip"

    [                    <=>                ] 58,837,352  14.9M/s   in 5.2s

2016-02-16 04:24:02 (10.7 MB/s) - "/usr/local/src/123.08stable.zip" saved [58837
352]

Step 4: use this command:

cd /usr/local/src

Step 5:

unzip ${branchname}.zip

result:

[root@tutorialspots ~]# cd /usr/local/src
[root@tutorialspots src]# unzip ${branchname}.zip
Archive:  123.08stable.zip
d25f6445866e6ce17073a40938e9f3d0390cfb88
   creating: centminmod-123.08stable/
  inflating: centminmod-123.08stable/.gitignore
   creating: centminmod-123.08stable/Extras/
  inflating: centminmod-123.08stable/Extras/axivo_install.sh
  inflating: centminmod-123.08stable/README.md
   creating: centminmod-123.08stable/addons/
  inflating: centminmod-123.08stable/addons/avginstall.sh
  inflating: centminmod-123.08stable/addons/customcurl.sh
  inflating: centminmod-123.08stable/addons/geoip.sh
  inflating: centminmod-123.08stable/addons/ioncube.sh
  inflating: centminmod-123.08stable/addons/linfo.sh
  inflating: centminmod-123.08stable/addons/maldet.sh
  inflating: centminmod-123.08stable/addons/mysqladmin_shell.sh
  inflating: centminmod-123.08stable/addons/passenger.sh
  inflating: centminmod-123.08stable/addons/python27_install.sh
  inflating: centminmod-123.08stable/addons/wpcli.sh
  inflating: centminmod-123.08stable/centmin-mod-logo.png
  inflating: centminmod-123.08stable/centmin.sh
  inflating: centminmod-123.08stable/changes.html
  inflating: centminmod-123.08stable/command_shortcuts.txt
   creating: centminmod-123.08stable/config/
   creating: centminmod-123.08stable/config/apc/
  inflating: centminmod-123.08stable/config/apc/apc-min.ini
  inflating: centminmod-123.08stable/config/apc/apc.ini
   creating: centminmod-123.08stable/config/etc/
  inflating: centminmod-123.08stable/config/etc/resolv.conf
   creating: centminmod-123.08stable/config/htpasswdgen/
  inflating: centminmod-123.08stable/config/htpasswdgen/htpasswd.py
   creating: centminmod-123.08stable/config/memcached/
  inflating: centminmod-123.08stable/config/memcached/memcached
  inflating: centminmod-123.08stable/config/memcached/memcached1425.patch
  inflating: centminmod-123.08stable/config/memcached/memcached2
  inflating: centminmod-123.08stable/config/memcached/twemcache
  inflating: centminmod-123.08stable/config/memcached/twemcache2
   creating: centminmod-123.08stable/config/mysql/
  inflating: centminmod-123.08stable/config/mysql/my-mdb-4gb.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb-min.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb10-4gb.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb10-min.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb10.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb55-4gb.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb55-min.cnf
  inflating: centminmod-123.08stable/config/mysql/my-mdb55.cnf
  inflating: centminmod-123.08stable/config/mysql/my.cnf
   creating: centminmod-123.08stable/config/nginx/
  inflating: centminmod-123.08stable/config/nginx/block.conf
   creating: centminmod-123.08stable/config/nginx/conf.d/
  inflating: centminmod-123.08stable/config/nginx/conf.d/demodomain.com.conf
  inflating: centminmod-123.08stable/config/nginx/conf.d/ssl.conf
  inflating: centminmod-123.08stable/config/nginx/conf.d/virtual.conf
  inflating: centminmod-123.08stable/config/nginx/drop.conf
  inflating: centminmod-123.08stable/config/nginx/errorpage.conf
  inflating: centminmod-123.08stable/config/nginx/fastcgi_param_https_map.conf
  inflating: centminmod-123.08stable/config/nginx/fastcgi_params
  inflating: centminmod-123.08stable/config/nginx/geoip.conf
  inflating: centminmod-123.08stable/config/nginx/nginx.conf
  inflating: centminmod-123.08stable/config/nginx/pagespeed.conf
  inflating: centminmod-123.08stable/config/nginx/pagespeedadmin.conf
  inflating: centminmod-123.08stable/config/nginx/pagespeedhandler.conf
  inflating: centminmod-123.08stable/config/nginx/php-pool2.conf
  inflating: centminmod-123.08stable/config/nginx/php-pool3.conf
  inflating: centminmod-123.08stable/config/nginx/php-pool4.conf
  inflating: centminmod-123.08stable/config/nginx/php-pool5.conf
  inflating: centminmod-123.08stable/config/nginx/php.conf
  inflating: centminmod-123.08stable/config/nginx/phpalt.conf
   creating: centminmod-123.08stable/config/nginx/phpfpmd/
  inflating: centminmod-123.08stable/config/nginx/phpfpmd/phpfpm_pool2.conf
  inflating: centminmod-123.08stable/config/nginx/phpfpmd/phpfpm_pool3.conf
  inflating: centminmod-123.08stable/config/nginx/phpfpmd/phpfpm_pool4.conf
  inflating: centminmod-123.08stable/config/nginx/phpfpmd/phpfpm_pool5.conf
  inflating: centminmod-123.08stable/config/nginx/phpssl.conf
  inflating: centminmod-123.08stable/config/nginx/phpstatus.conf
  inflating: centminmod-123.08stable/config/nginx/proxy.conf
  inflating: centminmod-123.08stable/config/nginx/pscontrol
  inflating: centminmod-123.08stable/config/nginx/ssl-include.conf
   creating: centminmod-123.08stable/config/nginx/ssl/
  inflating: centminmod-123.08stable/config/nginx/ssl/.gitignore
  inflating: centminmod-123.08stable/config/nginx/staticfiles.conf
 extracting: centminmod-123.08stable/config/nginx/vts_http.conf
  inflating: centminmod-123.08stable/config/nginx/vts_mainserver.conf
 extracting: centminmod-123.08stable/config/nginx/vts_server.conf
  inflating: centminmod-123.08stable/config/nginx/wpffpc.conf
   creating: centminmod-123.08stable/config/nsd/
   creating: centminmod-123.08stable/config/nsd/master/
  inflating: centminmod-123.08stable/config/nsd/master/demo.com.zone
  inflating: centminmod-123.08stable/config/nsd/nsd.conf
   creating: centminmod-123.08stable/config/php-fpm/
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm-2pools.conf
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm-min-2pools.conf
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm-min.conf
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm-min.conf-fullcomment
s
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm-minond.conf
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm-minond_readme.txt
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm.conf
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm.conf-fullcomments
  inflating: centminmod-123.08stable/config/php-fpm/php-fpm.conf.default
   creating: centminmod-123.08stable/config/sendmail/
  inflating: centminmod-123.08stable/config/sendmail/sendmail.mc
   creating: centminmod-123.08stable/config/xcache/
  inflating: centminmod-123.08stable/config/xcache/xcache-min.ini
  inflating: centminmod-123.08stable/config/xcache/xcache-min_php54.ini
  inflating: centminmod-123.08stable/config/xcache/xcache.ini
  inflating: centminmod-123.08stable/config/xcache/xcache3.ini
  inflating: centminmod-123.08stable/config/xcache/xcache3_php54.ini
  inflating: centminmod-123.08stable/config/xcache/xcache_admin_setup_instructio
ns.txt
  inflating: centminmod-123.08stable/config/xcache/xcache_php54.ini
   creating: centminmod-123.08stable/config/yum/
  inflating: centminmod-123.08stable/config/yum/yum.conf
   creating: centminmod-123.08stable/config/yum_mirrors/
  inflating: centminmod-123.08stable/config/yum_mirrors/epel_history.txt
  inflating: centminmod-123.08stable/config/yum_mirrors/mariadb_history.txt
   creating: centminmod-123.08stable/config/zendopcache/
  inflating: centminmod-123.08stable/config/zendopcache/opcache.php
  inflating: centminmod-123.08stable/config/zendopcache/zendopcache-min.ini
  inflating: centminmod-123.08stable/config/zendopcache/zendopcache.ini
   creating: centminmod-123.08stable/config/zram/
  inflating: centminmod-123.08stable/config/zram/zram
   creating: centminmod-123.08stable/cron/
  inflating: centminmod-123.08stable/cron/diskalert
   creating: centminmod-123.08stable/downloads/
  inflating: centminmod-123.08stable/downloads/curlrpms.zip
  inflating: centminmod-123.08stable/downloads/ffmpeg-depends.zip
  inflating: centminmod-123.08stable/downloads/hiredis-rpms.zip
  inflating: centminmod-123.08stable/downloads/rpms.zip
 extracting: centminmod-123.08stable/downloads/svr-setup.zip
   creating: centminmod-123.08stable/htdocs/
   creating: centminmod-123.08stable/htdocs/custom_errorpages/
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/403.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/404.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/500.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/502.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/503.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/504.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/50x.html
  inflating: centminmod-123.08stable/htdocs/custom_errorpages/maintenance.html
   creating: centminmod-123.08stable/htdocs/default/
  inflating: centminmod-123.08stable/htdocs/default/cmlogo.png
  inflating: centminmod-123.08stable/htdocs/default/index.html
 extracting: centminmod-123.08stable/htdocs/default/phpi.php
   creating: centminmod-123.08stable/htdocs/demodomain.com/
  inflating: centminmod-123.08stable/htdocs/demodomain.com/index.html
   creating: centminmod-123.08stable/inc/
  inflating: centminmod-123.08stable/inc/apcinstall.inc
  inflating: centminmod-123.08stable/inc/apcprotect.inc
  inflating: centminmod-123.08stable/inc/apcreinstall.inc
  inflating: centminmod-123.08stable/inc/axelsetup.inc
  inflating: centminmod-123.08stable/inc/bookmark.inc
  inflating: centminmod-123.08stable/inc/ccache.inc
  inflating: centminmod-123.08stable/inc/centminfinish.inc
  inflating: centminmod-123.08stable/inc/centminlogs.inc
  inflating: centminmod-123.08stable/inc/centos_seven.inc
  inflating: centminmod-123.08stable/inc/centoscheck.inc
  inflating: centminmod-123.08stable/inc/compress.inc
  inflating: centminmod-123.08stable/inc/cpcheck.inc
  inflating: centminmod-123.08stable/inc/cpucount.inc
  inflating: centminmod-123.08stable/inc/csfinstall.inc
  inflating: centminmod-123.08stable/inc/csftweaks.inc
  inflating: centminmod-123.08stable/inc/customrpms.inc
  inflating: centminmod-123.08stable/inc/diskalert.inc
  inflating: centminmod-123.08stable/inc/downloadlinks.inc
  inflating: centminmod-123.08stable/inc/downloads.inc
  inflating: centminmod-123.08stable/inc/downloads_centosfive.inc
  inflating: centminmod-123.08stable/inc/downloads_centosseven.inc
  inflating: centminmod-123.08stable/inc/downloads_centossix.inc
  inflating: centminmod-123.08stable/inc/entropy.inc
  inflating: centminmod-123.08stable/inc/ffmpeginstall.inc
  inflating: centminmod-123.08stable/inc/gcc.inc
  inflating: centminmod-123.08stable/inc/geoip.inc
 extracting: centminmod-123.08stable/inc/google_perftools.inc
  inflating: centminmod-123.08stable/inc/htpasswdsh.inc
  inflating: centminmod-123.08stable/inc/igbinary.inc
  inflating: centminmod-123.08stable/inc/imagick_install.inc
  inflating: centminmod-123.08stable/inc/logrotate_nginx.inc
  inflating: centminmod-123.08stable/inc/logrotate_phpfpm.inc
  inflating: centminmod-123.08stable/inc/luajit.inc
  inflating: centminmod-123.08stable/inc/mainmenu.inc
  inflating: centminmod-123.08stable/inc/mainmenu_cli.inc
  inflating: centminmod-123.08stable/inc/mariadb_install.inc
  inflating: centminmod-123.08stable/inc/mariadb_submenu.inc
  inflating: centminmod-123.08stable/inc/mariadb_upgrade.inc
  inflating: centminmod-123.08stable/inc/mariadb_upgrade10.inc
  inflating: centminmod-123.08stable/inc/mariadb_upgrade53.inc
  inflating: centminmod-123.08stable/inc/mariadb_upgrade55.inc
  inflating: centminmod-123.08stable/inc/memcacheadmin.inc
  inflating: centminmod-123.08stable/inc/memcached_install.inc
  inflating: centminmod-123.08stable/inc/memcheck.inc
  inflating: centminmod-123.08stable/inc/mongodb.inc
  inflating: centminmod-123.08stable/inc/motd.inc
  inflating: centminmod-123.08stable/inc/mysql_install.inc
  inflating: centminmod-123.08stable/inc/mysql_proclimit.inc
  inflating: centminmod-123.08stable/inc/mysqladmin.inc
  inflating: centminmod-123.08stable/inc/mysqlsecure.inc
  inflating: centminmod-123.08stable/inc/mysqltmp.inc
  inflating: centminmod-123.08stable/inc/nginx_addvhost.inc
  inflating: centminmod-123.08stable/inc/nginx_backup.inc
  inflating: centminmod-123.08stable/inc/nginx_configure.inc
  inflating: centminmod-123.08stable/inc/nginx_configure_openresty.inc
  inflating: centminmod-123.08stable/inc/nginx_errorpage.inc
  inflating: centminmod-123.08stable/inc/nginx_install.inc
  inflating: centminmod-123.08stable/inc/nginx_mimetype.inc
  inflating: centminmod-123.08stable/inc/nginx_modules.inc
  inflating: centminmod-123.08stable/inc/nginx_modules_openresty.inc
  inflating: centminmod-123.08stable/inc/nginx_pagespeed.inc
  inflating: centminmod-123.08stable/inc/nginx_patch.inc
  inflating: centminmod-123.08stable/inc/nginx_upgrade.inc
  inflating: centminmod-123.08stable/inc/nsd_install.inc
  inflating: centminmod-123.08stable/inc/nsd_reinstall.inc
  inflating: centminmod-123.08stable/inc/nsdsetup.inc
  inflating: centminmod-123.08stable/inc/openssl_install.inc
  inflating: centminmod-123.08stable/inc/openvz_stack.inc
  inflating: centminmod-123.08stable/inc/php_configure.inc
  inflating: centminmod-123.08stable/inc/php_extraopts.inc
  inflating: centminmod-123.08stable/inc/php_upgrade.inc
  inflating: centminmod-123.08stable/inc/phpfpmdir.inc
  inflating: centminmod-123.08stable/inc/phpng_download.inc
  inflating: centminmod-123.08stable/inc/phpsededit.inc
  inflating: centminmod-123.08stable/inc/postfix.inc
  inflating: centminmod-123.08stable/inc/pureftpd.inc
  inflating: centminmod-123.08stable/inc/python_install.inc
  inflating: centminmod-123.08stable/inc/questions.inc
  inflating: centminmod-123.08stable/inc/ramdisk.inc
  inflating: centminmod-123.08stable/inc/redis.inc
  inflating: centminmod-123.08stable/inc/sendmail.inc
  inflating: centminmod-123.08stable/inc/shortcuts_install.inc
  inflating: centminmod-123.08stable/inc/siegeinstall.inc
  inflating: centminmod-123.08stable/inc/sshd.inc
  inflating: centminmod-123.08stable/inc/suhosin_setup.inc
  inflating: centminmod-123.08stable/inc/undo.inc
  inflating: centminmod-123.08stable/inc/updater_submenu.inc
  inflating: centminmod-123.08stable/inc/wpsetup.inc
  inflating: centminmod-123.08stable/inc/xcache_install.inc
  inflating: centminmod-123.08stable/inc/xcache_installask.inc
  inflating: centminmod-123.08stable/inc/xcache_reinstall.inc
  inflating: centminmod-123.08stable/inc/yuminstall.inc
  inflating: centminmod-123.08stable/inc/yumpriorities.inc
  inflating: centminmod-123.08stable/inc/yumskip.inc
  inflating: centminmod-123.08stable/inc/zendopcache_55ini.inc
  inflating: centminmod-123.08stable/inc/zendopcache_install.inc
  inflating: centminmod-123.08stable/inc/zendopcache_reinstall.inc
  inflating: centminmod-123.08stable/inc/zendopcache_submenu.inc
  inflating: centminmod-123.08stable/inc/zendopcache_tweaks.inc
  inflating: centminmod-123.08stable/inc/zendopcache_upgrade.inc
   creating: centminmod-123.08stable/init/
  inflating: centminmod-123.08stable/init/nginx
  inflating: centminmod-123.08stable/init/nginx-centmin
  inflating: centminmod-123.08stable/init/nsd
  inflating: centminmod-123.08stable/init/php-fpm
  inflating: centminmod-123.08stable/installer.sh
  inflating: centminmod-123.08stable/license.txt
   creating: centminmod-123.08stable/logrotate/
  inflating: centminmod-123.08stable/logrotate/nginx
  inflating: centminmod-123.08stable/readme.txt
   creating: centminmod-123.08stable/sysconfig/
  inflating: centminmod-123.08stable/sysconfig/nsd
   creating: centminmod-123.08stable/tools/
  inflating: centminmod-123.08stable/tools/centminmod_packager.sh
  inflating: centminmod-123.08stable/tools/cminfo.sh
  inflating: centminmod-123.08stable/tools/gitsetup.sh
  inflating: centminmod-123.08stable/tools/hptweaks.sh
  inflating: centminmod-123.08stable/tools/mytimes.sh
  inflating: centminmod-123.08stable/tools/nv.sh
  inflating: centminmod-123.08stable/tools/nvwp.sh
  inflating: centminmod-123.08stable/versions.txt

Step 6:

mv centminmod-${branchname} centminmod
cd centminmod

Step 7:

./centmin.sh install 

(like step 5 of method 1)

Leave a Reply