CentOS7: 01-Initial VM & Tools Install

 

New VM


Install OS

  • Minimal Install
    • set host name
    • set 1st user, make admin
    • set time
    • confirm HDD
  •  

 


Install Tools

yum update

yum -y install net-tools

yum -y install git

yum -y install unzip

yum -y install nano

yum -y install wget

yum install bzip2

 

Network Manager Setup

  • manual ip
  • gateway
  • DNS ( for internet )

 

nmtui

 


Install PHP7

Install yum-utils

# yum install yum-utils

[setup@c7 ~]$ sudo yum install yum-utils
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-tx.psychz.net
 * extras: repos-tx.psychz.net
 * updates: repos-tx.psychz.net
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-46.el7_5 will be installed
--> Processing Dependency: python-kitchen for package: yum-utils-1.1.31-46.el7_5.noarch
--> Processing Dependency: libxml2-python for package: yum-utils-1.1.31-46.el7_5.noarch
--> Running transaction check
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_2.3 will be installed
---> Package python-kitchen.noarch 0:1.1.1-5.el7 will be installed
--> Processing Dependency: python-chardet for package: python-kitchen-1.1.1-5.el7.noarch
--> Running transaction check
---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                           Arch                      Version                              Repository                  Size
===================================================================================================================================
Installing:
 yum-utils                         noarch                    1.1.31-46.el7_5                      updates                    120 k
Installing for dependencies:
 libxml2-python                    x86_64                    2.9.1-6.el7_2.3                      base                       247 k
 python-chardet                    noarch                    2.2.1-1.el7_1                        base                       227 k
 python-kitchen                    noarch                    1.1.1-5.el7                          base                       267 k

Transaction Summary
===================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 860 k
Installed size: 4.3 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): yum-utils-1.1.31-46.el7_5.noarch.rpm                                                                 | 120 kB  00:00:00     
(2/4): libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm                                                            | 247 kB  00:00:00     
(3/4): python-chardet-2.2.1-1.el7_1.noarch.rpm                                                              | 227 kB  00:00:00     
(4/4): python-kitchen-1.1.1-5.el7.noarch.rpm                                                                | 267 kB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              1.5 MB/s | 860 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-chardet-2.2.1-1.el7_1.noarch                                                                             1/4
  Installing : python-kitchen-1.1.1-5.el7.noarch                                                                               2/4
  Installing : libxml2-python-2.9.1-6.el7_2.3.x86_64                                                                           3/4
  Installing : yum-utils-1.1.31-46.el7_5.noarch                                                                                4/4
  Verifying  : libxml2-python-2.9.1-6.el7_2.3.x86_64                                                                           1/4
  Verifying  : python-kitchen-1.1.1-5.el7.noarch                                                                               2/4
  Verifying  : yum-utils-1.1.31-46.el7_5.noarch                                                                                3/4
  Verifying  : python-chardet-2.2.1-1.el7_1.noarch                                                                             4/4

Installed:
  yum-utils.noarch 0:1.1.31-46.el7_5                                                                                               

Dependency Installed:
  libxml2-python.x86_64 0:2.9.1-6.el7_2.3      python-chardet.noarch 0:2.2.1-1.el7_1      python-kitchen.noarch 0:1.1.1-5.el7     

Complete!

Update Package Repo

 

yum install https://centos7.iuscommunity.org/ius-release.rpm

[setup@c7 ~]$ sudo yum install https://centos7.iuscommunity.org/ius-release.rpm
Loaded plugins: fastestmirror
ius-release.rpm                                                                                             | 8.1 kB  00:00:00    
Examining /var/tmp/yum-root-nZc9fM/ius-release.rpm: ius-release-1.0-15.ius.centos7.noarch
Marking /var/tmp/yum-root-nZc9fM/ius-release.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ius-release.noarch 0:1.0-15.ius.centos7 will be installed
--> Processing Dependency: epel-release = 7 for package: ius-release-1.0-15.ius.centos7.noarch
Loading mirror speeds from cached hostfile
* base: repos-tx.psychz.net
* extras: repos-tx.psychz.net
* updates: repos-tx.psychz.net
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
Package                        Arch                     Version                              Repository                      Size
===================================================================================================================================
Installing:
ius-release                    noarch                   1.0-15.ius.centos7                   /ius-release                   8.5 k
Installing for dependencies:
epel-release                   noarch                   7-11                                 extras                          15 k

