12 2022 档案
摘要:第一步:进入到/lib/systemd/system/目录 cd /lib/systemd/system/ 第二步:创建nginx.service文件,并编辑 vim nginx.service 文件内容 [Unit] Description=nginx service After=network.
阅读全文
摘要:1、查看当前系统语言命令: echo $LANG 英文环境:en_US.UTF-8中文环境:zh_CN.UTF-82、临时修改命令: LANG=“语言环境” 3、永久修改需要修改语言文件 /etc/locale.conf (1)首先输入命令 vi /etc/locale.conf 并回车进入编辑界面
阅读全文
摘要:在centos-stream中安装nginx-1.9.15时 遇到在make时遇到如下问题: 在nginx文件夹里执行make命令报错 src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=i
阅读全文