08 2018 档案

中文乱码与字体库windows
摘要:设置中文后,查看图形有乱码,文字变成了方块 Win+R打开运行,输入fonts,回车进入Windows字体目录,找到微软雅黑-常规字体,复制出来将文件名修改为msyh.ttf,注意后缀ttf。 将msyh.ttf上传到服务器zabbix字体目录中: /usr/share/zabbix/fonts/ 阅读全文

posted @ 2018-08-10 09:46 szllq2000 阅读(2680) 评论(0) 推荐(0)

zabbix zatree centos7安装zabbix-agent
摘要:https://github.com/Emersonxuelinux/zatree-3.0-/tree/master/zabbix-3.0.x /bin/sh /config/ds.sh /tmp/zabbix_agentd.pid sudo -u zabbix /usr/local/sbin/za 阅读全文

posted @ 2018-08-10 09:44 szllq2000 阅读(191) 评论(0) 推荐(0)

mail 发送email
摘要:(一)首先安装ssmpt和mailutils: sudo apt-get install ssmtp mailutils (二)接下来编辑配置文件sudo gedit /etc/ssmtp/ssmtp.conf root=YOUR_PERSONAL_MAIL@DOMAIN mailhub=smtp. 阅读全文

posted @ 2018-08-10 09:40 szllq2000 阅读(175) 评论(0) 推荐(0)

inotifywait实现目录监控--http://man.linuxde.net/inotifywait
摘要:sudo apt install inotify-tools while inotifywait -q -r -e create,delete,modify,move,attrib --exclude "/\." /etc/nginx/ /data/conf/nginx/; do nginx -t 阅读全文

posted @ 2018-08-10 09:39 szllq2000 阅读(326) 评论(0) 推荐(0)

https://pypi.org/project/py-mysql2pgsql/
摘要:https://packages.ubuntu.com/trusty/postgresql-server-dev-9.3 所以使用下面的命令即可安装python-dev: I just had to install this on my CentOS 6 server since psycopg2 阅读全文

posted @ 2018-08-10 09:38 szllq2000 阅读(1635) 评论(0) 推荐(0)