apache 설치
Remark:
apache를 설치해 보자
1. yum -y install httpd
명령시 실행시 다음과 같이 나오면 이미 아파치 설치된 상태
|
# yum -y install httpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.kakao.com * epel: mirrors.ustc.edu.cn * extras: mirror.kakao.com * updates: mirror.navercorp.com Package httpd-2.4.6-97.el7.centos.x86_64 already installed and latest version Nothing to do |
2. Apache(httpd) start
3. Apache(httpd) booting start setting
|
# systemctl enable httpd.service Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service. |
4. Apache(httpd) Confugration
|
# vi /etc/httpd/conf/httpd.conf |
5. Web Test
