linux使用lvm分区
摘要:lvm分区 试验环境 centos 6.5 借图如下 一、LVM原理传统文件系统,比如这个盘只有300G,那么建立在这个300G上面的文件系统最多只能用到300G,但是有了LVM这个功能后,我们建立文件系统的盘就不是建立在物理盘上,而是建立在一个叫LV逻辑卷上面,这个卷是一个逻辑概念不是物理盘,空间
阅读全文
posted @
2020-04-22 16:02
牛肉丨火锅
阅读(1885)
推荐(0) 编辑
/application/zabbix/sbin/zabbix_server: error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory
摘要:在启动/usr/local/zabbix/sbin/zabbix_server 时报错如下 此时需要配置一个软连接指向该位置。 ln -s /usr/local/mysql/lib/libmysqlclient.so.20 /usr/lib64 注意:注意mysql目录位置及目录名,有的时候安装my
阅读全文
posted @
2020-04-02 11:40
牛肉丨火锅
阅读(2591)
推荐(2) 编辑
nginx+php部署FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream错误
摘要:部署zabbix的lnmp环境时,测试php页面打不开,查看nginx的errorlog日志,报错FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, 1、网上查询有
阅读全文
posted @
2020-04-02 09:36
牛肉丨火锅
阅读(14528)
推荐(0) 编辑
nginx+php部署时/srv/nginx/html/favicon.ico" failed (2: No such file or directory)错误
摘要:网上关于此问题的解决方法千篇一律。解决方法就是关闭favicon.ico的日志 编辑nginx.conf,添加如下命令 location = /favicon.ico { log_not_found off; access_log off; }
阅读全文
posted @
2020-04-02 09:12
牛肉丨火锅
阅读(6492)
推荐(0) 编辑