上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页
该文被密码保护。 阅读全文
posted @ 2016-01-17 13:53 聊聊IT那些事 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1.将3306端口加入防火墙/sbin/iptables -I INPUT -p tcp --dport 3306-j ACCEPT #添加端口3306/etc/rc.d/init.d/iptables save #保存设置/etc/rc.d/init.d/iptables status #查看防火... 阅读全文
posted @ 2016-01-16 20:12 聊聊IT那些事 阅读(15933) 评论(0) 推荐(0) 编辑
摘要: 1.卸载掉原mysql rpm -qa | grep mysql // 这个命令就会查看该操作系统上是否已经安装了mysql数据库 有的话,我们就通过 rpm -e 命令 或者 rpm -e --nodeps 命令来卸载掉 rpm -e mysql // 普通删除模式 rpm -e xxx.rpm 阅读全文
posted @ 2016-01-16 19:24 聊聊IT那些事 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 此文包含脚本服务请求,字符串截取,文件读写内容,打印内容换行。#!/bin/bashretMsg="";while read LINEdo echo "this is text: $LINE"; retMsg=`/usr/bin/curl -o test3.log -w %{http_code}"\... 阅读全文
posted @ 2016-01-11 15:05 聊聊IT那些事 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 配置步骤:1 . vi /etc/init.d/nginx2. chkconfig --level nginx 2345 on --重点--------------------以下为nginx配置文件------------------#! /bin/sh# Default-Start: 2 3 4... 阅读全文
posted @ 2016-01-10 11:22 聊聊IT那些事 阅读(227) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-01-10 11:21 聊聊IT那些事 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1.Redhat之所以会出现这个错误是因为没有注册RHN,我们只需要更新一下yum的源就可以了。使用命令cd /etc/yum.repos.d/ 进入yum的配置目录。2.在终端中输入wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo ... 阅读全文
posted @ 2016-01-10 11:20 聊聊IT那些事 阅读(204) 评论(0) 推荐(0) 编辑
摘要: SELECT object_name, machine, s.sid, s.serial# FROM gv$locked_object l, dba_objects o, gv$session s WHERE l.object_id = o.object_id AND l.session_id = ... 阅读全文
posted @ 2015-10-10 13:08 聊聊IT那些事 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 在此说一下关于启动和关闭防火墙的命令:1) 重启后生效开启: chkconfig iptables on关闭: chkconfig iptables off2) 即时生效,重启后失效开启: service iptables start关闭: service iptables stop 阅读全文
posted @ 2015-10-10 13:07 聊聊IT那些事 阅读(732) 评论(0) 推荐(0) 编辑
摘要: 修改 /sbin/iptables -I INPUT -p tcp --dport 8081 -j ACCEPT保存 /etc/rc.d/init.d/iptables save 重启 /etc/rc.d/init.d/iptables restart查看端口状态 /etc/init.d/iptab... 阅读全文
posted @ 2015-10-10 13:06 聊聊IT那些事 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 26 下一页