Xshell 7 (Build 0085)
Copyright © 2020 NetSarang Computer, Inc. All rights reserved.
Type `help’ to learn how to use Xshell prompt.
[C:~]$
Connecting to 39.105.208.151:22…
Connection established.
To escape to local shell, press ‘Ctrl+Alt+]’.
WARNING! The remote SSH server rejected X11 forwarding request.
Last login: Tue Oct 5 01:23:28 2021 from 119.186.75.31
Welcome to Alibaba Cloud Elastic Compute Service !
[root@iZ2ze17576m2eqmvvfsbq0Z ~]# ls
ashang Python-3.7.3.tgz
[root@iZ2ze17576m2eqmvvfsbq0Z ~]# cd ashang/
[root@iZ2ze17576m2eqmvvfsbq0Z ashang]# ls
apps ashang conf manage.py requirements.txt static templates xadmin
[root@iZ2ze17576m2eqmvvfsbq0Z ashang]# cd conf
[root@iZ2ze17576m2eqmvvfsbq0Z conf]# ls
nginx uwsgi
[root@iZ2ze17576m2eqmvvfsbq0Z conf]# cd nginx/
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# ls
uc_nginx.conf
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# cp uc_nginx.conf /etc/nginx/conf.d/
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# ls /etc/nginx/conf.d/
uc_nginx.conf
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# vim /etc/nginx/
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# vim /etc/nginx/
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# vim /etc/nginx/nginx.conf
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# ps aux|grep nginx
root 379 0.0 0.1 112708 984 pts/2 S+ 02:34 0:00 grep --color=auto nginx
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# sudo systemctl start nginx
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# ls /etc/nginx/conf.d/
uc_nginx.conf
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# vim /etc/nginx/
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# ls
uc_nginx.conf
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# /etc/nginx/
-bash: /etc/nginx/: Is a directory
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# vim /etc/nginx/nginx.conf
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.
[root@iZ2ze17576m2eqmvvfsbq0Z nginx]# sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.