CentminMod installation on Linux


Step 1: yum -y install git wget nano bc unzip

[root@tutorialspots ~]# yum -y install git wget nano bc unzip
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink                                            |  11 kB     00:00
 * base: mirror.hostduplex.com
 * epel: mirror.sfo12.us.leaseweb.net
 * extras: mirror.hostduplex.com
 * updates: mirror.hostduplex.com
base                                                     | 3.7 kB     00:00
epel                                                     | 4.3 kB     00:00
epel/primary_db                                          | 5.8 MB     00:01
extras                                                   | 3.4 kB     00:00
extras/primary_db                                        |  34 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 3.3 MB     00:00
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 git.x86_64 0:1.7.1-3.el6_4.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package: git-1.7.1-3.e
l6_4.1.x86_64
--> Processing Dependency: perl >= 5.006 for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(warnings) for package: git-1.7.1-3.el6_4.1.x86_6
4
--> Processing Dependency: perl(vars) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(strict) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(lib) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: git-1.7.1-3.el6_4.1.x
86_64
--> Processing Dependency: perl(File::Spec) for package: git-1.7.1-3.el6_4.1.x86
_64
--> Processing Dependency: perl(File::Find) for package: git-1.7.1-3.el6_4.1.x86
_64
--> Processing Dependency: perl(File::Basename) for package: git-1.7.1-3.el6_4.1
.x86_64
--> Processing Dependency: perl(Exporter) for package: git-1.7.1-3.el6_4.1.x86_6
4
--> Processing Dependency: perl(Error) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Cwd) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: /usr/bin/perl for package: git-1.7.1-3.el6_4.1.x86_64
---> Package unzip.x86_64 0:6.0-2.el6_6 will be installed
--> Running transaction check
---> Package perl.x86_64 4:5.10.1-141.el6_7.1 will be installed
--> Processing Dependency: perl-libs = 4:5.10.1-141.el6_7.1 for package: 4:perl-
5.10.1-141.el6_7.1.x86_64
--> Processing Dependency: perl-libs for package: 4:perl-5.10.1-141.el6_7.1.x86_
64
--> Processing Dependency: perl(version) for package: 4:perl-5.10.1-141.el6_7.1.
x86_64
--> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-141.el6_
7.1.x86_64
--> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-14
1.el6_7.1.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.10.1-141.el
6_7.1.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be installed
--> Running transaction check
---> Package perl-Module-Pluggable.x86_64 1:3.90-141.el6_7.1 will be installed
---> Package perl-Pod-Simple.x86_64 1:3.13-141.el6_7.1 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Si
mple-3.13-141.el6_7.1.x86_64
---> Package perl-libs.x86_64 4:5.10.1-141.el6_7.1 will be installed
---> Package perl-version.x86_64 3:0.77-141.el6_7.1 will be installed
--> Running transaction check
---> Package perl-Pod-Escapes.x86_64 1:1.04-141.el6_7.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                  Arch      Version                    Repository  Size
================================================================================
Installing:
 git                      x86_64    1.7.1-3.el6_4.1            base       4.6 M
 unzip                    x86_64    6.0-2.el6_6                base       149 k
Installing for dependencies:
 perl                     x86_64    4:5.10.1-141.el6_7.1       updates     10 M
 perl-Error               noarch    1:0.17015-4.el6            base        29 k
 perl-Git                 noarch    1.7.1-3.el6_4.1            base        28 k
 perl-Module-Pluggable    x86_64    1:3.90-141.el6_7.1         updates     40 k
 perl-Pod-Escapes         x86_64    1:1.04-141.el6_7.1         updates     33 k
 perl-Pod-Simple          x86_64    1:3.13-141.el6_7.1         updates    213 k
 perl-libs                x86_64    4:5.10.1-141.el6_7.1       updates    579 k
 perl-version             x86_64    3:0.77-141.el6_7.1         updates     52 k

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

