安装oel6.3 操作系统
生活随笔
收集整理的這篇文章主要介紹了
安装oel6.3 操作系统
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
選擇?database?server?后,發(fā)現(xiàn)沒(méi)有安裝圖形界面?(ps:日,要安裝oracle數(shù)據(jù)庫(kù),又不是靜默安裝,怎么不安裝圖形界面)
1.掛在光盤(pán)
| 1 2 | [root@rac1 media]# mkdir -p /media/disk?? #創(chuàng)建掛載目錄 [root@rac1 media]# mount /dev/cdrom /media/disk?? #掛載cdrom |
2.配置本地yum?install
| 1 2 | [root@rac1 ~]# cd /etc/yum.repos.d/ [root@rac1 yum.repos.d]# vi public-yum-ol6.repo |
使用?:%s?/^/#/g??#?開(kāi)頭都加一個(gè)"#"
增加以下內(nèi)容在開(kāi)頭
| 1 2 3 4 5 | [ol6_latest] name=Oracle Linux $releasever Latest ($basearch) baseurl=file:///media/disk/Server/ gpgcheck=0 enabled=1 |
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | [root@rac1 Packages]# yum install xorg*?? #安裝xorg包 Loaded plugins: security Bad id for repo: oel 6, byte =?? 3 ol6_latest???????????????????????????????????????????????????????????????????????????? | 3.7 kB???? 00:00 ...? ol6_latest/primary_db????????????????????????????????????????????????????????????????? | 2.9 MB???? 00:00 ...? Setting up Install Process Examining xorg-x11-apps-7.4-10.el6.x86_64.rpm: xorg-x11-apps-7.4-10.el6.x86_64 Marking xorg-x11-apps-7.4-10.el6.x86_64.rpm to be installed Examining xorg-x11-docs-1.3-6.1.el6.noarch.rpm: xorg-x11-docs-1.3-6.1.el6.noarch??????????????????????????????????????????????????????????????????? ............................................. Dependency Installed: ??ConsoleKit-x11.x86_64 0:0.4.1-3.el6??????????????????? glibc.i686 0:2.12-1.80.el6??????????????????????????? ??libX11.i686 0:1.3-2.el6??????????????????????????????? libXau.i686 0:1.0.5-1.el6???????????????????????????? ??libXaw.x86_64 0:1.0.6-4.1.el6????????????????????????? libXdmcp.x86_64 0:1.0.3-1.el6???????????????????????? ??libXext.i686 0:1.1-3.el6?????????????????????????????? libXfixes.i686 0:4.0.4-1.el6????????????????????????? ??libXmu.x86_64 0:1.0.5-1.el6??????????????????????????? libXpm.x86_64 0:3.5.8-2.el6?????????????????????????? ??libXv.i686 0:1.0.5-1.el6?????????????????????????????? libXvMC.i686 0:1.0.4-8.1.el6????????????????????????? ??libXvMC.x86_64 0:1.0.4-8.1.el6???????????????????????? libXxf86dga.x86_64 0:1.1.1-1.el6????????????????????? ??libXxf86misc.x86_64 0:1.0.2-1.el6????????????????????? libdmx.x86_64 0:1.1.0-1.el6?????????????????????????? ??libdrm.i686 0:2.4.25-2.el6???????????????????????????? libgcc.i686 0:4.4.6-4.el6???????????????????????????? ??libmcpp.x86_64 0:2.7.2-4.1.el6???????????????????????? libpciaccess.i686 0:0.12.1-1.el6????????????????????? ??libpciaccess.x86_64 0:0.12.1-1.el6???????????????????? libudev.i686 0:147-2.41.el6?????????????????????????? ??libxcb.i686 0:1.5-1.el6??????????????????????????????? libxkbfile.x86_64 0:1.0.6-1.1.el6???????????????????? ??mcpp.x86_64 0:2.7.2-4.1.el6??????????????????????????? nss-softokn-freebl.i686 0:3.12.9-11.el6?????????????? ??system-setup-keyboard.x86_64 0:0.7-4.el6?????????????? ttmkfdir.x86_64 0:3.0.9-32.1.el6????????????????????? ??xcb-util.i686 0:0.3.6-1.el6??????????????????????????? xcb-util.x86_64 0:0.3.6-1.el6???????????????????????? ??xkeyboard-config.noarch 0:2.3-1.el6??????????????????? ?? Complete! ?? ?? [root@rac1 Packages]# yum groupinstall "X Window System" Loaded plugins: security Bad id for repo: oel 6, byte =?? 3 Setting up Group Process ol6_latest/group_gz????????????? .............................................. ??system-config-keyboard-base.x86_64 0:1.3.1-4.el6?????? system-config-users.noarch 0:1.2.106-5.el6?????????? ??system-config-users-docs.noarch 0:1.0.8-1.0.1.el6????? usermode-gtk.x86_64 0:1.102-3.el6??????????????????? ??xulrunner.x86_64 0:10.0.5-1.0.1.el6_2????????????????? yelp.x86_64 0:2.28.1-13.el6_2??????????????????????? ??zenity.x86_64 0:2.28.0-1.el6?????????????????????????? ?? Complete! ?? ??? ?? [root@rac1 Packages]# yum groupinstall Desktop Loaded plugins: security Bad id for repo: oel 6, byte =?? 3 Setting up Group Process Package notification-daemon-0.5.0-1.el6.x86_64 already installed and latest version Package metacity-2.28.0-23.el6.x86_64 already installed and latest version Package yelp-2.28.1-13.el6_2.x86_64 already installed and latest version Package 1:dbus-1.2.24-5.0.1.el6_1.x86_64 already installed and latest version Resolving Dependencies ......................... ??vte.x86_64 0:0.25.1-7.el6??????????????????????????????????????????????????????????????????????????????????? ??wavpack.x86_64 0:4.60-1.1.el6??????????????????????????????????????????????????????????????????????????????? ??wpa_supplicant.x86_64 1:0.7.3-3.el6????????????????????????????????????????????????????????????????????????? ??xdg-user-dirs.x86_64 0:0.12-4.el6??????????????????????????????????????????????????????????????????????????? ?? Complete! ?? ??? ?? ?? [root@rac1 Packages]# yum groupinstall "Desktop Platform" Loaded plugins: refresh-packagekit, security Bad id for repo: oel 6, byte =?? 3 Setting up Group Process ............................. Package 1:dbus-1.2.24-5.0.1.el6_1.x86_64 already installed and latest version Package atk-1.28.0-2.el6.x86_64 already installed and latest version Package libXft-2.1.13-4.1.el6.x86_64 already installed and latest version Warning: Group desktop-platform does not have any packages. No packages in any requested group available to install or update |
3.?安裝oracle-rdbms-server-11gR2-preinstall?,?在ol6上沒(méi)有oracle-validated?的rpm包了
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | [root@rac1 yum.repos.d]# yum install oracle-rdbms-server-11gR2-preinstall Loaded plugins: refresh-packagekit, security Bad id for repo: oel 6, byte =?? 3 ol6_latest???????????????????????????????????????????????????????????????????????????? | 3.7 kB???? 00:00 ...? ol6_latest/primary_db????????????????????????????????????????????????????????????????? | 2.9 MB???? 00:00 ...? Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6 will be installed --> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 --> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 --> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64 ...............................???????????????????????????????????????????? ?? Dependency Installed: ??cloog-ppl.x86_64 0:0.15.7-1.2.el6??????????????????????? compat-libcap1.x86_64 0:1.10-1????????????????????? ??compat-libstdc++-33.x86_64 0:3.2.3-69.el6??????????????? cpp.x86_64 0:4.4.6-4.el6??????????????????????????? ??gcc.x86_64 0:4.4.6-4.el6???????????????????????????????? gcc-c++.x86_64 0:4.4.6-4.el6??????????????????????? ??glibc-devel.x86_64 0:2.12-1.80.el6?????????????????????? glibc-headers.x86_64 0:2.12-1.80.el6??????????????? ??kernel-headers.x86_64 0:2.6.32-279.el6?????????????????? ksh.x86_64 0:20100621-16.el6??????????????????????? ??libaio-devel.x86_64 0:0.3.107-10.el6???????????????????? libstdc++-devel.x86_64 0:4.4.6-4.el6??????????????? ??mpfr.x86_64 0:2.4.1-6.el6??????????????????????????????? ppl.x86_64 0:0.10.2-11.el6????????????????????????? ?? Complete! |
4.?驗(yàn)證oracle的配置
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | [root@rac1 yum.repos.d]# cat /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled.? See sysctl(8) and # sysctl.conf(5) for more details. ?? # Controls IP packet forwarding net.ipv4.ip_forward = 0 ?? # Controls source route verification net.ipv4.conf.default.rp_filter = 1 ?? # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 ?? # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 ?? # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 ?? # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 1 ?? # Disable netfilter on bridges. net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 net.bridge.bridge-nf-call-arptables = 0 ?? # Controls the default maxmimum size of a mesage queue kernel.msgmnb = 65536 ?? # Controls the maximum size of a message, in bytes kernel.msgmax = 65536 ?? # Controls the maximum shared segment size, in bytes ?? # Controls the maximum number of shared memory segments, in pages ?? # oracle-rdbms-server-11gR2-preinstall setting for fs.file-max is 6815744 fs.file-max = 6815744 ?? # oracle-rdbms-server-11gR2-preinstall setting for kernel.sem is '250 32000 100 128' kernel.sem = 250 32000 100 128 ?? # oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmni is 4096 kernel.shmmni = 4096 ?? # oracle-rdbms-server-11gR2-preinstall setting for kernel.shmall is 1073741824 on x86_64 # oracle-rdbms-server-11gR2-preinstall setting for kernel.shmall is 2097152 on i386 kernel.shmall = 1073741824 ?? # oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmax is 4398046511104 on x86_64 # oracle-rdbms-server-11gR2-preinstall setting for kernel.shmmax is 4294967295 on i386 kernel.shmmax = 4398046511104 ?? # oracle-rdbms-server-11gR2-preinstall setting for net.core.rmem_default is 262144 net.core.rmem_default = 262144 ?? # oracle-rdbms-server-11gR2-preinstall setting for net.core.rmem_max is 4194304 net.core.rmem_max = 4194304 ?? # oracle-rdbms-server-11gR2-preinstall setting for net.core.wmem_default is 262144 net.core.wmem_default = 262144 ?? # oracle-rdbms-server-11gR2-preinstall setting for net.core.wmem_max is 1048576 net.core.wmem_max = 1048576 ?? # oracle-rdbms-server-11gR2-preinstall setting for fs.aio-max-nr is 1048576 fs.aio-max-nr = 1048576 ?? # oracle-rdbms-server-11gR2-preinstall setting for net.ipv4.ip_local_port_range is 9000 65500 net.ipv4.ip_local_port_range = 9000 65500 ?? [root@rac1 yum.repos.d]# cat /boot/grub/grub.conf # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE:? You have a /boot partition.? This means that #????????? all kernel and initrd paths are relative to /boot/, eg. #????????? root (hd0,0) #????????? kernel /vmlinuz-version ro root=/dev/sda3 #????????? initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Oracle Linux Server-uek (2.6.39-200.24.1.el6uek.x86_64) ????????root (hd0,0) ????????kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=2d413ebe-3a14-4b4e-8151-855a3744141a rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16?? KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off ????????initrd /initramfs-2.6.39-200.24.1.el6uek.x86_64.img title Oracle Linux Server (2.6.32-279.el6.x86_64) ????????root (hd0,0) ????????kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=2d413ebe-3a14-4b4e-8151-855a3744141a rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto? KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off ????????initrd /initramfs-2.6.32-279.el6.x86_64.img |
5.?驗(yàn)證是否已經(jīng)自動(dòng)創(chuàng)建oracle用戶(hù)
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | [root@rac1 yum.repos.d]# su - oracle?? [oracle@rac1 ~]$ ls [oracle@rac1 ~]$ cat .bash_profile? #說(shuō)明oracle用戶(hù)已經(jīng)自動(dòng)被創(chuàng)建了 uid為54321 gid為 54321 可以在/etc/passwd 中查詢(xún)到 # .bash_profile ?? # Get the aliases and functions if [ -f ~/.bashrc ]; then ????????. ~/.bashrc fi ?? # User specific environment and startup programs ?? PATH=$PATH:$HOME/bin ?? export PATH |
?
?
轉(zhuǎn)載于:https://www.cnblogs.com/djinmusic/archive/2013/01/29/2881743.html
總結(jié)
以上是生活随笔為你收集整理的安装oel6.3 操作系统的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 上帝与集合的正确用法(bzoj3884)
- 下一篇: Windows下用Mingw编译Boos