linux ÏÂracµÄ°²×°
LinuxÏÂracµÄ°²×°
1£¬»·¾³×¼±¸
192.168.5.10 rac1
192.168.5.100 prac1
10.20.0.10 vrac1
192.168.5.20 rac2
192.168.5.200 prac2
10.20.0.20 vrac2
2.Íø¿¨ÉèÖÃǰÌáÊÇÁ½¿éÍø¿¨
cd /etc/sysconfig/network-scripts
cp ifcfg-eth0 ifcfg-eth1<cp -rf ifcfg-eth0 ifcfg-eth1>
vi ifcfg-eth1
½«ÆäÖеÄipÐÞ¸Äһϣ¬Íø¿¨¿ÉÒÔ²»ÓÃÐÞ¸Ä
ÖØÐÂÆô¶¯Íø¿¨
service network restart
Ñ¡×÷
route -n ÏÔÊ¾ÍøÂçÅäÖÃ
route add default gateway Íø¹Ø
3£¬ÐÞ¸ÄÖ÷»úÃû
vi /etc/sysconfig/network
ÐÞ¸ÄÆäÖеÄhostname
vi /etc/hosts
ÁÙʱÉèÖÃÉúЧ
hostname xx
4£¬ÐÞ¸ÄË«»úhostsÎļþ
Ìí¼Óip
192.168.5.10 rac1 rac1.com
192.168.5.100 prac1
10.20.0.10 vrac1
192.168.5.20 rac2 rac2.com
192.168.5.200 prac2
10.20.0.20 vrac2
5£¬²é¿´Èí¼þÊÇ·ñ°²×°
rpm -qa | grep iscsi
ÈôûÓа²×°£¬
ÔòÐèÒª°²×°iscsi¡£¡£¡£¡£ lss....
»¹ÐèÒª°²×°gcc¼°libXp,,,,ncurses-... ncurses-devel-,,,
6£¬°²×°Íê±ÏÖ®ºóÐèÒªÆô¶¯iSCSI£¬¹Ø±Õ·À»ðǽ
service iptables stop
setup
service iscsid start
7£¬Ê¶±ðÍøÂçÓ²ÅÌ
Èç¹ûÔÚping iSCSIʱºòttlµÄÖµÓ¦¸ÃÊÇ64
iscsiadm --mode/m discovery --type sendtargets --portal ip
iscsiadm --mode node --targetname xxxx --portal ip:3260 --login
fdisk -l
fdisk /dev/hdX
ÓÉÓÚÐèÒª¶à¿éÓ²ÅÌ£¬ËùÒÔʹÓÃÂß¼·ÖÇø
n ->> e ->> l
µÚÒ»´ÎÈ«²¿ÊÇĬÈÏ£¬±íʾȫ²¿·Ö¸øÁËËû
ÔÚ´Ó5¿ªÊ¼µ½9½áÊø
w±£´æÍ˳ö
ΪʹÆäÁ¢¼´ÉúЧ
partprobe
ÔÚÁíÒ»¸ö½ÚµãµÄÖ÷»úÉϲ鿴·ÖÇø
fdisk -l
8£¬Ìí¼Ó×éºÍÓû§
<userdel -r oracle>
groupadd -g 2000 oinstall
groupasd -g 2001 dba
mkdir -p /rac/oracle/product/10.2.0/db_1
useradd -d /rac/orcl -m -g oinstall -G dba oracle
Ïà¹ØÎĵµ£º
Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
Unix Toolbox revision 14.2
The latest version of this ......
ÓÉÓÚÎҵĻúÆ÷ż¶û¿ª·¢Óã¬ËùÒÔ¿â±È½ÏÈ«¡£
ËùÒÔÈç¹ûÄú°²×°µÄʱºò£¬È±É¶²¹É¶°É~~
careone ´òdeb°ü~~
ÏÂÔØÒ³Ãæ£ºhttp://forum.ubuntu.org.cn/viewtopic.php?f=137&t=217474
ÏÂÔØµØÖ·£ºhttp://forum.ubuntu.org.cn/download/file.php?id=73080 ......
This document shows how to write a daemon in Linux using GCC. Knowledge of Linux and a familiarity with C are necessary to use this document. This HOWTO is Copyright by Devin Watson, under the terms of the BSD License.
1. Introduction: What is a Daemon?
2. Getting Started
3. Planning Your Daemo ......
2.1 ¿ò¼Üͼ
-->PREROUTING-->[ROUTE]-->FORWARD-->POSTROUTING-->
mangle | mangle ^ mangle
nat | filter | na ......
ÏÈÈ«¾Ö½éÉÜÏ£¬Ê×ÏÈ£¬Ê²Ã´ÊÇOpenGLºÍOpenGL|ES¡£OpenGLÊÇÒ»Ì×»æÍ¼º¯ÊýµÄ±ê×¼£¬OpenGL|ESÊÇOpenGLÖÐÕë¶ÔǶÈëʽϵͳµÄÒ»Ì׺¯Êý×Ó¼¯¡£OpenGL|ESµÄ¹Ù·½ÊÇhttp://www.khronos.org/opengles/£¬ÉÏÃæÓиü¶àµÄÐÅÏ¢¡£ÐèҪעÒâµÄÊÇ£¬OpenGL½ö½öÊDZê×¼£¬¶øÈç¹ûÄãҪʹÓÃOpenGL£¬ÔòÐèÒªÕÒµ½¿ÉÒÔʵÏÖÕâЩOpenGL±ê×¼º¯ÊýµÄ³ÌÐò¿â»òÔ´´úÂë¡£Ä ......