Total download size: 16 M
Installed size: 51 M
Downloading Packages:
(1/10): git-1.7.1-3.el6_4.1.x86_64.rpm                   | 4.6 MB     00:00
(2/10): perl-5.10.1-141.el6_7.1.x86_64.rpm               |  10 MB     00:00
(3/10): perl-Error-0.17015-4.el6.noarch.rpm              |  29 kB     00:00
(4/10): perl-Git-1.7.1-3.el6_4.1.noarch.rpm              |  28 kB     00:00
(5/10): perl-Module-Pluggable-3.90-141.el6_7.1.x86_64.rp |  40 kB     00:00
(6/10): perl-Pod-Escapes-1.04-141.el6_7.1.x86_64.rpm     |  33 kB     00:00
(7/10): perl-Pod-Simple-3.13-141.el6_7.1.x86_64.rpm      | 213 kB     00:00
(8/10): perl-libs-5.10.1-141.el6_7.1.x86_64.rpm          | 579 kB     00:00
(9/10): perl-version-0.77-141.el6_7.1.x86_64.rpm         |  52 kB     00:00
(10/10): unzip-6.0-2.el6_6.x86_64.rpm                    | 149 kB     00:00
--------------------------------------------------------------------------------
Total                                            43 MB/s |  16 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:perl-Pod-Escapes-1.04-141.el6_7.1.x86_64                  1/10
  Installing : 1:perl-Module-Pluggable-3.90-141.el6_7.1.x86_64             2/10
  Installing : 3:perl-version-0.77-141.el6_7.1.x86_64                      3/10
  Installing : 4:perl-libs-5.10.1-141.el6_7.1.x86_64                       4/10
  Installing : 1:perl-Pod-Simple-3.13-141.el6_7.1.x86_64                   5/10
  Installing : 4:perl-5.10.1-141.el6_7.1.x86_64                            6/10
  Installing : 1:perl-Error-0.17015-4.el6.noarch                           7/10
  Installing : perl-Git-1.7.1-3.el6_4.1.noarch                             8/10
  Installing : git-1.7.1-3.el6_4.1.x86_64                                  9/10
  Installing : unzip-6.0-2.el6_6.x86_64                                   10/10
  Verifying  : 1:perl-Error-0.17015-4.el6.noarch                           1/10
  Verifying  : 1:perl-Pod-Simple-3.13-141.el6_7.1.x86_64                   2/10
  Verifying  : perl-Git-1.7.1-3.el6_4.1.noarch                             3/10
  Verifying  : 1:perl-Module-Pluggable-3.90-141.el6_7.1.x86_64             4/10
  Verifying  : unzip-6.0-2.el6_6.x86_64                                    5/10
  Verifying  : 1:perl-Pod-Escapes-1.04-141.el6_7.1.x86_64                  6/10
  Verifying  : 3:perl-version-0.77-141.el6_7.1.x86_64                      7/10
  Verifying  : git-1.7.1-3.el6_4.1.x86_64                                  8/10
  Verifying  : 4:perl-libs-5.10.1-141.el6_7.1.x86_64                       9/10
  Verifying  : 4:perl-5.10.1-141.el6_7.1.x86_64                           10/10

Installed:
  git.x86_64 0:1.7.1-3.el6_4.1            unzip.x86_64 0:6.0-2.el6_6

Dependency Installed:
  perl.x86_64 4:5.10.1-141.el6_7.1
  perl-Error.noarch 1:0.17015-4.el6
  perl-Git.noarch 0:1.7.1-3.el6_4.1
  perl-Module-Pluggable.x86_64 1:3.90-141.el6_7.1
  perl-Pod-Escapes.x86_64 1:1.04-141.el6_7.1
  perl-Pod-Simple.x86_64 1:3.13-141.el6_7.1
  perl-libs.x86_64 4:5.10.1-141.el6_7.1
  perl-version.x86_64 3:0.77-141.el6_7.1

Complete!

centmin mod install step 1

Step 2: cd /usr/local/src

Step 3: git clone https://github.com/centminmod/centminmod.git centminmod

