共 23 篇文章 |
|
[原]zabbix 实战总结 修改配置/usr/local/zabbix/etc/zabbix_server.conf:cp misc/init.d/tru64/zabbix_server /etc/init.d/zabbix_server.ln -s/usr/local/zabbix_agent/sbin/zabbix_* /usr/local/sbin//usr/local/zabbix_agent/etc/zabbix_agentd.conf//可指定。编辑配置/usr/local/zabbix_proxy/etc/zabbix_proxy.conf./usr/local/zabbix_agent/etc/zabbix_agen... 阅1277 转12 评0 公众公开 19-03-12 17:19 |
Jquery获取File input所选的文件数据(chrome)在选择好文件之后,通过Jquery获取到文件内容。//获取到文件列表if(files.length == 0){ alert(''''''''请选择文件''''''''); return;}else{ var reader = new FileReader();//新建一个FileReader reader.readAsText(files[0], ... 阅5775 转15 评0 公众公开 18-11-26 17:57 |
启动的时候需要加上--plugins=python,如果缺包请自行安装yum install uwsgi uwsgi-plugin-commonyum install uwsgi-plugin-python启动:uwsgi --plugins=python --ini uwsgi.ini Nginx配置:#uwsgi_param UWSGI_SCRIPT manage;Setting里配置:STATIC_URL = ''''''''/static/'''''... 阅2326 转0 评0 公众公开 18-11-26 17:56 |
1 CorkScrew - A Tool for Tunnelling SSH over HTTP Proxies etc.1.1.1 Firstly get Corkscew: http://www.agroman.net/corkscrew/1.2 Edit username/.ssh/config CorkScrew - A Tool for Tunnelling SSH over HTTP Proxies etc.ac_default_prefix=/home/user/corkscrew/corkscrew-2.0/bin/corkscrew.ProxyCommand /home/user/corkscrew/corks... 阅2138 转2 评0 公众公开 18-08-24 17:35 |
redis没有端口占用仍旧报错端口被占用redis没有端口占用仍旧报错端口被占用log显示:[10452] 14 Aug 18:18:15.905 # Creating Server TCP listening socket 127.0.0.1:6379: bind: Address already in use仔细ps -axu了下,没有发现redis相关的进程重装redis 还是这样。最后发现是之前的python程序使用这redis端口,虽然redis关掉了但是程序仍... 阅1257 转0 评0 公众公开 18-08-15 11:20 |
nginx启动报错 99 启动ngnix的时候报错:Starting nginx: nginx: [emerg] bind() to xxx.xx.xx.xx:5000 failed (99: Cannot assign requested address)查了一下99的错误,发现是配置的错误.需要linux允许进程绑定到非本地地址。 阅208 转1 评0 公众公开 17-10-16 18:00 |
安装keystone之后,keystone-all --help 报错 xxxx ''mutable''xxx因为项目中使用的是之前的2.0版本的keystone。 阅314 转0 评0 公众公开 17-07-13 18:16 |
vmvare中安装centos6.4 不能全屏。VMvare12.0安装centos6.4版本。安装之后也安装了vmvare_tools,安装之后不能全屏,而且vmvare的“立即适应客户机“”是灰色不可点击的。和https://unix.stackexchange.com/questions/209157/xrandr-failed-to-get-size-of-gamma-for-output-default-for-guest-centos-6-6-h的解决办法,写一个配置文件然后重启... 阅199 转0 评0 公众公开 17-06-29 11:29 |
通过上图,我们可以看出redis初始化后redis配置文件为/etc/redis/6379.conf,日志文件为/var/log/redis_6379.log,数据文件dump.rdb存放到/var/lib/redis/6379目录下,启动脚本为/etc/init.d/redis_6379。现在来查看redis版本使用redis-cli –version命令,如下:通过上图,我们可以看出redis的配置文件是/etc/redis.conf,数据文件dump.rdb存... 阅31 转0 评0 公众公开 17-06-20 14:50 |
安装supervisord 和开机自启动本文参考了 http://www.tuicool.com/articles/Ejm2u2 http://www.cnblogs.com/kaituorensheng/p/5020793.html安装supervisord Pip install supervisord #如果不好下载就去官网下载vim /etc/supervisord.conf.echo_supervisord_conf >/etc/supervisord.conf.supervisord -c /etc/supervisord.conf //启动super... 阅6288 转20 评0 公众公开 17-06-19 18:13 |