|
Last login: Sat Jun 29 22:39:50 2024 from 47.96.60.216
Welcome to Alibaba Cloud Elastic Compute Service !
[root@iZbp1ekggjg5d0mi0p58seZ ~]# systemctl start httpd [root@iZbp1ekggjg5d0mi0p58seZ ~]# systemctl enable httpd Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service. [root@iZbp1ekggjg5d0mi0p58seZ ~]# systemctl status httpd ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2024-06-29 22:40:07 CST; 6s ago Docs: man:httpd(8) man:apachectl(8) Main PID: 2124 (httpd) Status: "Processing requests..." CGroup: /system.slice/httpd.service ├─2124 /usr/sbin/httpd -DFOREGROUND ├─2132 /usr/sbin/httpd -DFOREGROUND ├─2133 /usr/sbin/httpd -DFOREGROUND ├─2135 /usr/sbin/httpd -DFOREGROUND ├─2136 /usr/sbin/httpd -DFOREGROUND └─2137 /usr/sbin/httpd -DFOREGROUND
Jun 29 22:40:06 iZbp1ekggjg5d0mi0p58seZ systemd[1]: Starting The Apache HTTP Server... Jun 29 22:40:07 iZbp1ekggjg5d0mi0p58seZ systemd[1]: Started The Apache HTTP Server. [root@iZbp1ekggjg5d0mi0p58seZ ~]# [root@iZbp1ekggjg5d0mi0p58seZ ~]# systemctl start mysqld [root@iZbp1ekggjg5d0mi0p58seZ ~]# systemctl enable mysqld Created symlink from /etc/systemd/system/multi-user.target.wants/mysqld.service to /usr/lib/systemd/system/mysqld.service. [root@iZbp1ekggjg5d0mi0p58seZ ~]# systemctl status mysqld ● mysqld.service - MySQL Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2024-06-29 22:40:20 CST; 974ms ago Docs: man:mysqld(8) http://dev.mysql.com/doc/refman/en/using-systemd.html Main PID: 2241 (mysqld) CGroup: /system.slice/mysqld.service └─2241 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
Jun 29 22:40:19 iZbp1ekggjg5d0mi0p58seZ systemd[1]: Starting MySQL Server... Jun 29 22:40:20 iZbp1ekggjg5d0mi0p58seZ systemd[1]: Started MySQL Server. [root@iZbp1ekggjg5d0mi0p58seZ ~]#
|