摘要: 1.公司在台式机上安装的centos6.2的系统没有网卡驱动。2.查看本机网卡使用命令lspci | grep Ethernet 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)这个是安装完的显示主要就是这个RTL8111/8168B型号的网卡驱动去官网下载http://www.realtek.com.tw/下载驱动包为:r8168-8.035.00.tar.bz2拷贝到U盘挂载U盘mkdir /m 阅读全文
posted @ 2013-05-24 11:03 破军 阅读(1930) 评论(0) 推荐(0) 编辑
摘要: rpm -qc bind(查询bind软件包安装路径和各配置文档的具体路径以前不知道怎么查安装文件的路径,现在知道了哈哈。 阅读全文
posted @ 2013-05-06 09:30 破军 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 如果mysql不支持远程连接,会出现提示:错误代码是1130,ERROR 1130: Host 192.168.0.10 is not allowed to connect to this MySQL server ,解决此问题有以下2个方法:1、改表法:在本机登入mysql后,更改“mysql”数据库里的“user”表里的“host”项,从”localhost”改为'%'。mysql>mysql>use mysql;mysql>select 'host' from user where user='root';#查看mysql 阅读全文
posted @ 2013-04-26 17:09 破军 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 在从服务器上配置出现这个错误error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).mysq 阅读全文
posted @ 2013-04-26 16:53 破军 阅读(167) 评论(0) 推荐(0) 编辑
摘要: bind安装指南首先yum install bindInstalling: bind x86_64 30:9.3.6-20.P1.el5_8.6 updates 989 kUpdating for dependencies: bind-libs x86_64 30:9.3.6-20.P1.el5_8.6 updates 898 k bind-utils x86_64 30:9.3.6-20.P1.el5_8.6 updates 180 k... 阅读全文
posted @ 2013-04-23 16:27 破军 阅读(559) 评论(0) 推荐(0) 编辑
摘要: rpm -q binutils compat-libcap1 compat-libstdc++ gcc gcc-c++ glibc glibc-devel libgcc libstdc++ libstdc++-devel libaio libaio-devel sysstat 检测安装的oracle11g的环境作个纪念。The following or later version of packages for Oracle Linux 6, and Red Hat Enterprise Linux 6 should be installed:binutils-2.20.51.0.2-5.11 阅读全文
posted @ 2013-04-03 16:11 破军 阅读(190) 评论(0) 推荐(0) 编辑
摘要: E437: terminal capability “cm” required in Redhat or Centos 6If you try to use vi or another curses based application in Redhat or Centos 6 and you get the error :-E437: terminal capability “cm” requiredPress ENTER or type command to continueAnd you TERM type is something other than a vt100 like a d 阅读全文
posted @ 2013-03-29 11:35 破军 阅读(2199) 评论(0) 推荐(0) 编辑
摘要: #创建一个普通用户useradd user1 #创建用户user1passwd user1 *** #设置用户user1的密码vi/etc/password#找到新建的user1name:password:uid:gid:comment:home:shell#更改uid为0#重启ssh服务service sshd restart#直接赋予创建的用户root权限useradd -u 0 -o -g 0 user1#创建一个uid=0的用户user1说明:-u 0 就是建一个uid=0的帐号-o (注意是字母o,不是数字0)就是允许使用重复的id号-g 0 就是建一个gid=0的帐号使用Sercu 阅读全文
posted @ 2013-03-08 17:12 破军 阅读(12130) 评论(0) 推荐(0) 编辑
摘要: root@DB-02 ~]# mysql -u root-bash: mysql: command not found原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件。首先得知道mysql命令或mysqladmin命令的完整路径,比如mysql的路径是:/usr/local/mysql/bin/mysql,我们则可以这样执行命令:# ln -s /usr/local/mysql/bin/mysql /usr/bin 阅读全文
posted @ 2013-03-08 10:30 破军 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 一、环境:系统版本:CentOS5.5MySQL版本:mysql-5.5.22二、步骤:1.安装需要系统库相关库文件:[root@localhost ~]#yum install -y gcc gcc-c++ gcc-g77 autoconf automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel*2.需要的两个包[root@localhost /]#cd /usr/local/src/[root@localhost src]#lltotal 29332-rw-r--r-- 1 root root5517 阅读全文
posted @ 2013-03-08 10:21 破军 阅读(490) 评论(0) 推荐(0) 编辑