±¾ÎĽ²ÊöÁËLinuxÃüÁîÐÐÐÞ¸ÄIP¡¢Íø¹Ø¡¢DNSµÄ·½·¨
·½Ê½Ò»£º
ifconfig eth0 192.168.1.18 netmask 255.255.255.0
˵Ã÷£º¸ÃÖÖ·½Ê½¿ÉÒÔʹ¸Ä±ä¼´Ê±ÉúЧ£¬ÖØÆôºó»á»Ö¸´ÎªÔÀ´µÄIP
·½Ê½¶þ£º
vi /etc/sysconfig/network-scripts/ifcfg-eth0
˵Ã÷£º¸Ã·½Ê½ÒªÖØÆôºóÉúЧ£¬ÇÒÊÇÓÀ¾ÃµÄ
Èç¹ûÒªÁ¢¼´¸ü¸ÄÇÒÓÀ¾ÃÉúЧ£¬¾ÍÖ»ÄÜÒÔÉÏÁ½ÖÖ·½Ê½Í¬Ê±Ê¹ÓÃÁË¡£
ÒÔÉÏÊÇͨ¹ýlinuxÃüÁîÐÐÐÞ¸ÄIPµÄ·½·¨¡£
Íø¿¨eth0 IPÐÞ¸ÄΪ 102.168.0.1
ifconfig eth0 102.168.0.1 netmask 255.255.255.0
Íø¹ØÐÞ¸ÄΪ 102.168.0.254
route add default gw 102.168.0.254
LinuxÃüÁîÐÐÐÞ¸Ädns
echo "nameserver 202.202.202.20 ">> /etc/resolv.conf
ÖØÆôÍøÂç·þÎñ
Àý×Ó£ºÓÉÔÀ´µÄDHCP¸Ä¹Ì¶¨IP
DEVICE=eth0
HWADDR=00:0C:29:F7:EF:BF
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.0
IPADDR=192.168.0.68
GATEWAY=192.168.0.1
¼ÓÉϺìÉ«¼´¿É
ÖØÆôÍø¿¨£º
/etc/init.d/network restart
ifconfig eth0 ÐÂip
È»ºó±à¼/etc/sysconfig/network-scripts/ifcfg-eth0£¬ÐÞ¸Äip
[aeolus@db1 network-scripts]$ vi ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=219.136.241.211
NETMASK=255.255.255.128
GATEWAY=219.136.241.254
[aeolus@db1 etc]$ vi resolv.conf
nameserver 202.96.128.68
nameserver 219.136.241.206
£££££££££££££££££££££££
LinuxÏÂÐÞ¸ÄÍø¿¨IPºÍÍø¹Ø
½¨Òéͨ¹ýÖÕ¶Ë×Ö·û·½Ê½ÏÂÀ´ÐÞ¸Ä
Ò»ÐÞ¸ÄIPµØÖ·
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
IPADDR=192.168.1.33
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
~
vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.2.34
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=no
TYPE=Ethernet
NETWORK=192.168.2.0
BROADCAST=192.168.2.255
¶þÐÞ¸ÄÍø¹Ø
vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=Aaron
GATEWAY=192.168.1.1
ÈýÖØÐÂÆô¶¯ÍøÂçÅäÖÃ
/etc/init.d/network restart
-----------------------------------------------------------------------------------
ÐÞ¸ÄÅäÖÃÎļþ
/etc/sysconfig/network-scripts/ ÏÂÓÐÅäÖÃÎļþ
±ÈÈçÎļþ£ºifcfg-eth0 ´ú±íÊÇÒÔÌ«Íøʵ¼ÊÍ
Ïà¹ØÎĵµ£º
·find path -option [ -print ] [ -exec -ok command ] {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec command {} \; -----½«²éµ½µ ......
ÎÄÊé±à¼Æ÷½éÉÜ [VI]
¡¡¡¡vi ( m ) ÔÚ´ó¶àÊýµÄ unix ϵͳÖÐ ( °üÀ¨ linux ) ¶¼ÄÚ½¨ vi ( m ) ±à¼Æ÷¡£Èç¹ûÄú¼´½«³ÉΪ linux ϵͳ¹ÜÀíÕߣ¬»òÊdz¤Ê±¼äÔÚ linux »·¾³Öй¤×÷£¬Äú×îºÃѧ»á vi ( m )£¬ÒòΪÄú³ÙÔç»áʹÓõ½Ëü£¬ÓÉÆäÊÇϵͳ³ö×´¿öʱ¡£¶ÔÐÂÊÖ¶øÑÔ£¬µÚÒ»´ÎʹÓà vi ( m ) µÄ¹ý³ÌÊǷdz£Í´¿àµÄ£¬ÉõÖÁÌÖÑáËü£¬ÒòΪËüµÄʹÓ÷ ......
ûÓÐÔĶÁ¹ýÔ´Âë֮ǰ,¶Ô²Ù×÷ϵͳ×ÜÊDZ§ÓÐÉñÃظÐ,×ÜÊÇÈÏΪ²Ù×÷ϵͳÊǺܰÂÃîµÄ¶«Î÷. Æäʵ,¶ÔÓÚÒ»¸öÓÐÒ»¶¨±à³Ì»ù´¡ºÍϵͳ֪ʶµÄ³ÌÐòÔ±,²Ù×÷ϵͳ²¢²»ÊÇ¿ÉÍû¶ø²»¿É¼°µÄ¶«Î÷. ²Ù×÷ϵͳµÄ×îÖÕÄ¿±êÖ»ÊÇÔÚÓ¦ÓóÌÐò²ãÃæÓëÓ²¼þ²ãÃæÖ®¼ä×öµÄÒ»²ãе÷,¿ÉÄÜÕâ¸ö¶¨ÒåÓÐЩƬÃæ,µ«±¾×ÅÕâÑùµÄ˼Ïë¶Á´úÂëÓ¦¸Ã»áÇáËÉÒ»µã.
ÓÉÓÚ·¢Õ¹µ½ÏÖÔÚ,LINU ......
1. linuxÏÂÆô¶¯oracle
su - oracle
sqlplus /nolog
conn /as sysdba
startup
exit
lsnrctl start
exit
2. linuxϹرÕoracle
su - oracle
sqlplus /nolog
conn /as sysdba
shutdown immediate
exit
lsnrctl stop
exit
3¡¢Æô¶¯¼àÌýÆ÷
oracle@suse92:~> lsnrctl start
4¡¢Í£Ö¹¼àÌýÆ÷
oracle@suse92:~ ......
1¡¢¶þ½øÖÆÎļþ£¨tar.gz£©°²×°
ÏÈ´´½¨Óû§ºÍÓû§×é
su - root
groupadd mysql
useradd -g mysql mysql
½âѹ¶þ½øÖÆÎļþ¡£
gunzip -c filename | tar -xf -
¸´ÖÆĿ¼/home/mysqlµ½/usr/local£»
´´½¨mysqlÐí¿É±í£º
linux:/usr/local/mysql #scripts/mysql_install_db --user=mysql
ÉèÖöþ½øÖÆËùÓÐȨ£¬Ê ......