How start / stop service in Centos 7 ?
We assume that you are familiar with command line. You can use following commands.
To check status of apache
systemctl status httpd.service
To start apache
systemctl start httpd.service
To Stop apache
systemctl stop httpd.service
Similarly you can use commands for mysql like systemctl status mysql.service
For Network Service systemctl status network.service
For centos 6 you can simply run following commands
For apache service httpd status or /etc/init.d/httpd status
For MySql service mysql status or /etc/init.d/mysql status
For Network service network status or /etc/init.d/network status
If you have any suggestion or query you can contact with us on [email protected]