会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaohui163
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2015年5月22日
shell 脚本获取远程服务器信息并发送邮件
摘要: 1 [root@zenghui expect]# cat ssh_dsa.exp 2 #!/usr/bin/expect 3 set ip [lindex $argv 0] 4 set pass [lindex $argv 1] 5 set port [lindex $argv 2] 6 set ...
阅读全文
posted @ 2015-05-22 07:47 xiaohui163
阅读(775)
评论(0)
推荐(0)
2015年5月12日
nginx 反向代理后session失效
摘要: 今天遇到一个问题:nginx反向代理tomcatlocattion / {proxy_passhttp://192.168.1.12:11080/iloadsdev-web/;proxy_set_headerHost$host;proxy_set_headerRemote_Addr$remote_a...
阅读全文
posted @ 2015-05-12 08:08 xiaohui163
阅读(614)
评论(0)
推荐(0)
2015年5月2日
shell getopts and getopt用法
摘要: 1 #!/bin/bash 2 TEMP=`getopt -o hm: --long aai:,mai: -n 'getopts.sh' -- "$@"` 3 eval set -- "$TEMP" 4 while true 5 do 6 case "$1" in 7 -h|--aai...
阅读全文
posted @ 2015-05-02 16:07 xiaohui163
阅读(484)
评论(0)
推荐(0)
2015年4月27日
root无法运行命令解决办法
摘要: 今天运行一个命令wget(wg再使用tab键无法使用),如下提示-bash: /usr/bin/wget: 权限不够[root@www /]# ls -Z /usr/bin/wget-rw-r--r--. root root system_u:object_r:bin_t:s0 /usr/bin/w...
阅读全文
posted @ 2015-04-27 11:27 xiaohui163
阅读(952)
评论(0)
推荐(0)
2015年4月16日
shell日志分析脚本
摘要: 1 #!/bin/bash 2 ########################################### 3 # 4 # version: 3.0.0 5 # creator: zenghui 6 # d...
阅读全文
posted @ 2015-04-16 13:44 xiaohui163
阅读(373)
评论(0)
推荐(0)
2015年3月26日
svn常用命令
摘要: 1、Linux命令行下将文件checkout到本地目录svn checkout path(path是服务器上的目录)例如:svn checkout svn://192.168.1.1/pro/domain简写:svn co2、Linux命令行下往版本库中添加新的文件svn add file例如:sv...
阅读全文
posted @ 2015-03-26 17:31 xiaohui163
阅读(108)
评论(0)
推荐(0)
2015年3月24日
mysql5.6 sql_mode设置
摘要: 最近遇到一个很奇怪的事情由于数据人员的需求,现在需要修改mysql的sql_modesql_mode默认是sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES这时候我在/etc/my.cnf配置如下sql_mode=NO_ENGINE_SUBSTIT...
阅读全文
posted @ 2015-03-24 09:59 xiaohui163
阅读(9719)
评论(0)
推荐(0)
2015年3月22日
centos6.5 mysql5.6主从复制
摘要: centos6.5mysql5.6主从复制主mysqlvi/etc/my.cnf[client]default-character-set=utf8port=3306socket=/usr/local/mysql/mysql.sock[mysqld]server-id=1log-bin=mysqlm...
阅读全文
posted @ 2015-03-22 16:20 xiaohui163
阅读(214)
评论(0)
推荐(0)
2015年3月20日
linux 挂载windows共享文件夹
摘要: mount -t cifs -o username=root,password=wdzj201445 //192.168.10.250/share /share/
阅读全文
posted @ 2015-03-20 17:38 xiaohui163
阅读(151)
评论(0)
推荐(0)
2015年3月10日
hadoop+hive+hbase+zookeeper安装
摘要: 1,机器详情如下:Master192.168.11.100slave192.168.11.1011.1下面在每台机器上执行vi /etc/hostsMaster 192.168.11.100slave 192.168.11.101vi /etc/sysconfig/networkHOST...
阅读全文
posted @ 2015-03-10 14:01 xiaohui163
阅读(477)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告