centos 6.5 x64最小化安裝後需要安裝的包 for oracle 11g r2
--資料庫依賴的包
yum install -y compat-libstdc++* elfutils-libelf-* glibc-* gcc-* kernel-headers-* libgcc-* libaio-* libstdc++-* unixODBC-* sysstat-* binutils-* make-* libXp-devel readline*
--centos 6.6 使用 yum -y install gcc gcc-c++ make binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel libaio libaio-devel libgcc libstdc++ libstdc++-devel unixODBC unixODBC-devel
rpm -ivh pdksh-5.2.14-30.x86_641.rpm
--使用vnc圖形介面安裝資料庫時相關的包,使用silent安裝不需要
yum install tigervnc-server
yum install xsetroot
yum install xterm
yum install twm
--安裝ntpd時間服務,不使用也可以不裝
yum install ntpdate
--scp命令依賴的包,不使用也可以不裝
yum install openssh-clients
PS:
--配置本地yum源
[root@cent6501 yum.repos.d]#ll /dev/cd*
[root@cent6501 yum.repos.d]#mkdir /media/cdrom
[root@cent6501 yum.repos.d]#mount /dev/cdrom /media/cdrom
c[root@cent6501 yum.repos.d]#d /etc/yum.repos.d/
備份刪除CentOS-Media.repo之外的repo檔案
[root@cent6501 yum.repos.d]#cat CentOS-Media.repo
/*
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
*/
[root@cent6501 yum.repos.d]#yum clean all
[root@cent6501 yum.repos.d]#yum makecache
--修改IP
[root@ct6505 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=08:00:27:e6:91:64
TYPE=Ethernet
UUID=0bd146bb-0d0a-4ce0-b030-ba3bc1f3faa8
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
PREFIX=24
IPADDR=192.108.56.115
GATEWAY=192.108.56.1
--修改主機名
[root@ct6505 ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ct6505
--關閉防火牆
[root@ct6505 ~]# chkconfig iptables off
[root@ct6505 ~]# service iptables stop
--關閉selinux
[root@ct6505 ~]# setenforce 0
[root@ct6505 ~]# vi /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
yum install -y compat-libstdc++* elfutils-libelf-* glibc-* gcc-* kernel-headers-* libgcc-* libaio-* libstdc++-* unixODBC-* sysstat-* binutils-* make-* libXp-devel readline*
--centos 6.6 使用 yum -y install gcc gcc-c++ make binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel libaio libaio-devel libgcc libstdc++ libstdc++-devel unixODBC unixODBC-devel
rpm -ivh pdksh-5.2.14-30.x86_641.rpm
--使用vnc圖形介面安裝資料庫時相關的包,使用silent安裝不需要
yum install tigervnc-server
yum install xsetroot
yum install xterm
yum install twm
--安裝ntpd時間服務,不使用也可以不裝
yum install ntpdate
--scp命令依賴的包,不使用也可以不裝
yum install openssh-clients
PS:
--配置本地yum源
[root@cent6501 yum.repos.d]#ll /dev/cd*
[root@cent6501 yum.repos.d]#mkdir /media/cdrom
[root@cent6501 yum.repos.d]#mount /dev/cdrom /media/cdrom
c[root@cent6501 yum.repos.d]#d /etc/yum.repos.d/
備份刪除CentOS-Media.repo之外的repo檔案
[root@cent6501 yum.repos.d]#cat CentOS-Media.repo
/*
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/cdrom/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
*/
[root@cent6501 yum.repos.d]#yum clean all
[root@cent6501 yum.repos.d]#yum makecache
--修改IP
[root@ct6505 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=08:00:27:e6:91:64
TYPE=Ethernet
UUID=0bd146bb-0d0a-4ce0-b030-ba3bc1f3faa8
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
PREFIX=24
IPADDR=192.108.56.115
GATEWAY=192.108.56.1
--修改主機名
[root@ct6505 ~]# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ct6505
--關閉防火牆
[root@ct6505 ~]# chkconfig iptables off
[root@ct6505 ~]# service iptables stop
--關閉selinux
[root@ct6505 ~]# setenforce 0
[root@ct6505 ~]# vi /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28539951/viewspace-1694631/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CentOS 6.5安裝Oracle 11.2.0.4------CentOS 6.5安裝CentOSOracle
- 安裝centos7最小化安裝CentOS
- CENTOS 6.6 x64 自動化安裝Oracle Database 11g R2 RAC指令碼CentOSOracleDatabase指令碼
- centos 6.5 安裝chromeCentOSChrome
- 內網最小化安裝CentOS後,想安裝ISO檔案中的包怎麼辦呢?內網CentOS
- 安裝完最小化 RHEL/CentOS 7 後需要做的 30 件事情(一)CentOS
- 安裝完最小化 RHEL/CentOS 7 後需要做的 30 件事情(二)CentOS
- 安裝完最小化 RHEL/CentOS 7 後需要做的 30 件事情(三)CentOS
- 安裝完最小化 RHEL/CentOS 7 後需要做的 30 件事情(四)CentOS
- 安裝完最小化 RHEL/CentOS 7 後需要做的 30 件事情(五)CentOS
- 安裝完最小化 RHEL/CentOS 7 後需要做的 30 件事情(六)CentOS
- CentOS6.5安裝pipCentOS
- CentOS6.5 安裝opensslCentOS
- CentOS6.5安裝ScrapyCentOS
- CentOS 6.5 tree命令安裝CentOS
- Centos6.5 Docker安裝CentOSDocker
- centos6.5安裝gitCentOSGit
- CentOS6.5安裝MongoDBCentOSMongoDB
- CentOS 6.5安裝Nginx (一)CentOSNginx
- CentOS6.5安裝RHBaseCentOS
- CentOS6.5安裝RHiveCentOSHive
- CentOS 6.5 安裝影像介面CentOS
- CentOS7最小化安裝後要做的事(6):Apache安裝與配置CentOSApache
- oracle 11g R2安裝RACOracle
- CentOS 6.6系統上命令列靜默安裝安裝Oracle 11G R2(11.2.0.3)CentOS命令列Oracle
- RHEL 6.5 64位安裝ORACLE 11G R2 Grid Infrastructure for a Standalone ServerOracleASTStructServer
- CentOS 7 x64 安裝 CephCentOS
- CentOS 6.5/6.6 安裝mysql 5.7CentOSMySql
- CentOS6.5下安裝mongodbCentOSMongoDB
- CentOS 6.5 Xtrabackup 2.4.2安裝流程CentOS
- CentOS 6.5 下安裝 Redis 2.8.7CentOSRedis
- VMWare安裝CentOS 6.5圖解CentOS圖解
- CentOS6.5安裝VMware ToolsCentOS
- CentOS6.5安裝RHadoopCentOSHadoop
- Centos6.5 IPython安裝CentOSPython
- CentOS 6.5下安裝MySQL 5.5CentOSMySql
- CentOS 6.5系統安裝配置CentOS
- CentOS 6.5 下安裝 Redis 2.8.13CentOSRedis