网站首页
编程语言
数据库
系统相关
其他分享
编程问答
dsc1
2024-05-31
django项目部署到服务器
1.安装python[root@dsc1nginx]#python-VPython3.6.5 2.安装数据库yuminstallmysqlmysql-develyuminstallsqlite-devel 3.安装django[root@dsc1mydjango]#pip3installdjangopipisconfiguredwithlocationsthatrequireTLS/SSL,howeverthesslmodu
2024-05-30
centos 7安装nginx
1.安装nginx[root@dsc1~]#yuminstall-ynginx[root@dsc1~]#rpm-qa|grepnginxnginx-1.20.1-10.el7.x86_64nginx-filesystem-1.20.1-10.el7.noarch 2.启动systemctlstartnginxsystemctlstatusnginx 3.访问[root@dsc1~]#curl-I127.0.0.1HTTP/1.1200OKServer