摘要: #!/bin/bash if [ `id -g` != 0 ] ;then echo -e "\033[31m Please use root user\033[0m" exit 1firpm -qa |grep multipath >/var/log/mapper.log 2>&1if [ $? 阅读全文
posted @ 2017-01-06 12:59 Array253 阅读(174) 评论(0) 推荐(0)
摘要: 删除网络连接共享 net usr \\ip /DELETE /YES 阅读全文
posted @ 2016-12-14 20:47 Array253 阅读(224) 评论(0) 推荐(0)
摘要: 修改 /etc/my.cnf 添加 skip-grant-tables 修改完后重启mysql 这样就可以直接进入mysql 然后修改mysql数据库密码 mysql>update user set password=password("123456") where user="root"; 修改完 阅读全文
posted @ 2016-12-11 19:11 Array253 阅读(87) 评论(0) 推荐(0)
摘要: 安装方法 http://dev.mysql.com/doc/refman/5.6/en/binary-installation.html shell> groupadd mysqlshell> useradd -r -g mysql -s /bin/false mysqlshell> cd /usr 阅读全文
posted @ 2016-12-10 23:25 Array253 阅读(361) 评论(0) 推荐(0)
摘要: 一 将 主配置文件 httpd.conf中 #Include conf/extra/httpd-vhosts.conf 前面的# 去掉 二 进入conf/extra 修改 /conf/extra/httpd-vhosts.conf 增加下面内容 ,2.4以后这部分内容很重要 <Directory " 阅读全文
posted @ 2016-12-10 18:34 Array253 阅读(1281) 评论(0) 推荐(0)
摘要: 安装高版本的 apr apr-util ./configure prefix=/usr/local/apr ./configure prefix=/usr/local/apr-util --with-apr=/usr/local/apr 一 hecking for OpenSSL version > 阅读全文
posted @ 2016-12-09 10:24 Array253 阅读(408) 评论(0) 推荐(0)
摘要: www.a.com www.b.org www.c.net 都放在10.0.0.10这个服务器上 那么客户访问这三个域名 服务器是怎么分辨访问的是哪个目录呢 GET http://download.microtool.de:80/somedata.exe Host: download.microto 阅读全文
posted @ 2016-12-01 22:24 Array253 阅读(153) 评论(0) 推荐(0)
摘要: Apache 配置Alias 后,无法访问 CentOS系统 检查了一圈httpd.conf和目录权限,均没有发现问题。 最后,看了这篇文章,发现是因为系统启动了SELINUX导致的。 http://stackoverflow.com/questions/8816836/apache-403-err 阅读全文
posted @ 2016-12-01 20:03 Array253 阅读(508) 评论(0) 推荐(0)