ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[Linux虚拟机中安装VMware Tools](http://www.cnblogs.com/Parallel-Life/archive/2012/02/18/2356868.html) # node # nginx ## 安装 yum 安装 Nginx,非常简单,一条命令。 ~~~ $ sudo yum install nginx ~~~ ## 配置 Nginx 服务 设置开机启动 ~~~ $ sudo systemctl enable nginx $ sudo systemctl start nginx $ sudo systemctl restart nginx ~~~ 重新加载,因为一般重新配置之后,不希望重启服务,这时可以使用重新加载。 ~~~ $ sudo systemctl reload nginx ~~~ ## 参考 [How to Set Up Nginx Server Blocks on CentOS 7](https://linuxize.com/post/how-to-set-up-nginx-server-blocks-on-centos-7/) [CentOS 7 下 yum 安装和配置 Nginx](https://qizhanming.com/blog/2018/08/06/how-to-install-nginx-on-centos-7)