Transaction Summary
===================================================================================================================================
Install  1 Package (+1 Dependent package)

Total size: 23 k
Total download size: 15 k
Installed size: 33 k
Is this ok [y/d/N]: y
Downloading packages:
epel-release-7-11.noarch.rpm                                                                                |  15 kB  00:00:00    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-11.noarch                                                                                        1/2
  Installing : ius-release-1.0-15.ius.centos7.noarch                                                                           2/2
  Verifying  : ius-release-1.0-15.ius.centos7.noarch                                                                           1/2
  Verifying  : epel-release-7-11.noarch                                                                                        2/2

Installed:
  ius-release.noarch 0:1.0-15.ius.centos7                                                                                          

Dependency Installed:
  epel-release.noarch 0:7-11                                                                                                       

Complete!

 

 

 


Install PHP7

yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json -y

 

[setup@c7 ~]$ yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json -y
Loaded plugins: fastestmirror
You need to be root to perform this command.
[setup@c7 ~]$ sudo yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                        | 9.8 kB  00:00:00     
 * base: repos-tx.psychz.net
 * epel: mirror.compevo.com
 * extras: repos-tx.psychz.net
 * ius: ius.mirror.constant.com
 * updates: repos-tx.psychz.net
epel                                                                                                        | 3.2 kB  00:00:00     
ius                                                                                                         | 2.3 kB  00:00:00     
(1/4): epel/x86_64/group_gz                                                                                 |  88 kB  00:00:00     
(2/4): ius/x86_64/primary_db                                                                                | 398 kB  00:00:00     
(3/4): epel/x86_64/updateinfo                                                                               | 934 kB  00:00:00     
(4/4): epel/x86_64/primary                                                                                  | 3.6 MB  00:00:01     
epel                                                                                                                   12737/12737
No package php71u-pear available.
No package php71u-pecl-memcache available.
Resolving Dependencies
--> Running transaction check
---> Package mod_php71u.x86_64 0:7.1.23-1.ius.centos7 will be installed
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: mod_php71u-7.1.23-1.ius.centos7.x86_64
---> Package php71u-cli.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-common.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-fpm.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-gd.x86_64 0:7.1.23-1.ius.centos7 will be installed
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libwebp.so.4()(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: php71u-gd-7.1.23-1.ius.centos7.x86_64
---> Package php71u-json.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-mbstring.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-mysqlnd.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-opcache.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-pdo.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-pecl-igbinary.x86_64 0:2.0.5-2.ius.centos7 will be installed
---> Package php71u-pecl-memcached.x86_64 0:3.0.4-2.ius.centos7 will be installed
--> Processing Dependency: libevent-2.0.so.5()(64bit) for package: php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64
--> Processing Dependency: libfastlz.so.0()(64bit) for package: php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64
--> Processing Dependency: libmemcachedprotocol.so.0()(64bit) for package: php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64
--> Processing Dependency: libmemcached.so.11()(64bit) for package: php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64
--> Processing Dependency: libmemcachedutil.so.2()(64bit) for package: php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64
---> Package php71u-process.x86_64 0:7.1.23-1.ius.centos7 will be installed
---> Package php71u-xml.x86_64 0:7.1.23-1.ius.centos7 will be installed
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php71u-xml-7.1.23-1.ius.centos7.x86_64
--> Running transaction check
---> Package fastlz.x86_64 0:0.1.0-0.1.20070619svnrev12.el7 will be installed
---> Package httpd.x86_64 0:2.4.6-80.el7.centos.1 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-80.el7.centos.1 for package: httpd-2.4.6-80.el7.centos.1.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-80.el7.centos.1.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-80.el7.centos.1.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-80.el7.centos.1.x86_64
---> Package libX11.x86_64 0:1.6.5-1.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.5-1.el7 for package: libX11-1.6.5-1.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.5-1.el7.x86_64
---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed
---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-5.el7 will be installed
---> Package libmemcached.x86_64 0:1.0.16-5.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
---> Package libwebp.x86_64 0:0.3.0-7.el7 will be installed
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
---> Package httpd-tools.x86_64 0:2.4.6-80.el7.centos.1 will be installed
---> Package libX11-common.noarch 0:1.6.5-1.el7 will be installed
---> Package libxcb.x86_64 0:1.12-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.12-1.el7.x86_64
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
--> Running transaction check
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                             Arch                 Version                                      Repository             Size
===================================================================================================================================
Installing:
 mod_php71u                          x86_64               7.1.23-1.ius.centos7                         ius                   3.0 M
 php71u-cli                          x86_64               7.1.23-1.ius.centos7                         ius                   4.5 M
 php71u-common                       x86_64               7.1.23-1.ius.centos7                         ius                   1.1 M
 php71u-fpm                          x86_64               7.1.23-1.ius.centos7                         ius                   1.5 M
 php71u-gd                           x86_64               7.1.23-1.ius.centos7                         ius                   176 k
 php71u-json                         x86_64               7.1.23-1.ius.centos7                         ius                    67 k
 php71u-mbstring                     x86_64               7.1.23-1.ius.centos7                         ius                   583 k
 php71u-mysqlnd                      x86_64               7.1.23-1.ius.centos7                         ius                   236 k
 php71u-opcache                      x86_64               7.1.23-1.ius.centos7                         ius                   243 k
 php71u-pdo                          x86_64               7.1.23-1.ius.centos7                         ius                   129 k
 php71u-pecl-igbinary                x86_64               2.0.5-2.ius.centos7                          ius                   100 k
 php71u-pecl-memcached               x86_64               3.0.4-2.ius.centos7                          ius                    78 k
 php71u-process                      x86_64               7.1.23-1.ius.centos7                         ius                    83 k
 php71u-xml                          x86_64               7.1.23-1.ius.centos7                         ius                   213 k
Installing for dependencies:
 apr                                 x86_64               1.4.8-3.el7_4.1                              base                  103 k
 apr-util                            x86_64               1.5.2-6.el7                                  base                   92 k
 fastlz                              x86_64               0.1.0-0.1.20070619svnrev12.el7               epel                  9.8 k
 httpd                               x86_64               2.4.6-80.el7.centos.1                        updates               2.7 M
 httpd-tools                         x86_64               2.4.6-80.el7.centos.1                        updates                90 k
 libX11                              x86_64               1.6.5-1.el7                                  base                  606 k
 libX11-common                       noarch               1.6.5-1.el7                                  base                  164 k
 libXau                              x86_64               1.0.8-2.1.el7                                base                   29 k
 libXpm                              x86_64               3.5.12-1.el7                                 base                   55 k
 libevent                            x86_64               2.0.21-4.el7                                 base                  214 k
 libjpeg-turbo                       x86_64               1.2.90-5.el7                                 base                  134 k
 libmemcached                        x86_64               1.0.16-5.el7                                 base                  237 k
 libpng                              x86_64               2:1.5.13-7.el7_2                             base                  213 k
 libwebp                             x86_64               0.3.0-7.el7                                  base                  170 k
 libxcb                              x86_64               1.12-1.el7                                   base                  211 k
 libxslt                             x86_64               1.1.28-5.el7                                 base                  242 k
 mailcap                             noarch               2.1.41-2.el7                                 base                   31 k

Transaction Summary
===================================================================================================================================
Install  14 Packages (+17 Dependent packages)

Total download size: 17 M
Installed size: 60 M
Downloading packages:
(1/31): apr-1.4.8-3.el7_4.1.x86_64.rpm                                                                      | 103 kB  00:00:00     
(2/31): apr-util-1.5.2-6.el7.x86_64.rpm                                                                     |  92 kB  00:00:00     
(3/31): httpd-tools-2.4.6-80.el7.centos.1.x86_64.rpm                                                        |  90 kB  00:00:00     
(4/31): libX11-common-1.6.5-1.el7.noarch.rpm                                                                | 164 kB  00:00:00     
(5/31): libX11-1.6.5-1.el7.x86_64.rpm                                                                       | 606 kB  00:00:00     
(6/31): libXpm-3.5.12-1.el7.x86_64.rpm                                                                      |  55 kB  00:00:00     
(7/31): libjpeg-turbo-1.2.90-5.el7.x86_64.rpm                                                               | 134 kB  00:00:00     
(8/31): libevent-2.0.21-4.el7.x86_64.rpm                                                                    | 214 kB  00:00:00     
(9/31): libmemcached-1.0.16-5.el7.x86_64.rpm                                                                | 237 kB  00:00:00     
(10/31): libwebp-0.3.0-7.el7.x86_64.rpm                                                                     | 170 kB  00:00:00     
(11/31): httpd-2.4.6-80.el7.centos.1.x86_64.rpm                                                             | 2.7 MB  00:00:00     
(12/31): libxcb-1.12-1.el7.x86_64.rpm                                                                       | 211 kB  00:00:00     
(13/31): libxslt-1.1.28-5.el7.x86_64.rpm                                                                    | 242 kB  00:00:00     
(14/31): mailcap-2.1.41-2.el7.noarch.rpm                                                                    |  31 kB  00:00:00     
(15/31): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                    |  29 kB  00:00:00     
(16/31): libpng-1.5.13-7.el7_2.x86_64.rpm                                                                   | 213 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/epel/packages/fastlz-0.1.0-0.1.20070619svnrev12.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for fastlz-0.1.0-0.1.20070619svnrev12.el7.x86_64.rpm is not installed
(17/31): fastlz-0.1.0-0.1.20070619svnrev12.el7.x86_64.rpm                                                   | 9.8 kB  00:00:01     
warning: /var/cache/yum/x86_64/7/ius/packages/mod_php71u-7.1.23-1.ius.centos7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 9cd4953f: NOKEY
Public key for mod_php71u-7.1.23-1.ius.centos7.x86_64.rpm is not installed
(18/31): mod_php71u-7.1.23-1.ius.centos7.x86_64.rpm                                                         | 3.0 MB  00:00:00     
(19/31): php71u-json-7.1.23-1.ius.centos7.x86_64.rpm                                                        |  67 kB  00:00:00     
(20/31): php71u-mbstring-7.1.23-1.ius.centos7.x86_64.rpm                                                    | 583 kB  00:00:00     
php71u-gd-7.1.23-1.ius.centos7 FAILED                                          
http://muug.ca/mirror/ius/stable/CentOS/7/x86_64/php71u-gd-7.1.23-1.ius.centos7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not FoundA
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(21/31): php71u-mysqlnd-7.1.23-1.ius.centos7.x86_64.rpm                                                     | 236 kB  00:00:00     
(22/31): php71u-pdo-7.1.23-1.ius.centos7.x86_64.rpm                                                         | 129 kB  00:00:00     
(23/31): php71u-pecl-igbinary-2.0.5-2.ius.centos7.x86_64.rpm                                                | 100 kB  00:00:00     
(24/31): php71u-cli-7.1.23-1.ius.centos7.x86_64.rpm                                                         | 4.5 MB  00:00:01     
(25/31): php71u-process-7.1.23-1.ius.centos7.x86_64.rpm                                                     |  83 kB  00:00:00     
(26/31): php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64.rpm                                               |  78 kB  00:00:00     
(27/31): php71u-common-7.1.23-1.ius.centos7.x86_64.rpm                                                      | 1.1 MB  00:00:01     
(28/31): php71u-gd-7.1.23-1.ius.centos7.x86_64.rpm                                                          | 176 kB  00:00:00     
(29/31): php71u-opcache-7.1.23-1.ius.centos7.x86_64.rpm                                                     | 243 kB  00:00:00     
(30/31): php71u-xml-7.1.23-1.ius.centos7.x86_64.rpm                                                         | 213 kB  00:00:00     
(31/31): php71u-fpm-7.1.23-1.ius.centos7.x86_64.rpm                                                         | 1.5 MB  00:00:03     
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              3.5 MB/s |  17 MB  00:00:04     
Retrieving key from file:///etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Importing GPG key 0x9CD4953F:
 Userid     : "IUS Community Project <coredev@iuscommunity.org>"
 Fingerprint: 8b84 6e3a b3fe 6462 74e8 670f da22 1cdf 9cd4 953f
 Package    : ius-release-1.0-15.ius.centos7.noarch (installed)
 From       : /etc/pki/rpm-gpg/IUS-COMMUNITY-GPG-KEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-11.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : php71u-common-7.1.23-1.ius.centos7.x86_64                                                                      1/31
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                     2/31
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                    3/31
  Installing : libevent-2.0.21-4.el7.x86_64                                                                                   4/31
  Installing : libmemcached-1.0.16-5.el7.x86_64                                                                               5/31
  Installing : httpd-tools-2.4.6-80.el7.centos.1.x86_64                                                                       6/31
  Installing : php71u-pdo-7.1.23-1.ius.centos7.x86_64                                                                         7/31
  Installing : php71u-pecl-igbinary-2.0.5-2.ius.centos7.x86_64                                                                8/31
  Installing : php71u-json-7.1.23-1.ius.centos7.x86_64                                                                        9/31
  Installing : fastlz-0.1.0-0.1.20070619svnrev12.el7.x86_64                                                                  10/31
  Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                   11/31
  Installing : libxcb-1.12-1.el7.x86_64                                                                                      12/31
  Installing : libX11-common-1.6.5-1.el7.noarch                                                                              13/31
  Installing : libX11-1.6.5-1.el7.x86_64                                                                                     14/31
  Installing : libXpm-3.5.12-1.el7.x86_64                                                                                    15/31
  Installing : libxslt-1.1.28-5.el7.x86_64                                                                                   16/31
  Installing : libwebp-0.3.0-7.el7.x86_64                                                                                    17/31
  Installing : 2:libpng-1.5.13-7.el7_2.x86_64                                                                                18/31
  Installing : mailcap-2.1.41-2.el7.noarch                                                                                   19/31
  Installing : httpd-2.4.6-80.el7.centos.1.x86_64                                                                            20/31
  Installing : libjpeg-turbo-1.2.90-5.el7.x86_64                                                                             21/31
  Installing : php71u-gd-7.1.23-1.ius.centos7.x86_64                                                                         22/31
  Installing : mod_php71u-7.1.23-1.ius.centos7.x86_64                                                                        23/31
  Installing : php71u-xml-7.1.23-1.ius.centos7.x86_64                                                                        24/31
  Installing : php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64                                                              25/31
  Installing : php71u-mysqlnd-7.1.23-1.ius.centos7.x86_64                                                                    26/31
  Installing : php71u-fpm-7.1.23-1.ius.centos7.x86_64                                                                        27/31
  Installing : php71u-cli-7.1.23-1.ius.centos7.x86_64                                                                        28/31
  Installing : php71u-mbstring-7.1.23-1.ius.centos7.x86_64                                                                   29/31
  Installing : php71u-opcache-7.1.23-1.ius.centos7.x86_64                                                                    30/31
  Installing : php71u-process-7.1.23-1.ius.centos7.x86_64                                                                    31/31
  Verifying  : libX11-1.6.5-1.el7.x86_64                                                                                      1/31
  Verifying  : php71u-mysqlnd-7.1.23-1.ius.centos7.x86_64                                                                     2/31
  Verifying  : libjpeg-turbo-1.2.90-5.el7.x86_64                                                                              3/31
  Verifying  : mailcap-2.1.41-2.el7.noarch                                                                                    4/31
  Verifying  : httpd-tools-2.4.6-80.el7.centos.1.x86_64                                                                       5/31
  Verifying  : php71u-xml-7.1.23-1.ius.centos7.x86_64                                                                         6/31
  Verifying  : httpd-2.4.6-80.el7.centos.1.x86_64                                                                             7/31
  Verifying  : libxcb-1.12-1.el7.x86_64                                                                                       8/31
  Verifying  : 2:libpng-1.5.13-7.el7_2.x86_64                                                                                 9/31
  Verifying  : php71u-fpm-7.1.23-1.ius.centos7.x86_64                                                                        10/31
  Verifying  : php71u-pdo-7.1.23-1.ius.centos7.x86_64                                                                        11/31
  Verifying  : libmemcached-1.0.16-5.el7.x86_64                                                                              12/31
  Verifying  : php71u-cli-7.1.23-1.ius.centos7.x86_64                                                                        13/31
  Verifying  : php71u-pecl-igbinary-2.0.5-2.ius.centos7.x86_64                                                               14/31
  Verifying  : libXpm-3.5.12-1.el7.x86_64                                                                                    15/31
  Verifying  : libwebp-0.3.0-7.el7.x86_64                                                                                    16/31
  Verifying  : php71u-pecl-memcached-3.0.4-2.ius.centos7.x86_64                                                              17/31
  Verifying  : php71u-mbstring-7.1.23-1.ius.centos7.x86_64                                                                   18/31
  Verifying  : libxslt-1.1.28-5.el7.x86_64                                                                                   19/31
  Verifying  : libevent-2.0.21-4.el7.x86_64                                                                                  20/31
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                   21/31
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                    22/31
  Verifying  : mod_php71u-7.1.23-1.ius.centos7.x86_64                                                                        23/31
  Verifying  : libX11-common-1.6.5-1.el7.noarch                                                                              24/31
  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                   25/31
  Verifying  : php71u-opcache-7.1.23-1.ius.centos7.x86_64                                                                    26/31
  Verifying  : php71u-gd-7.1.23-1.ius.centos7.x86_64                                                                         27/31
  Verifying  : php71u-process-7.1.23-1.ius.centos7.x86_64                                                                    28/31
  Verifying  : fastlz-0.1.0-0.1.20070619svnrev12.el7.x86_64                                                                  29/31
  Verifying  : php71u-json-7.1.23-1.ius.centos7.x86_64                                                                       30/31
  Verifying  : php71u-common-7.1.23-1.ius.centos7.x86_64                                                                     31/31

Installed:
  mod_php71u.x86_64 0:7.1.23-1.ius.centos7                        php71u-cli.x86_64 0:7.1.23-1.ius.centos7                        
  php71u-common.x86_64 0:7.1.23-1.ius.centos7                     php71u-fpm.x86_64 0:7.1.23-1.ius.centos7                        
  php71u-gd.x86_64 0:7.1.23-1.ius.centos7                         php71u-json.x86_64 0:7.1.23-1.ius.centos7                       
  php71u-mbstring.x86_64 0:7.1.23-1.ius.centos7                   php71u-mysqlnd.x86_64 0:7.1.23-1.ius.centos7                    
  php71u-opcache.x86_64 0:7.1.23-1.ius.centos7                    php71u-pdo.x86_64 0:7.1.23-1.ius.centos7                        
  php71u-pecl-igbinary.x86_64 0:2.0.5-2.ius.centos7               php71u-pecl-memcached.x86_64 0:3.0.4-2.ius.centos7              
  php71u-process.x86_64 0:7.1.23-1.ius.centos7                    php71u-xml.x86_64 0:7.1.23-1.ius.centos7                        

Dependency Installed:
  apr.x86_64 0:1.4.8-3.el7_4.1          apr-util.x86_64 0:1.5.2-6.el7               fastlz.x86_64 0:0.1.0-0.1.20070619svnrev12.el7
  httpd.x86_64 0:2.4.6-80.el7.centos.1  httpd-tools.x86_64 0:2.4.6-80.el7.centos.1  libX11.x86_64 0:1.6.5-1.el7                    
  libX11-common.noarch 0:1.6.5-1.el7    libXau.x86_64 0:1.0.8-2.1.el7               libXpm.x86_64 0:3.5.12-1.el7                   
  libevent.x86_64 0:2.0.21-4.el7        libjpeg-turbo.x86_64 0:1.2.90-5.el7         libmemcached.x86_64 0:1.0.16-5.el7             
  libpng.x86_64 2:1.5.13-7.el7_2        libwebp.x86_64 0:0.3.0-7.el7                libxcb.x86_64 0:1.12-1.el7                     
  libxslt.x86_64 0:1.1.28-5.el7         mailcap.noarch 0:2.1.41-2.el7              

Complete!

 

 


 

Edit php.ini

nano /etc/php.ini

memory allocations

memory_limit = 1000M

extensions

curl

 

 


Session: install wget

[setup@c7 bin]$ sudo yum install wget
[sudo] password for setup:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-tx.psychz.net
 * epel: mirror.compevo.com
 * extras: repos-tx.psychz.net
 * ius: ius.mirror.constant.com
 * updates: repos-tx.psychz.net
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-15.el7_4.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                    Arch                         Version                                  Repository                  Size
===================================================================================================================================
Installing:
 wget                       x86_64                       1.14-15.el7_4.1                          base                       547 k

Transaction Summary
===================================================================================================================================
Install  1 Package

Total download size: 547 k
Installed size: 2.0 M
Is this ok [y/d/N]: y
Downloading packages:
wget-1.14-15.el7_4.1.x86_64.rpm                                                                             | 547 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wget-1.14-15.el7_4.1.x86_64                                                                                     1/1
  Verifying  : wget-1.14-15.el7_4.1.x86_64                                                                                     1/1

Installed:
  wget.x86_64 0:1.14-15.el7_4.1                                                                                                    

Complete!

 

 


php7 install session WITHOUT Centos7 Release RPM Update

yum install https://centos7.iuscommunity.org/ius-release.rpm

setup@c7 ~]$ yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json -y
Loaded plugins: fastestmirror
You need to be root to perform this command.
[setup@c7 ~]$ sudo yum install php71u php71u-cli php71u-common php71u-fpm php71u-gd php71u-mbstring php71u-mysqlnd php71u-opcache php71u-pdo php71u-pear php71u-pecl-igbinary php71u-pecl-memcache php71u-pecl-memcached php71u-process php71u-xml php71u-json -y
[sudo] password for setup:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repos-tx.psychz.net
 * extras: repos-tx.psychz.net
 * updates: repos-tx.psychz.net
No package php71u available.
No package php71u-cli available.
No package php71u-common available.
No package php71u-fpm available.
No package php71u-gd available.
No package php71u-mbstring available.
No package php71u-mysqlnd available.
No package php71u-opcache available.
No package php71u-pdo available.
No package php71u-pear available.
No package php71u-pecl-igbinary available.
No package php71u-pecl-memcache available.
No package php71u-pecl-memcached available.
No package php71u-process available.
No package php71u-xml available.
No package php71u-json available.
Error: Nothing to do

 


SSH - already installed via network-tools

yum install openssh openssh-server openssh-clients openssl-libs

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig

nano /etc/ssh/sshd_config

systemctl restart sshd.service

 

 

 

 

Tags