ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
CentOS安装Nginx ``` rpm -qa | grep nginx #查看是否安装过nginx yum remove -y "nginx*" #有就卸载nginx yum install -y nginx #重新安装nginx systemctl status nginx #查看启动状态 systemctl start nginx #启动nginx systemctl enable nginx #添加开机启动 firewall-cmd --list-ports #查看已开放的端口 systemctl start firewalld #开启防火墙 #设置防火墙开放tcp80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --reload firewall-cmd --query-port=80/tcp ``` Linux安装LNMP(Linux+Nginx+MySQL+PHP)(centos8) https://blog.csdn.net/renfeigui0/article/details/103626529 如何启动,停止和重新启动Nginx(Systemctl和Nginx命令) https://blog.csdn.net/luoganttcc/article/details/113852646