Posts tagged ‘redhat’

Linux操作系统各版本ISO镜像下载(包括oracle linux\redhat\centos\ubuntu\debian等)

1、Oracle Linux(下载地址

清单:
(1)Oracle Linux Release 7 for x86_64 (64 Bit)

2、debian(下载地址

清单:
(1)debian-7.8.0-i386-DVD-1.iso
(2)debian-7.8.0-i386-DVD-2.iso
(3)debian-7.8.0-i386-DVD-3.iso
(4)debian-7.8.0-amd64-DVD-1.iso
(5)debian-7.8.0-amd64-DVD-2.iso
(6)debian-7.8.0-amd64-DVD-3.iso

3、openSUSE(下载地址

清单:
(1)openSUSE-13.2-DVD-x86_64.iso

4、slockware(下载地址

清单:
(1)slackware-14.0-install-dvd.iso
(2)slackware-14.1-install-dvd.iso

5、CentOS(下载地址

清单:
(1)CentOS-5.11-i386-bin-DVD-1of2.iso
(2)CentOS-5.11-i386-bin-DVD-2of2.iso
(3)CentOS-5.11-x86_64-bin-DVD-1of2.iso
(4)CentOS-5.11-x86_64-bin-DVD-2of2.iso
(5)CentOS-6.4-x86_64-bin-DVD1.iso
(6)CentOS-6.4-x86_64-bin-DVD2.iso
(7)CentOS-6.6-i386-bin-DVD1.iso
(8)CentOS-6.6-i386-bin-DVD2.iso
(9)CentOS-6.6-x86_64-bin-DVD1.iso
(10)CentOS-6.6-x86_64-bin-DVD2.iso
(11)CentOS-7.0-1406-x86_64-DVD.iso

6、Fedora(下载地址

清单:
(1)Fedora-19-i386-DVD.iso
(2)Fedora-19-x86_64-DVD.iso
(3)Fedora-20-x86_64-DVD.iso

7、RedHat(下载地址

清单:
(1)rhel-server-5.1-i386-dvd.iso
(2)rhel-server-5.1-x86_64-dvd.iso
(3)rhel-server-5.2-i386-dvd.iso
(4)rhel-server-5.2-x86_64-dvd.iso
(5)rhel-server-5.3-i386-dvd.iso
(6)rhel-server-5.3-x86_64-dvd.iso
(7)rhel-server-5.4-i386-dvd.iso
(8)rhel-server-5.4-x86_64-dvd.iso
(9)rhel-server-5.5-i386-dvd.iso
(10)rhel-server-5.5-x86_64-dvd.iso
(11)rhel-server-5.6-i386-dvd.iso
(12)rhel-server-5.6-x86_64-dvd.iso
(13)rhel-server-5.7-i386-dvd.iso
(14)rhel-server-5.7-x86_64-dvd.iso
(15)rhel-server-5.8-i386-dvd.iso
(16)rhel-server-5.8-x86_64-dvd.iso
(17)rhel-server-5.9-i386-dvd.iso
(18)rhel-server-5.9-x86_64-dvd.iso
(19)rhel-server-5.10-i386-dvd.iso
(20)rhel-server-5.10-x86_64-dvd.iso
(21)rhel-server-5.11-i386-dvd.iso
(22)rhel-server-5.11-x86_64-dvd.iso
(23)rhel-server-6.0-i386-dvd.iso
(24)rhel-server-6.0-x86_64-dvd.iso
(25)rhel-server-6.1-i386-dvd.iso
(26)rhel-server-6.1-x86_64-dvd.iso
(27)rhel-server-6.2-i386-dvd.iso
(28)rhel-server-6.2-x86_64-dvd.iso
(29)rhel-server-6.3-i386-dvd.iso
(30)rhel-server-6.3-x86_64-dvd.iso
(31)rhel-server-6.4-i386-dvd.iso
(32)rhel-server-6.4-x86_64-dvd.iso
(33)rhel-server-6.5-i386-dvd.iso
(34)rhel-server-6.5-x86_64-dvd.iso
(35)rhel-server-6.6-i386-dvd.iso
(36)rhel-server-6.6-x86_64-dvd.iso
(37)rhel-server-7.0-x86_64-dvd.iso

8、ubuntu(下载地址

清单:
(1)ubuntu-11.04-desktop-i386.iso
(2)ubuntu-12.04.4-server-i386.iso
(3)ubuntu-12.04.4-server-amd64.iso
(4)ubuntu-14.04.1-server-amd64.iso
(5)ubuntu-14.04.1-desktop-amd64.iso

安装rac执行root.sh出现rootconfig: line 815: 10338 Segmentation fault错误

在REDHAT 5.4上安装oracle 10g rac,安装cluster时,在执行/opt/ora10g/product/10.2.0/crs_1/root.sh时出现了如下错误:

WARNING: directory ‘/opt/ora10g/product/10.2.0’ is not owned by root
WARNING: directory ‘/opt/ora10g/product’ is not owned by root
WARNING: directory ‘/opt/ora10g’ is not owned by root
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up NS directories
/opt/ora10g/product/10.2.0/db_1/install/rootconfig: line 815: 10338 Segmentation fault $CH/bin/ocrconfig -upgrade $CRS_ORACLE_OWNER $CRS_DBA_GROUP
Failed to upgrade Oracle Cluster Registry configuration

最后查找到原因是GCC的问题,需进行如下操作:

1. cd /usr/bin
2. mv gcc gcc.script
3. mv g++ g++.script
4. ln -s gcc34 gcc
5. ln -s g++34 g++

RedHat的yum配置笔记

yum = Yellow dog Updater, Modified,主要功能是更方便的添加/删除/更新RPM包,它能自动解决包的倚赖性问题。这样对于安装软件就非常方便了。

我的系统环境为RedHat5.4企业版32位。首先将RedHat5.4安装光盘复制到/cdrom目录下。然后编辑rhel-debuginfo.repo,如下:

vi /etc/yum.repos.d/rhel-debuginfo.repo

添加:

[Cluster]
name=Red Hat Enterprise Linux $releasever – $basearch – Cluster
baseurl=file:///cdrom/Cluster
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[ClusterStorage]
name=Red Hat Enterprise Linux $releasever – $basearch – ClusterStorage
baseurl=file:///cdrom/ClusterStorage
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[Server]
name=Red Hat Enterprise Linux $releasever – $basearch – Server
baseurl=file:///cdrom/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[VT]
name=Red Hat Enterprise Linux $releasever – $basearch – VT
baseurl=file:///cdrom/VT
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

再编辑yumRepo.py(通过搜索remote)

vi /usr/lib/python2.4/site-packages/yum/yumRepo.py

将remote = url + ‘/’ + relative
修改为:remote = “/cdrom/Server” + ‘/’ + relative

最后运行yum clean all即完成配置。

通过以下命令来查看是否能完成集群软件的安装:

cd /cdrom/Cluster
yum install *

 

 

RHCS错误:[3652]: ASEHAagent: The directory '/disk2/sybase/ASE15_0' doesn't exist.

完成LINUX双机热备RHCS后启动时出现错误,不能正常启动。查看/var/log/messages,错误如下:

Sep 24 21:36:38 node1 clurgmgrd[3113]: <notice> Starting stopped service service:sv_sybase
Sep 24 21:36:39 node1 avahi-daemon[2205]: Registering new address record for 192.168.1.210 on eth0.
Sep 24 21:36:39 node1 fenced[3015]: fencing node “node2”
Sep 24 21:36:39 node1 fenced[3015]: fence “node2” failed
Sep 24 21:36:40 node1 kernel: kjournald starting. Commit interval 5 seconds
Sep 24 21:36:40 node1 kernel: EXT3 FS on sdb, internal journal
Sep 24 21:36:40 node1 kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 24 21:36:41 node1 bash: [3652]: <err> ASEHAagent: The directory ‘/disk2/sybase/ASE15_0’ doesn’t exist.
Sep 24 21:36:41 node1 clurgmgrd: [3113]: <err> script:script_sybase: start of /usr/share/cluster/ASEHAagent.sh failed (returned 1)
Sep 24 21:36:41 node1 clurgmgrd[3113]: <notice> start on script “script_sybase” returned 1 (generic error)
Sep 24 21:36:41 node1 clurgmgrd[3113]: <warning> #68: Failed to start service:sv_sybase; return value: 1
Sep 24 21:36:41 node1 clurgmgrd[3113]: <notice> Stopping service service:sv_sybase

显示不能找到/disk2/sybase/ASE15_0目录。但在安装sybase时目录应该是/disk2/sybase/ASE-15_0。

立即到/usr/share/cluster下查看ASEHAagent.sh中定义的变量,如下,发现sybase_ase和sybase_ocs的变量名中都少了个“-”。

sybase_home=”/disk2/sybase”
sybase_ase=”ASE15_0″
sybase_ocs=”OCS15_0″
server_name=”sybase”
login_file=”/disk2/sybase/login_file”
interfaces_file=”/disk2/sybase/interfaces”
sybase_user=”sybase”
shutdown_timeout=30
start_timeout=30
deep_probe_timeout=30
RUNSERVER_SCRIPT=$sybase_home/$sybase_ase/install/RUN_$server_name
CONSOLE_LOG=$sybase_home/$sybase_ase/install/$server_name.log

立即将它修改成如下内容:

sybase_ase=”ASE-15_0″
sybase_ocs=”OCS-15_0″

然后再执行启动双机,可以正常启动。