Yum을 이용한 방법이 아닌 Package 설치(단독망 및 보안 설정으로 인한 인터넷 접속 불가 가정)
[root@Source ~]# mount /dev/dvd /media
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@Source ~]# ls
anaconda-ks.cfg install.log install.log.syslog
[root@Source ~]# cd ..
[root@Source /]# ls
bin cgroup etc lib lost+found misc net proc sbin srv tmp var
boot dev home lib64 media mnt opt root selinux sys usr
[root@Source /]# cd media
[root@Source media]# ls
CentOS_BuildTag isolinux RPM-GPG-KEY-CentOS-Debug-6
EFI Packages RPM-GPG-KEY-CentOS-Security-6
EULA RELEASE-NOTES-en-US.html RPM-GPG-KEY-CentOS-Testing-6
GPL repodata TRANS.TBL
images RPM-GPG-KEY-CentOS-6
[root@Source media]# cd Packages/
삽입한 img를 media에 mount
[root@Source Packages]# ls httpd*
httpd-2.2.15-69.el6.centos.x86_64.rpm
httpd-devel-2.2.15-69.el6.centos.x86_64.rpm
httpd-manual-2.2.15-69.el6.centos.noarch.rpm
httpd-tools-2.2.15-69.el6.centos.x86_64.rpm
httpd-2.2.15-69.el6.centos.x86_64.rpm 설치
[root@Source Packages]# rpm -ivh httpd-2.2.15-69.el6.centos.x86_64.rpm
warning: httpd-2.2.15-69.el6.centos.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
apr-util-ldap is needed by httpd-2.2.15-69.el6.centos.x86_64
httpd-tools = 2.2.15-69.el6.centos is needed by httpd-2.2.15-69.el6.centos.x86_64
libapr-1.so.0()(64bit) is needed by httpd-2.2.15-69.el6.centos.x86_64
libaprutil-1.so.0()(64bit) is needed by httpd-2.2.15-69.el6.centos.x86_64
의존성 설치 진행 오류
apr-1.3.9-5.el6_9.1.x86_64.rpm
apr-util-1.3.9-3.el6_0.1.x86_64.rpm
apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm
httpd-tools-2.2.15-69.el6.centos.x86_64.rpm
httpd-2.2.15-69.el6.centos.x86_64.rpm
순차적으로 따라가면 위의 설치 순서가 만들어 진다.
[root@Source Packages]# rpm -qa | grep httpd
httpd-tools-2.2.15-69.el6.centos.x86_64
httpd-2.2.15-69.el6.centos.x86_64
[root@Source Packages]# service httpd status
httpd is stopped
[root@Source Packages]# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for Source
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
'Server' 카테고리의 다른 글
CentOS 8.0.1905 Install (0) | 2019.10.04 |
---|---|
CentOS6-Multi Web Server by name (0) | 2019.05.23 |
DNS - Slave Server (0) | 2019.05.16 |
FTP Server install - CentOS6.10 (0) | 2019.05.08 |