Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • telnet ping02 80 from pinger showed it was not open.
  • If you just want to start apache, after downloading it you can run:
    sudo systemctl enable httpd
    sudo systemctl start httpd 

    Code Block
    [root@ping02 pinger-2.0.7]# systemctl enable httpd #This command ensures apache starts after a reboot
    Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
    [root@ping02 pinger-2.0.7]# systemctl start httpd #Starts Apache immediately. You can replace start with restart
    [root@ping02 pinger-2.0.7]# ps -efl | grep httpd
    4 S root      33322      1  0  80   0 - 55488 poll_s 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33323  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33324  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33325  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33326  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    5 S apache    33327  33322  0  80   0 - 58550 inet_c 09:20 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
    0 S root      33334  31095  0  80   0 - 28165 pipe_w 09:23 pts/0    00:00:00 grep --color=auto httpd

...