httpd centos 7
[root@localhost init.d]# yum install httpd*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: repos.del.extreme-ix.org
* extras: repos.del.extreme-ix.org
* updates: repos.del.extreme-ix.org
hudson | 2.9 kB 00:00:00
hudson/primary_db | 2.7 kB 00:00:01
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-89.el7.centos.x86_64
---> Package httpd-devel.x86_64 0:2.4.6-89.el7.centos will be installed
--> Processing Dependency: apr-util-devel for package: httpd-devel-2.4.6-89.el7.centos.x86_64
--> Processing Dependency: apr-devel for package: httpd-devel-2.4.6-89.el7.centos.x86_64
---> Package httpd-manual.noarch 0:2.4.6-89.el7.centos will be installed
---> Package httpd-tools.x86_64 0:2.4.6-89.el7.centos will be installed
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7_4.1 will be installed
---> Package apr-devel.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 apr-util-devel.x86_64 0:1.5.2-6.el7 will be installed
--> Processing Dependency: openldap-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Processing Dependency: libdb-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Processing Dependency: expat-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-10.el7_3 will be installed
---> Package libdb-devel.x86_64 0:5.3.21-24.el7 will be installed
---> Package openldap-devel.x86_64 0:2.4.44-21.el7_6 will be installed
--> Processing Dependency: openldap(x86-64) = 2.4.44-21.el7_6 for package: openldap-devel-2.4.44-21.el7_6.x86_64
--> Processing Dependency: cyrus-sasl-devel(x86-64) for package: openldap-devel-2.4.44-21.el7_6.x86_64
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.26-23.el7 will be installed
---> Package openldap.x86_64 0:2.4.44-13.el7 will be updated
---> Package openldap.x86_64 0:2.4.44-21.el7_6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
httpd x86_64 2.4.6-89.el7.centos updates 2.7 M
httpd-devel x86_64 2.4.6-89.el7.centos updates 196 k
httpd-manual noarch 2.4.6-89.el7.centos updates 1.3 M
httpd-tools x86_64 2.4.6-89.el7.centos updates 90 k
Installing for dependencies:
apr x86_64 1.4.8-3.el7_4.1 base 103 k
apr-devel x86_64 1.4.8-3.el7_4.1 base 188 k
apr-util x86_64 1.5.2-6.el7 base 92 k
apr-util-devel x86_64 1.5.2-6.el7 base 76 k
cyrus-sasl-devel x86_64 2.1.26-23.el7 base 310 k
expat-devel x86_64 2.1.0-10.el7_3 base 57 k
libdb-devel x86_64 5.3.21-24.el7 base 38 k
mailcap noarch 2.1.41-2.el7 base 31 k
openldap-devel x86_64 2.4.44-21.el7_6 updates 804 k
Updating for dependencies:
openldap x86_64 2.4.44-21.el7_6 updates 356 k
Transaction Summary
=======================================================================================
Install 4 Packages (+9 Dependent packages)
Upgrade ( 1 Dependent package)
Total download size: 6.3 M
Is this ok [y/d/N]: y
Downloading packages:
Not downloading deltainfo for updates, MD is 681 k and rpms are 356 k
(1/14): apr-1.4.8-3.el7_4.1.x86_64.rpm | 103 kB 00:00:01
(2/14): expat-devel-2.1.0-10.el7_3.x86_64.rpm | 57 kB 00:00:00
(3/14): apr-devel-1.4.8-3.el7_4.1.x86_64.rpm | 188 kB 00:00:01
(4/14): apr-util-devel-1.5.2-6.el7.x86_64.rpm | 76 kB 00:00:01
(5/14): httpd-devel-2.4.6-89.el7.centos.x86_64.rpm | 196 kB 00:00:00
(6/14): apr-util-1.5.2-6.el7.x86_64.rpm | 92 kB 00:00:01
(7/14): httpd-tools-2.4.6-89.el7.centos.x86_64.rpm | 90 kB 00:00:00
(8/14): mailcap-2.1.41-2.el7.noarch.rpm | 31 kB 00:00:00
(9/14): httpd-manual-2.4.6-89.el7.centos.noarch.rpm | 1.3 MB 00:00:00
(10/14): openldap-2.4.44-21.el7_6.x86_64.rpm | 356 kB 00:00:00
(11/14): httpd-2.4.6-89.el7.centos.x86_64.rpm | 2.7 MB 00:00:01
(12/14): openldap-devel-2.4.44-21.el7_6.x86_64.rpm | 804 kB 00:00:00
(13/14): libdb-devel-5.3.21-24.el7.x86_64.rpm | 38 kB 00:00:00
(14/14): cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm | 310 kB 00:00:05
---------------------------------------------------------------------------------------
Total 913 kB/s | 6.3 MB 00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : apr-1.4.8-3.el7_4.1.x86_64 1/15
Installing : apr-util-1.5.2-6.el7.x86_64 2/15
Installing : apr-devel-1.4.8-3.el7_4.1.x86_64 3/15
Installing : httpd-tools-2.4.6-89.el7.centos.x86_64 4/15
Installing : expat-devel-2.1.0-10.el7_3.x86_64 5/15
Updating : openldap-2.4.44-21.el7_6.x86_64 6/15
Installing : libdb-devel-5.3.21-24.el7.x86_64 7/15
Installing : mailcap-2.1.41-2.el7.noarch 8/15
Installing : httpd-2.4.6-89.el7.centos.x86_64 9/15
Installing : cyrus-sasl-devel-2.1.26-23.el7.x86_64 10/15
Installing : openldap-devel-2.4.44-21.el7_6.x86_64 11/15
Installing : apr-util-devel-1.5.2-6.el7.x86_64 12/15
Installing : httpd-devel-2.4.6-89.el7.centos.x86_64 13/15
Installing : httpd-manual-2.4.6-89.el7.centos.noarch 14/15
Cleanup : openldap-2.4.44-13.el7.x86_64 15/15
Verifying : httpd-tools-2.4.6-89.el7.centos.x86_64 1/15
Verifying : cyrus-sasl-devel-2.1.26-23.el7.x86_64 2/15
Verifying : apr-devel-1.4.8-3.el7_4.1.x86_64 3/15
Verifying : apr-util-devel-1.5.2-6.el7.x86_64 4/15
Verifying : mailcap-2.1.41-2.el7.noarch 5/15
Verifying : apr-util-1.5.2-6.el7.x86_64 6/15
Verifying : libdb-devel-5.3.21-24.el7.x86_64 7/15
Verifying : httpd-manual-2.4.6-89.el7.centos.noarch 8/15
Verifying : httpd-devel-2.4.6-89.el7.centos.x86_64 9/15
Verifying : httpd-2.4.6-89.el7.centos.x86_64 10/15
Verifying : openldap-2.4.44-21.el7_6.x86_64 11/15
Verifying : apr-1.4.8-3.el7_4.1.x86_64 12/15
Verifying : expat-devel-2.1.0-10.el7_3.x86_64 13/15
Verifying : openldap-devel-2.4.44-21.el7_6.x86_64 14/15
Verifying : openldap-2.4.44-13.el7.x86_64 15/15
Installed:
httpd.x86_64 0:2.4.6-89.el7.centos httpd-devel.x86_64 0:2.4.6-89.el7.centos
httpd-manual.noarch 0:2.4.6-89.el7.centos httpd-tools.x86_64 0:2.4.6-89.el7.centos
Dependency Installed:
apr.x86_64 0:1.4.8-3.el7_4.1 apr-devel.x86_64 0:1.4.8-3.el7_4.1
apr-util.x86_64 0:1.5.2-6.el7 apr-util-devel.x86_64 0:1.5.2-6.el7
cyrus-sasl-devel.x86_64 0:2.1.26-23.el7 expat-devel.x86_64 0:2.1.0-10.el7_3
libdb-devel.x86_64 0:5.3.21-24.el7 mailcap.noarch 0:2.1.41-2.el7
openldap-devel.x86_64 0:2.4.44-21.el7_6
Dependency Updated:
openldap.x86_64 0:2.4.44-21.el7_6
Complete!
[root@localhost init.d]# service httpd start
Redirecting to /bin/systemctl start httpd.service
[root@localhost init.d]# chkconfig httpd on
Note: Forwarding request to 'systemctl enable httpd.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
root@localhost yum.repos.d]# firewall-cmd --zone=public --add-service=http --permanent
success
[root@localhost yum.repos.d]# firewall-cmd --zone=public --add-service=https --permanent
success
root@localhost yum.repos.d]# firewall-cmd --zone=public --list-services
ssh dhcpv6-client
firewall-cmd: error: unrecognized arguments: reload
[root@localhost yum.repos.d]# firewall-cmd --reload
success
[root@localhost yum.repos.d]# firewall-cmd --zone=public --list-services
ssh dhcpv6-client http https
[root@localhost init.d]# chkconfig hudson on
[root@localhost init.d]# chkconfig tomcat on
Note: Forwarding request to 'systemctl enable tomcat.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/tomcat.service to /usr/lib/systemd/system/tomcat.service.
Comments
Post a Comment