[root@tutorialspots ~]# cd /usr/local/src
[root@tutorialspots src]# git clone https://github.com/centminmod/centminmod.git centmi
nmod
Initialized empty Git repository in /usr/local/src/centminmod/.git/
remote: Counting objects: 9292, done.
remote: Compressing objects: 100% (179/179), done.
remote: Total 9292 (delta 137), reused 0 (delta 0), pack-reused 9113
Receiving objects: 100% (9292/9292), 667.67 MiB | 18.74 MiB/s, done.
Resolving deltas: 100% (6772/6772), done.

Step 4: cd centminmod

Step 5: ./centmin.sh install

(you must wait in some minutes)

[root@tutorialspots src]# cd centminmod
[root@tutorialspots centminmod]# ./centmin.sh install
installing lynx...
----------------------------
Configure sshd_config
----------------------------
service sshd reload
Reloading sshd:                                            [  OK  ]
Starting crond:                                            [  OK  ]
no crontab for root
0 */4 * * * /usr/bin/cminfo_updater

Ok: physically installed memory is sufficient for Centmin Mod
Installation [Installed: 2048 MB]

*****************************************************
Downloading all required software for install routines.
*****************************************************
*************************************************
* Installing Development Tools
*************************************************
please wait for yum download and installs to complete.
yum installs in less verbose mode so final install status is only shown..
....
......
.........
Package yum-plugin-fastestmirror-1.1.30-30.el6.noarch already installed and late
st version
Package yum-plugin-downloadonly is obsoleted by yum, trying to install yum-3.2.2
9-69.el6.centos.noarch instead
setting yum priorities for CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo
=extras&infra=$infra
...
...
check /etc/pure-ftpd/pureftpd.passwd
-rw------- 1 root root 0 Feb  1 16:29 /etc/pure-ftpd/pureftpd.passwd

check /etc/pure-ftpd/pureftpd.pdb
-rw------- 1 root root 2.1K Feb  1 16:29 /etc/pure-ftpd/pureftpd.pdb


**********************************************************************
* Add cmd shortcuts for php.ini, my.cnf, php-fpm.conf, nginx.conf and virtual.co
nf
* Edit php.ini = phpedit
* Edit my.cnf = mycnf
* Edit php-fpm.conf = fpmconf
* Edit nginx.conf = nginxconf
* Edit virtual.conf = vhostconf
* nginx stop/start/restart = ngxstop/ngxstart/ngxrestart
* php-fpm stop/start/restart = fpmstop/fpmstart/fpmrestart
* mysql stop/start/restart = mysqlstop/mysqlstart/mysqlrestart
* nginx + php-fpm stop/start/restart = npstop/npstart/nprestart
* memcached stop/start/restart = memcachedstop/memcachedstart/memcachedrestart
* csf stop/start/restart = csfstop/csfstart/csfrestart
**********************************************************************

**********************************************************************
* Starting Services...
**********************************************************************
Starting nsd:
Starting ntpd:
Starting nginx:                                            [  OK  ]
Starting MySQL. SUCCESS!


*************************************************
* Running updatedb command. Please wait....
*************************************************

real    0m1.351s
user    0m0.081s
sys     0m0.366s
Error: axivo-release-6-1.noarch.rpm not found !!! Downloading now......
2016-02-01 16:29:48 URL:http://rpm.axivo.com/axivo-release-6-1.noarch.rpm [16880
/16880] -> "axivo-release-6-1.noarch.rpm" [1]
Download done.
Preparing...                ##################################################
axivo-release               ##################################################
setting yum priorities for axivo.repo
[axivo]
name=AXIVO Packages for Enterprise Linux $releasever - $basearch
mirrorlist=http://rpm.axivo.com/m?release=$releasever&arch=$basearch&repo=axivo
enabled=0
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AXIVO
*************************************************
Fixing axivo.repo YUM Priorities
*************************************************
# AXIVO Repository for Enterprise Linux
#
# The mirror system uses the connecting IP address of the client to pick
# mirrors that are updated and geographically close to client. You should
# use this for all repositories, unless you are manually picking mirrors.
#
# Repository Usage
# yum --enablerepo=axivo [command]
# yum --disablerepo=\* --enablerepo=axivo [command]

