Linux AS 5.4°²×°oracle10g ·½·¨
Oracle Database 10g Release 2 (10.2.0.1) Installation On Red Hat Enterprise Linux 5 (RHEL5)
Ò»°²×°ÐèÇó
1.swap ·ÖÇø²»µÍÓÚ2G
2.selinux ״̬disable
3.ÎïÀíÄÚ´æ²»µÍÓÚ512M
ϵͳ×é¼þ
GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools
Legacy Software Development
Server Configuration Tools
Administration Tools
Base
Legacy Software Support
System Tools
X Window System
¶þ°²×°¹ý³Ì
1.Èí¼þÏÂÔØ
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
2.½â°ü
unzip 10201_database_linux32.zip
3. hostÅäÖÃ
vi /etc/hosts
ÖеÄ127.0.0.1¸Ä³É192.168.0.6
vi /etc/sysctl.conf file:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
ÔËÐÐÏÂÃæÃüÁîʹÉèÖÃÉúЧ/sbin/sysctl -p
vi /etc/security/limits.conf
* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536
vi /etc/pam.d/login
session required /lib/security/pam_limits.so
vi /etc/selinux/config
SELINUX=disabled
°²×°ÏÂÃæµÄrpm°ü
# from RedHat AS5 Disk 1
cd /media/cdrom/Server
rpm -Uvh setarch-2*
rpm -Uvh make-3*
rpm -Uvh glibc-2*
rpm -Uvh libaio-0*
cd /
eject
# from RedHat AS5 Disk 2
cd /media/cdrom/Server
rpm -Uvh compat-libstdc++-33-3*
rpm -Uvh compat-gcc-34-3*
rpm -Uvh compat-gcc-34-c++-3*
rpm -Uvh gcc-4*
rpm -Uvh libXp-1*
cd /
eject
# from RedHat AS5 Disk 3
cd /media/cdrom/Server
rpm -Uvh openmotif-2*
rpm -Uvh compat-db-4*
cd /
eject
½¨Á¢oracleÓû§ºÍ×é
groupadd oinstall
groupadd dba
groupadd oper
add -g oinstall -G dba oracle
passwd oracle
½¨Á¢ÏàÓ¦µÄĿ¼
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01
±à¼/etc/redhat-release
vi /etc/redhat-release
Red Hat Enter
Ïà¹ØÎĵµ£º
[Ìù½Ì³Ì]LinuxÏÂSquidµÄʹÓÃ
×öΪÑÛÏÂ×îÁ÷ÐеIJÙ×÷ϵͳ£¬LinuxÒѾԽÀ´Ô½Êܵ½ÊÀÈ˵ĹØ×¢¡£ËäȻĿǰLinuxµÄÈí¼þ»¹²»ÊǺܷḻ£¬
Ìæ´úWINDOWS×÷ΪÆÕͨPC»ú²Ù×÷ϵͳ»¹ÎªÊ±¹ýÔ磬µ«ÊÇÔÚ·þÎñÆ÷ÁìÓò£¬LinuxµÄÎȶ¨ÐÔ£¬¿É²Ù×÷ÐÔ¾ö²»
ÊäÓÚÈκβÙ×÷ϵͳ£¬²¢ÇÒÒ²ÓÐÓÅÐãµÄÈí¼þÖ§³Ö¡£Squid¾ÍÊÇÆäÖÐÖ®Ò»¡£Linux¼ÓSquidµÄ×éºÏ×öÎ ......
1 ¡¢ÖØÐÂÆô¶¯»úÆ÷£¬ÔÚ³öÏÖgrubÒýµ¼½çÃæºó£¬°´F2£¬ÔÚÆô¶¯linux µÄÑ¡ÏîÀï¼ÓÉÏinit=/bin/bash£¬Í¨¹ý¸øÄں˴«µÝinit=/bin/bash²ÎÊýʹµÃOSÔÚÔËÐÐlogin³ÌÐò֮ǰÔËÐÐbash£¬³öÏÖÃüÁîÐС£
¡¡¡¡2 ¡¢ÉÔµÈƬ¿Ì³öÏÖ(none)# £ºÃüÁîÐС£
¡¡¡¡3 ¡¢ÊäÈëmount -n / -o remount £¬rw
¡¡¡¡4 ¡¢ÊäÈë mount–n /usr
¡¡¡¡5 ¡¢ÊäÈë cd /usr ......
0/viµÄʹÓÃ:
Ctrl + f ÆÁÄ»ÏòÇ°·¶¯Ò»Ò³£¨³£Óã©
Ctrl + b ÆÁÄ»Ïòºó·¶¯Ò»Ò³£¨³£Óã©
Ctrl + d ÆÁÄ»ÏòÇ°·¶¯°ëÒ³
Ctrl + u ÆÁÄ»Ïòºó·¶¯°ëÒ³
n<space> °´ÏÂÊý×ÖºóÔÙ°´¿Õ¸ñ¼ü£¬¹â±ê»áÏòÓÒÒƶ¯ÕâÒ»ÐеÄn¸ö×Ö·û¡£ÀýÈç:20<space>,Ôò¹â±ê»áÏòÓÒÒƶ¯20¸ö×Ö·û
0 &nbs ......
LinuxÍøÂç¹ÜÀíԱӦƸ¿¼ÊÔÌ⣨º¬´ð°¸£©
Ò»£®Ìî¿ÕÌ⣺
£¨¼Ó´ÖµÄÎÄ×ÖΪ¸ÃÌâµÄ´ð°¸£©
1. ÔÚLinuxϵͳÖУ¬ÒÔ Îļþ
·½Ê½·ÃÎÊÉ豸 ¡£
2. LinuxÄÚºËÒýµ¼Ê±£¬´ÓÎļþ /etc/fstab
ÖжÁÈ¡Òª¼ÓÔصÄÎļþϵͳ¡£
3. LinuxÎļþϵͳÖÐÿ¸öÎļþÓà i½Úµã
À´±êʶ¡£
4. È«²¿´ÅÅÌ¿éÓÉËĸö²¿·Ö×é³É£¬·Ö±ðΪÒýµ¼¿é ¡¢×¨ÓÃ¿é ¡¢ i½Úµã±í¿é ......
½Å±¾Îļþ backup.sh
#!/bin/sh
a=`date "+%y_%m%d_%H%M"`
echo $a
/home/oracle/10g/bin/exp username@password@//192.168.0.126/SID owner=username FILE=/opt/beifen/126_username_$a.dmp
±¸·ÝµÄÎļþ¸ñʽÈ磺126_username_09_0920_2300.dmp
±àдÍêshell½Å±¾Ö®ºó£¬Òª¶ÔÆ丳Óè¿ÉÖ´ÐÐȨÏÞ¼°ÆäÓû§ËùÊô£º
# chmod 7 ......