If you have lost or forgot root password of RHEL7, you can follow this step to change to a new password, this is different with the RHEL6 single-user mode...
分类:
其他好文 时间:
2014-07-26 02:49:36
阅读次数:
276
MySQL下载地址:ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.6/http://mirrors.sohu.com/mysql/1.查看服务器版本:[root@mysql ~]#cat /etc/redhat-releaseCentOS...
分类:
数据库 时间:
2014-07-26 00:25:56
阅读次数:
447
http://www.cnblogs.com/ahuo/archive/2012/08/24/2653905.htmlhttp://people.redhat.com/sgrubb/audit/(1)auditsudo apt-get install auditdsyslog会记录系统状态(硬件警告...
分类:
系统相关 时间:
2014-07-25 14:21:31
阅读次数:
234
1、系统kernel参数设置 cat >> /etc/sysctl.conf << "EOF"
##### for Oracle_11gR2 #####
fs.aio-max-nr = 1048576
fs.file-max = 6815744
# kernel.shmall=2097152
# kernel.shmmax=4195057664
kernel....
分类:
数据库 时间:
2014-07-25 00:10:44
阅读次数:
541
1、官方下载安装包:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.htmllinuxamd64_12102_database_1of2.ziplinuxamd64_12102_database_1of2.zip2、创建oracle用户和组[root@localhost]#groupaddoinstall[root@localhost]#groupadddba[root@..
分类:
数据库 时间:
2014-07-24 23:48:44
阅读次数:
395
Linux有非常多的发行版本,从性质上划分,大体分为由商业公司维护的商业版本与由开源社区维护的免费发行版本。商业版本以Redhat为代表,开源社区版本则以debian为代表。这些版本各有不同的特点,在不同的应用领域发挥着不同的作用,不能一概而论。而绝大多数VPS上只提供开源社区维护的发行版本。下面就...
分类:
系统相关 时间:
2014-07-24 21:53:52
阅读次数:
291
查看接口信息 ifconfig (-a 所有 / eth0 查看特定网卡)lo接口:环回接口,操作系统自带打开关闭相应网卡接口 ifup ifdown (ifup eth0)setup命令配置 (基于命令行的文本界面),想windows配置一样,填空 (redhat only? my ubunt.....
分类:
系统相关 时间:
2014-07-24 21:35:02
阅读次数:
288
CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm# rpm -ivh mysql-community-...
分类:
数据库 时间:
2014-07-24 21:18:23
阅读次数:
324
准备工作:主从机上作操作----关闭selinux和iptables或者开放3306端口(iptables-AINPUT-ptcp--dport3306-jACCEPTiptables-AOUTPUT-ptcp--sport3306-jACCEPT),时间同步ntpdatetime.windows.commysql_1信息:主[root@mysql_1~10:30&6]#cat/etc/redhat-release;uname-r;ifco..
分类:
数据库 时间:
2014-07-24 17:52:32
阅读次数:
412
历史原因造成公司有很多centos6.2的系统,从某天6.2系统突然自动重启,排查半天发现是6.2的内核bug(超过208天后可能自动重启,可以参考https://access.redhat.com/site/solutions/68466),所以为了不影响业务,在发现6.2系统在线超过180天后就安排重启工作,下面是介绍如何使..
分类:
数据库 时间:
2014-07-24 14:50:36
阅读次数:
369