阿⾥云服务器配置清单
2021年1⽉18⽇,购买阿⾥云服务器最低档,继续搭建:1、升级:yum upgrade;2、安装mysql8.0.23;3、安装java1.8.0_275;4、安装nodejs-v14.15.3;
5、安装apache2.4.6-97:yum -y install httpd httpd-manual httpd-devel mod_ssl mod_perl mod_auth_mysql;6、安装.net5.0.102;7、安装php8.0.1;8、安装nginx1.16
Welcome to Alibaba Cloud Elastic Compute Service !
[root@vmcentos7 ~]# systemctl status mysqld● mysqld.service - MySQL Server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)Active: active (running) since Wed 2021-01-20 09:21:50 CST; 1min 4s agoDocs: man:mysqld(8)
http://dev.mysql.com/doc/refman/en/using-systemd.html
Process: 783 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)Main PID: 1065 (mysqld)
Status: \"Server is operational\"
CGroup: /system.slice/mysqld.service└─1065 /usr/sbin/mysqld
Jan 20 09:21:42 vmcentos7.aliyun systemd[1]: Starting MySQL Server...Jan 20 09:21:50 vmcentos7.aliyun systemd[1]: Started MySQL Server.[root@vmcentos7 ~]# systemctl status nginx
● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)Active: active (running) since Wed 2021-01-20 09:21:43 CST; 1min 50s agoProcess: 868 ExecStart=/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Process: 802 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 779 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)Main PID: 6 (nginx)
CGroup: /system.slice/nginx.service
├─6 nginx: master process /usr/sbin/nginx└─900 nginx: worker process
Jan 20 09:21:42 vmcentos7.aliyun systemd[1]: Starting The nginx HTTP and reverse proxy server...
Jan 20 09:21:42 vmcentos7.aliyun nginx[802]: nginx: the configuration file /etc/nginx/nginx.conf syntax is okJan 20 09:21:42 vmcentos7.aliyun nginx[802]: nginx: configuration file /etc/nginx/nginx.conf test is successfulJan 20 09:21:43 vmcentos7.aliyun systemd[1]: Started The nginx HTTP and reverse proxy server.[root@vmcentos7 ~]# 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 Wed 2021-01-20 09:21:43 CST; 1min 57s agoDocs: man:httpd(8)man:apachectl(8)
Main PID: 785 (/usr/sbin/httpd)
Status: \"Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec\"CGroup: /system.slice/httpd.service
├─785 /usr/sbin/httpd -DFOREGROUND├─957 /usr/sbin/httpd -DFOREGROUND├─958 /usr/sbin/httpd -DFOREGROUND├─9 /usr/sbin/httpd -DFOREGROUND├─968 /usr/sbin/httpd -DFOREGROUND└─969 /usr/sbin/httpd -DFOREGROUND
Jan 20 09:21:42 vmcentos7.aliyun systemd[1]: Starting The Apache HTTP Server...
Jan 20 09:21:43 vmcentos7.aliyun httpd[785]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, usingvmcentos7.aliyun. Set the 'ServerName' directive globally to suppress this messageJan 20 09:21:43 vmcentos7.aliyun systemd[1]: Started The Apache HTTP Server.
[root@vmcentos7 ~]# systemctl status php-fpm
● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)Active: active (running) since Wed 2021-01-20 09:21:43 CST; 2min 50s agoMain PID: 778 (php-fpm)
Status: \"Processes active: 0, idle: 5, Requests: 0, slow: 0, Traffic: 0req/sec\"CGroup: /system.slice/php-fpm.service
├─778 php-fpm: master process (/etc/php-fpm.conf)├─4 php-fpm: pool www├─7 php-fpm: pool www├─901 php-fpm: pool www├─902 php-fpm: pool www└─904 php-fpm: pool www
Jan 20 09:21:42 vmcentos7.aliyun systemd[1]: Starting The PHP FastCGI Process Manager...Jan 20 09:21:43 vmcentos7.aliyun systemd[1]: Started The PHP FastCGI Process Manager.