摘要: 要去掉别名,请用unalias aliasname,或者临时执行不用别名,执行原始命令\alias。 以下为 bash中别名设置脚本 /etc/profile.d/alias.sh alias grep=‘grep -i –color’ #用颜色标识,更醒目;忽略大小写 # 进入目录并列出文件,如 阅读全文
posted @ 2017-03-11 15:55 秦韧 阅读(375) 评论(0) 推荐(0) 编辑
摘要: wget http://download.redis.io/releases/redis-3.0.3.tar.gz yum -y install tcl 安装redis tar zxvf redis-3.0.3.tar.gz cd redis-3.0.3 make make PREFIX=/usr/ 阅读全文
posted @ 2017-03-11 15:54 秦韧 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1 批量上传文件(常用) 右键 –> tortoiseSVN –> add 右键 –>SVN Commit 2 批量删除文件夹(常用) 右键 –> tortoiseSVN –> Delete 右键 –>SVN Commit 2015-7-8 1 批量上传文件(常用) 右键 –> tortoiseSV 阅读全文
posted @ 2017-03-11 15:52 秦韧 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 到新公司,别的同事直接发 xshell的登陆文件给我。大概100个左右。需要用户名和密码,如果通过xshell图形界面一台一台修改文件的用户名和密码,会特别枯燥而又耗费时间。 分析: xshell 登陆文件 是一个文本文件,可以编辑这个文件来修改用户名和密码。 UserName=tongshi 这里 阅读全文
posted @ 2017-03-11 15:51 秦韧 阅读(2618) 评论(0) 推荐(0) 编辑
摘要: smokeping从服务器报错: WARNING: Opening secrets file /opt/smokeping/etc/smokeping_secrets.dist: Permission denied ERROR: we did not get config from the mast 阅读全文
posted @ 2017-03-11 15:50 秦韧 阅读(603) 评论(0) 推荐(0) 编辑
摘要: # /opt/smokeping/bin/smokeping Note: logging to syslog as local0/info. Warning: can’t connect to syslog. Messages will be lost. Error message was: no 阅读全文
posted @ 2017-03-11 15:49 秦韧 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 错误: 无法建立目录wp-content/uploads/2015/xx。有没有上级目录的写权限? 分析: # grep nginx /etc/php-fpm.d/www.conf user = nginx group = nginx 解决办法: chown -R nginx wordpress/ 阅读全文
posted @ 2017-03-11 15:48 秦韧 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 这个是我统计的,用了2天时间,感觉挺有用的,欢迎大家补充。华为很特别 有云托管(带宽的集中计费和限速),云桌面(移动办公),对象存储{网站的静态内容(静态网页、音乐、视频、文档等)存储,网盘服务} 统计日期:2014-10-31 阅读全文
posted @ 2014-10-31 17:15 秦韧 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 环境:CentOS 6.4,源码安装nrpe-2.15安装nrpe已经几十次了,没想到今天又遇到这个错误,用以前的方法无法解决,现记录如下。# /usr/local/nagios/libexec/check_nrpe -H localhostCHECK_NRPE: Error - Could not complete SSL handshake.解决方法:因为测试的时候 127.0.0.1并不报错# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1NRPE v2.15所以试着在/etc/xinetd.d/nrpe 的 "only_fr 阅读全文
posted @ 2014-02-18 21:11 秦韧 阅读(4954) 评论(0) 推荐(0) 编辑
摘要: sendmail是一个漏洞奇多、配置超级麻烦的东西,所以很多系统管理员都把它禁用了。 用 msmtp来代替它。 License(GPLv2), 从 msmtp-1.2.3 开始有windows版本安装依赖包: http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -Uvh epel-release-6-8.noarch.rpm # yum install libgsasl-devel # yum install gnutls-devel libidn-devel安装msmtp http:. 阅读全文
posted @ 2014-02-16 22:26 秦韧 阅读(3568) 评论(0) 推荐(0) 编辑