[axivo]
name=AXIVO Packages for Enterprise Linux $releasever - $basearch
mirrorlist=http://rpm.axivo.com/m?release=$releasever&arch=$basearch&repo=axivo
enabled=0
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AXIVO
priority=13
exclude=nginx* php* mariadb* memcached* xtrabackup

[axivoclient]
name=AXIVO Client Packages for Enterprise Linux $releasever - $basearch
mirrorlist=http://user:password@rpm.axivo.com/m?release=$releasever&arch=$basear
ch&repo=axivoclient
enabled=0
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AXIVO

[axivoplus]
name=AXIVO Plus Packages for Enterprise Linux $releasever - $basearch
mirrorlist=http://rpm.axivo.com/m?release=$releasever&arch=$basearch&repo=axivop
lus
enabled=0
failovermethod=priority
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AXIVO


*************************************************
* Increase system Entropy pool availability
*************************************************
Warning: RPMDB altered outside of yum.
chkconfig haveged on
service haveged start
Starting haveged:                                          [  OK  ]
*************************************************
* Post-Install Check List....
*************************************************

--------------------------------------------------------
Check ccache Version:
--------------------------------------------------------
ccache version 3.2.2

Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2015 Joel Rosdahl

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.

--------------------------------------------------------
Check Nginx Version:
--------------------------------------------------------
nginx version: nginx/1.9.10
built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
built with LibreSSL 2.2.6
TLS SNI support enabled
configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr
/local/lib' --with-cc-opt='-m64 -mtune=native -g -O2 -fstack-protector --param=s
sp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-s
ign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parame
ter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-ta
gs -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality
-Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-depreca
ted -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-co
nversion' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/ng
inx.conf --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_mo
dule --with-http_stub_status_module --with-http_sub_module --with-http_addition_
module --with-http_image_filter_module --with-http_secure_link_module --with-htt
p_realip_module --with-http_geoip_module --with-openssl-opt=enable-tlsext --add-
module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --ad
d-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --add
-module=../openresty-memc-nginx-module-4f6f78f --add-module=../openresty-srcache
-nginx-module-ffa9ab7 --add-module=../ngx_devel_kit-0.2.19 --add-module=../set-m
isc-nginx-module-0.29 --add-module=../echo-nginx-module-0.58 --add-module=../red
is2-nginx-module-0.12 --add-module=../ngx_http_redis-0.3.7 --add-module=../lua-n
ginx-module-0.9.18 --add-module=../lua-upstream-nginx-module-0.04 --add-module=.
./lua-upstream-cache-nginx-module-0.1.1 --add-module=../nginx_upstream_check_mod
ule-0.3.0 --add-module=../nginx-module-vts --add-module=../headers-more-nginx-mo
dule-0.28 --with-openssl=../libressl-2.2.6 --with-libatomic --with-threads --wit
h-stream --with-stream_ssl_module --with-pcre=../pcre-8.37 --with-pcre-jit --add
-module=../ngx_pagespeed-release-1.9.32.11-beta

--------------------------------------------------------
Check PHP-FPM Version:
--------------------------------------------------------
PHP 5.4.45 (cli) (built: Feb  1 2016 16:25:05)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.5, Copyright (c) 1999-2015, by Zend Technologies

--------------------------------------------------------
Check MariaDB installed RPM Versions:
--------------------------------------------------------
MariaDB-compat-10.0.23-1.el6.x86_64
MariaDB-shared-10.0.23-1.el6.x86_64
MariaDB-common-10.0.23-1.el6.x86_64
MariaDB-server-10.0.23-1.el6.x86_64
MariaDB-devel-10.0.23-1.el6.x86_64
MariaDB-client-10.0.23-1.el6.x86_64

--------------------------------------------------------
Check Memcached Server Version:
--------------------------------------------------------
memcached 1.4.25

--------------------------------------------------------
Check CSF Firewall Version:
--------------------------------------------------------
csf: v8.12 (generic)

