# vi /etc/yum.repos.d/dag.repo[dag]name=Dag RPM Repository for Red Hat Enterprise Linuxbaseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dagg...
分类:
数据库 时间:
2014-06-15 23:52:17
阅读次数:
500
查看系统版本cat /etc/redhat-release下载CentOS 版本所对应的EPEL 的版本wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm命令安装EPEL 软件包rpm ...
分类:
其他好文 时间:
2014-06-15 22:16:46
阅读次数:
413
1、VirtualBox 安装 恩,一路默认即可安装完毕。2、宿主机网络环境配置(使用Host-Only模式,上网啥的不用改配置) 2.1 右击VirtualBox选择属性,更改网络IP设置 2.2 设置为Ip地址和子网掩码为如下属性:,点击确定。(注意Centos默认网段为56) 3、...
分类:
其他好文 时间:
2014-06-15 20:36:49
阅读次数:
251
1.安装 snmp服务[root@localhost] yum install -y net-snmp net-snmp-utils2.配置snmp服务第一步:(yum安装snmpd的配置文件为/etc/snmp/snmpd.conf ,一份非常详细的文档,先备份一份snmpd.conf)[root...
分类:
其他好文 时间:
2014-06-15 15:48:56
阅读次数:
243
1、查看系统是否安装了MySQL 使用命令: #rpm -qa | grep mysql 2、卸载已安装的MySQL 卸载mysql命令如下: #rpm -e --nodeps mysql-libs-5.1.61-4...
分类:
数据库 时间:
2014-06-14 23:55:39
阅读次数:
369
今天将项目部署到Centos 6.3 x64上面的tomcat 7.0.54,访问链接出现了404错误。后来查看了/usr/local/apache-tomcat-7.0.54/logs/catalina.out 文件,出现了Error listenerStart 。org.apache.cat.....
分类:
其他好文 时间:
2014-06-14 23:44:17
阅读次数:
740
#!/bin/bash#安装必备的软件yum -y install dhcp tftp-server tftp xinetd syslinux vsftpdyum -y install *kickstart*#配置kickstart服务器端的DHCP服务>/etc/dhcpd.conf#######...
分类:
其他好文 时间:
2014-06-14 23:38:10
阅读次数:
1548
服务端:首先拿出一块分区/dev/sda5# yum search target# yum install scsi-target-utils.x86_64 -y //服务端的包# vim /etc/tgt/targets.conf //编辑服务端的配置//共享出这块分区的名字为redhat:...
分类:
系统相关 时间:
2014-06-14 21:04:16
阅读次数:
332
这里说的是编译安装,yum/apt-get 等安装方法比較简单,不阐述!1、下载源代码包:gcc.gnu.org2、解压:tar -xjvf gcc-4.9.0.tar.bz23、下载编译所需的依赖包: 最简单的方法,直接运行:./contrib/download_prerequisites...
分类:
系统相关 时间:
2014-06-14 20:26:14
阅读次数:
461
*************************************部署MYSQL*******************************************yum-yinstallgccgcc-c++gcc-g77autoconfautomakezlib*fiex*libxml*ncurses-devellibmcrypt*libtool-ltdl-devel*makecmakebison*useraddmysql-d/usr/local/mysql-s/sbin/nologintar-..
分类:
数据库 时间:
2014-06-13 21:10:19
阅读次数:
515