committed by
Manish Giri
parent
2a1ae19bd1
commit
c7b1c92b3f
@ -25,7 +25,7 @@ So directly install **httpd** software -
|
|||||||
### Start services -
|
### Start services -
|
||||||
- If we use **systemctl** to start the services, this will not work and gives an error.
|
- If we use **systemctl** to start the services, this will not work and gives an error.
|
||||||
- **systemctl** doesn't work in docker.
|
- **systemctl** doesn't work in docker.
|
||||||
- In actual RedHat system, when we start a service it actually runs a script in background. That script start daemons.
|
- In actual RedHat system, when we start a service it actually runs a script in background. That script starts daemons.
|
||||||
- To find the path of that script, check status of service
|
- To find the path of that script, check status of service
|
||||||
`$ systemctl status httpd`
|
`$ systemctl status httpd`
|
||||||
`Loaded` option shows script file path.
|
`Loaded` option shows script file path.
|
||||||
@ -76,4 +76,4 @@ $ /usr/sbin/httpd
|
|||||||
$ yum install net-tool
|
$ yum install net-tool
|
||||||
|
|
||||||
$ ifconfig
|
$ ifconfig
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user