ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 웹서버 Apache Httpd 설치
    Linux 2023. 4. 6. 14:05

    # rpm -qa | grep httpd

    # dnf install httpd

    # systemctl start httpd

    # httpd -v
    Server version: Apache/2.4.53 (Red Hat Enterprise Linux)
    Server built:   Jul 20 2022 00:00:00

    # systemctl status httpd
    ● httpd.service - The Apache HTTP Server
         Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
         Active: active (running) since Thu 2023-04-06 14:03:34 KST; 2s ago
           Docs: man:httpd.service(8)
       Main PID: 13563 (httpd)
         Status: "Started, listening on: port 80"
          Tasks: 213 (limit: 10980)
         Memory: 37.8M
            CPU: 218ms
         CGroup: /system.slice/httpd.service
                 ├─13563 /usr/sbin/httpd -DFOREGROUND
                 ├─13564 /usr/sbin/httpd -DFOREGROUND
                 ├─13565 /usr/sbin/httpd -DFOREGROUND
                 ├─13566 /usr/sbin/httpd -DFOREGROUND
                 └─13567 /usr/sbin/httpd -DFOREGROUND

     4월 06 14:03:34 zweb1 systemd[1]: Starting The Apache HTTP Server...
     4월 06 14:03:34 zweb1 httpd[13563]: Server configured, listening on: port 80
     4월 06 14:03:34 zweb1 systemd[1]: Started The Apache HTTP Server.

    # systemctl enable httpd
    Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.

    확인

    웹브라우저 or curl

     

     

     

    'Linux' 카테고리의 다른 글

    WAS tomcat  (0) 2023.04.11
    Linux Mint 리눅스 민트 설치 linuxmint-21.1  (0) 2023.04.07
    리눅스 설치 후 작업  (0) 2023.04.05
    Redhat Enterprise Linux 9.1 설치  (0) 2023.04.05
    인터넷이 안되는 상황에서 dnf (Yum) 사용하기  (0) 2023.03.27
Designed by Tistory.