--------------------------------------------------------
Check Siege Benchmark Version:
--------------------------------------------------------
SIEGE 3.1.3

Copyright (C) 2015 by Jeffrey Fulmer, et al.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.


--------------------------------------------------------
Check ngx_pagespeed Control Script:
http://centminmod.com/nginx_ngx_pagespeed.html
--------------------------------------------------------
pscontrol admin
pscontrol handler
pscontrol edit
pscontrol on
pscontrol off
pscontrol statson
pscontrol statsoff

--------------------------------------------------------
Check mysqlreport version:
--------------------------------------------------------
mysqlreport v3.5-maria11 Jul 4 2013

--------------------------------------------------------
Check NSD Bind Version:
--------------------------------------------------------
NSD version 3.2.18
Written by NLnet Labs.

Copyright (C) 2001-2011 NLnet Labs.  This is free software.
There is NO warranty; not even for MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.

--------------------------------------------------------
Check pure-ftpd Version:
--------------------------------------------------------
pure-ftpd v1.0.30

--------------------------------------------------------
Check YUM Repo List
--------------------------------------------------------
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile
 * base: mirror.hostduplex.com
 * epel: mirror.sfo12.us.leaseweb.net
 * extras: mirror.hostduplex.com
 * rpmforge: mirror.hmc.edu
 * updates: mirror.hostduplex.com
1584 packages excluded due to repository priority protections
repo id        repo name                                             status
base           CentOS-6 - Base                                       4,995+1,580
epel           Extra Packages for Enterprise Linux 6 - x86_64        9,049+2,929
extras         CentOS-6 - Extras                                              50
mariadb        MariaDB                                                      12+5
rpmforge       RHEL 6 - RPMforge.net - dag                           3,210+1,508
updates        CentOS-6 - Updates                                        851+212
repolist: 18,167

--------------------------------------------------------
mytimes check:
/usr/bin/mytimes
--------------------------------------------------------
Mon Feb  1 16:30:02 UTC 2016    [UTC]
Tue Feb  2 02:30:02 AEST 2016   [Australia/Brisbane]
Mon Feb  1 08:30:02 PST 2016    [America/Los_Angeles]
Mon Feb  1 10:30:02 CST 2016    [America/Chicago]
Mon Feb  1 11:30:02 EST 2016    [America/New_York]
Mon Feb  1 16:30:02 GMT 2016    [Europe/London]
--------------------------------------------------------
*************************************************
* Centmin Mod install completed....
*************************************************

*************************************************
*  Setup memcached_*.php admin page ...
*************************************************

Setup Memcached Server Admin Login Details for /usr/local/nginx/html/memcache_9a
4be9a4.php
current memcached username: memcacheuser
current memcached password: xxxxxxxxxxx
*************************************************
Memcached Server Admin Login: /usr/local/nginx/html/memcache_9a4be9a4.php
new memcached username: memadmin4590d3c71d
new memcached password: xxxxxxxxxxxxxxxxxxxx
*************************************************
*************************************************
* memcache_9a4be9a4.php admin page installed
*************************************************

*************************************************
* MariaDB Security Setup
*************************************************

-------------------------------------------------------
MySQL root user password set
MySQL root user added to /root/.my.cnf
-------------------------------------------------------
MySQL root password: xxxxxxxxxxxx
-------------------------------------------------------
*************************************************
* MariaDB Security Setup Completed
*************************************************

--------------------------------------------------------
Please bookmark:
--------------------------------------------------------
###############################################################
* Getting Started Guide - http://centminmod.com/getstarted.html
* Find the latest Centmin Mod version - http://centminmod.com
* Centmin Mod FAQ - http://centminmod.com/faq.html
* Change Log - http://centminmod.com/changelog.html
* Google+ Page latest news http://centminmod.com/gpage
* Community Forums https://community.centminmod.com (signup)
###############################################################
# Cheap VPS Hosting at Digitalocean
# https://www.digitalocean.com/?refcode=c1cb367108e8
###############################################################
You have mail in /var/spool/mail/root

Done! now, you can use Centmin Mod.

Leave a Reply