Posts tagged ‘redhat’

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

1、Oracle Linux(下载地址

(1)OracleLinux-Release6-Update0-x86_64-dvd.iso
(2)OracleLinux-Release6-Update1-x86_64-dvd.iso
(3)OracleLinux-Release6-Update2-x86_64-dvd.iso
(4)OracleLinux-Release6-Update3-x86_64-dvd.iso
(5)OracleLinux-Release6-Update4-x86_64-dvd.iso
(6)OracleLinux-Release6-Update5-x86_64-dvd.iso
(7)OracleLinux-Release6-Update6-x86_64-dvd.iso
(8)OracleLinux-Release6-Update7-x86_64-dvd.iso
(9)OracleLinux-Release6-Update8-x86_64-dvd.iso
(10)OracleLinux-Release6-Update9-x86_64-dvd.iso
(11)OracleLinux-Release7-Update0-x86_64-dvd.iso

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
(7)debian-9.3.0-amd64-DVD-1.iso
(8)debian-9.3.0-amd64-DVD-2.iso
(9)debian-9.3.0-amd64-DVD-3.iso
(10)debian-9.3.0-i386-DVD-1.iso
(11)debian-9.3.0-i386-DVD-2.iso
(12)debian-9.3.0-i386-DVD-3.iso

3、openSUSE(下载地址

(1)openSUSE-13.2-DVD-x86_64.iso
(2)openSUSE-Tumbleweed-DVD-x86_64-Snapshot20180116-Media.iso
(3)openSUSE-Leap-42.3-DVD-x86_64.iso

4、slockware(下载地址

(1)slackware-13.37-install-dvd.iso
(2)slackware-14.0-install-dvd.iso 
(3)slackware-14.1-install-dvd.iso
(4)slackware-14.2-install-dvd.iso
(5)slackware64-13.37-install-dvd.iso
(6)slackware64-14.0-install-dvd.iso
(7)slackware64-14.1-install-dvd.iso
(8)slackware64-14.2-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-6.9-i386-bin-DVD1.iso
(12)CentOS-6.9-i386-bin-DVD2.iso
(13)CentOS-6.9-x86_64-bin-DVD1.iso
(14)CentOS-6.9-x86_64-bin-DVD2.iso
(15)CentOS-7.0-1406-x86_64-DVD.iso
(16)CentOS-7-x86_64-DVD-1708.iso

6、Fedora(下载地址

(1)Fedora-19-i386-DVD.iso
(2)Fedora-19-x86_64-DVD.iso
(3)Fedora-20-x86_64-DVD.iso
(4)Fedora-Server-dvd-i386-25-1.3.iso
(5)Fedora-Server-dvd-x86_64-25-1.3.iso
(6)Fedora-Server-dvd-x86_64-26-1.5.iso
(7)Fedora-Server-dvd-x86_64-27-1.6.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-6.7-i386-dvd.iso
(38)rhel-server-6.7-x86_64-dvd.iso
(39)rhel-server-6.8-i386-dvd.iso
(40)rhel-server-6.8-x86_64-dvd.iso
(41)rhel-server-6.9-i386-dvd.iso
(42)rhel-server-6.9-x86_64-dvd.iso
(43)rhel-server-7.0-x86_64-dvd.iso
(44)rhel-server-7.1-x86_64-dvd.iso
(45)rhel-server-7.2-x86_64-dvd.iso
(46)rhel-server-7.3-x86_64-dvd.iso
(47)rhel-server-7.4-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
(6)ubuntu-16.04.3-server-amd64.iso
(7)ubuntu-16.04.3-server-i386.iso
(8)ubuntu-17.10.1-server-amd64.iso

9、FreeBSD(下载地址

(1)FreeBSD-9.3-RELEASE-amd64-dvd1.iso
(2)FreeBSD-9.3-RELEASE-i386-dvd1.iso
(3)FreeBSD-10.1-RELEASE-amd64-dvd1.iso
(4)FreeBSD-10.1-RELEASE-i386-dvd1.iso
(5)FreeBSD-10.2-RELEASE-amd64-dvd1.iso
(6)FreeBSD-10.2-RELEASE-i386-dvd1.iso
(7)FreeBSD-10.3-RELEASE-amd64-dvd1.iso
(8)FreeBSD-10.3-RELEASE-i386-dvd1.iso
(9)FreeBSD-10.4-RELEASE-amd64-dvd1.iso
(10)FreeBSD-10.4-RELEASE-i386-dvd1.iso
(11)FreeBSD-11.0-RELEASE-amd64-dvd1.iso
(12)FreeBSD-11.0-RELEASE-i386-dvd1.iso
(13)FreeBSD-11.1-RELEASE-amd64-dvd1.iso
(14)FreeBSD-11.1-RELEASE-i386-dvd1.iso

9、archlinux(下载地址

(1)archlinux-2017.11.01-x86_64.iso
(2)archlinux-2017.12.01-x86_64.iso
(3)archlinux-2018.01.01-x86_64.iso

9、gentoo(下载地址

(1)livedvd-amd64-hardened-nomultilib-20170118.iso
(2)livedvd-x86-amd64-32ul-20160704.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″

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