#启动http
[root@172 network-scripts]# systemctl start httpd
#加入http到开机启动
[root@172 network-scripts]# systemctl enable httpd.service
#启动mysql
[root@172 network-scripts]# systemctl start mysqld
#加入mysql到开机启动
[root@172 network-scripts]# systemctl enable mysqld.service