摘要: 要去掉别名,请用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) 编辑