linuxÉÏжÔØdb2
DB2жÔØ:ÓÉÓÚijÖÖÔÒò£¬ÒªÐ¶ÔØDB2ÔÙÖØа²×°µÄ»°£¬Ò»¶¨ÒªÕýÈ·µÄжÔØDB2£¬·ñÔò²»ÄÜÖ´ÐÐÖØа²×°»ò°²×°µÄDB2²»¿ÉÓá£
1¡¢ÔÚlinuxÉÏжÔØDB2µÄÒ»°ã¹ý³ÌÈçÏÂËùʾ£º
a.¿ÉÑ¡£ºÉ¾³ýËùÓÐÊý¾Ý¿â¡£¿ÉÒÔʹÓá°¿ØÖÆÖÐÐÄ¡±»òdrop databaseÃüÁîɾ³ýÊý¾Ý¿â¡£
b.Í£Ö¹DB2¹ÜÀí·þÎñÆ÷¡£
c.Í£Ö¹DB2ʵÀý¡£
d.³ýÈ¥DB2¹ÜÀí·þÎñÆ÷¡£
e.³ýÈ¥DB2ʵÀý¡£
f.³ýÈ¥DB2²úÆ·¡£
ÏÂÃæ°´ÕÕжÔØDB2µÄÒ»°ã¹ý³Ì˵Ã÷¾ßÌåжÔعý³Ì¡£
2¡¢Í£Ö¹DB2¹ÜÀí·þÎñÆ÷£º±ØÐëҪֹͣDB2¹ÜÀí·þÎñÆ÷²ÅÄÜÔÚlinuxÉÏжÔØDB2¡£¾ßÌå¹ý³ÌÈçÏ£º
a.×÷ΪDB2¹ÜÀí·þÎñÆ÷ËùÓÐÕߵǽ¡£
b.ÓÃdb2admin stopÃüÁîÍ£Ö¹DB2¹ÜÀí·þÎñÆ÷¡£
3¡¢Í£Ö¹DB2ʵÀý£º±ØÐëҪֹͣDB2ʵÀý²ÅÄÜÔÚlinuxÉÏжÔØDB2¡£¾ßÌå¹ý³ÌÈçÏ£º
a.×÷Ϊ¾ßÓÐrootÓû§È¨ÏÞµÄÓû§µÇ½¡£
b.ÊäÈë/opt/IBM/db2/V8.1/bin/db2ilistÃüÁ»ñȡϵͳÉϵÄËùÓÐDB2ʵÀýµÄÃû³Æ¡£
c.×¢Ïú¡£
d.×÷ΪÏëҪֹͣµÄʵÀýµÄËùÓÐÕߵǽ¡£
e.CDµ½ÏëҪֹͣʵÀýµÄÖ÷Ŀ¼Ï£¬ÔËÐÐÆô¶¯½Ì½Å±¾£º. sqllib/db2profile
d.ÊäÈëdb2 force application allÃüÁîÀ´Í£Ö¹ËùÓÐÊý¾Ý¿âÓ¦ÓóÌÐò¡£
e.ÊäÈëdb2stopÃüÁîÀ´Í£Ö¹DB2Êý¾Ý¿â¹ÜÀíÆ÷¡£
f.¿ÉÒÔÊäÈëdb2 terminateÀ´È·ÈÏDB2Êý¾Ý¿â¹ÜÀíÆ÷ÒÑÍ£Ö¹¡£
g.¶Ôÿһ¸öҪɾ³ýµÄʵÀýÖظ´ÒÔÉϲ½Öè¡£
4¡¢³öÈ¥DB2¹ÜÀí·þÎñÆ÷£º±ØÐë³öÈ¥DB2¹ÜÀí·þÎñÆ÷²ÅÄÜжÔØDB2£¬¾ßÌå¹ý³ÌÈçÏ£º
a.×÷ΪDB2¹ÜÀí·þÎñÆ÷ËùÓÐÕߵǽ¡£
b.CDµ½DB2¹ÜÀí·þÎñÆ÷µÄÖ÷Ŀ¼ÏÂÃ棬ÔËÐÐÆô¶¯½Å±¾£º. das/dasprofile.
c.×¢Ïú¡£
d.×÷ΪrootµÇ½£¬Í¨¹ýÊäÈëÃüÁî/opt/IBM/db2/V8.1/instance/dasdrop³ýÈ¥DB2¹ÜÀí·þÎñÆ÷¡£
5¡¢³ýÈ¥DB2ʵÀý£º¿ÉÒÔ³ýȥϵͳÉϵÄʵÀý£¬Ò»µ©³ýȥʵÀý£¬ÊµÀýÓµÓеÄËùÓÐDB2Êý¾Ý¿â¶¼½«²»¿ÉÓá£
a.ͨ¹ýÊäÈë/opt/IBM/db2/V8.1/instance/db2idrop db2instname À´³ýȥʵÀý¡£
6¡¢ÒÔrootÉí·ÝµÇ½£¬µ½DB2°æ±¾²úÆ·CD-ROMÉϵĸùĿ¼»òÒÔÇ°DB2½âѹÎļþÏÂÕÒµ½db2_deinstallÃüÁȻºóÓÃdb2_deinstall £n ÃüÁî¿ÉÒÔɾ³ýËùÓÐDB2²úÆ·¡£ Following are the steps to remove DB2 from Unix/Linux: 1.Remove DB[Ê×ÏÈɾ³ýÊý¾Ý¿â]
(1)su - db2inst1
(2)db2 list db directory
(3)db2 drop db
2.Remove Instance¡¾É¾³ýʵÀý¡¿
(1)su - root
(2)cd /instance
(3)./db2ilist
(4)./db2idrop -f
3.Remove das¡¾É¾³ýdas¡
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
1£¬¶ÔÓ¢ÓïÓÐÇ×ÇиС£Ñ§ÆðÀ´Ò»µã¶¼²»·Ñ¾¢¡£¿´Ó¢ÎĵÄÎÄÕ¾ÍÏñ¿´ÖÐÎĵÄÎÄÕÂÒ»ÑùµÄÈË¡£µ«ÊDz»ÒªËµÄã¹ýÁËÓ¢ÓX¼¶¡£ÎÒ¼û¹ýһЩ×ԳƹýÁËÓ¢Óï4¼¶6¼¶µÄÈË£¬ËûÃǵÄÓ¢Óï²¢²»³öÉ«¡£ÓÀÔ¶²»ÒªÂñÔ¹”ΪʲôLinux¶ÔÖÐÎÄÖ§³Ö²»ºÃ£¿ÎªÊ²Ã´LinuxÈí¼þûÓÐÖÐÎĵģ¿“ÒòΪÖйúÈËÔÚ¿ª·¢Õâ·½Ãæ×ö³öµÄ¹±Ï×Ì«ÉÙ¡£±¾µØ»¯²»ÒªÖ¸ÍûÍâ¹úÈ ......
ϵͳ
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
# hostname &nbs ......
linux-bus,device,driver,class
×ÜÏß
×ÜÏßÊÇ´¦ÀíÆ÷ºÍÒ»¸ö»ò¶à¸öÉ豸֮¼äµÄͨµÀ£¬ÔÚÉ豸ģÐÍÖÐ, ËùÓеÄÉ豸¶¼Í¨¹ý×ÜÏßÏàÁ¬, ÉõÖÁÊÇÄÚ²¿µÄÐéÄâ"platform"×ÜÏß¡£×ÜÏßÄÜÏ໥²åÈë¡£É豸ģÐÍչʾÁË×ÜÏߺÍËûÃÇËù¿ØÖƵÄÉ豸֮¼äµÄʵ¼ÊÁ¬½Ó¡£
ÔÚ Linux É豸ģÐÍÖÐ, ×ÜÏßÓÉ bus_type ½á¹¹±íʾ, ¶¨ÒåÔÚ £º
struct bus_type {
&nb ......
¡¾Ä¿Â¼¡¿
Ò»¡¢shellÃüÁî
1¡¢ÄÚ½¨ÃüÁî
2¡¢ÍⲿÃüÁî
3¡¢ÊµÓóÌÐò
4¡¢Óû§³ÌÐò
5¡¢shell½Å±¾
¶þ¡¢ÃüÁî°ïÖúÎĵµ
1¡¢ÃüÁî×ÔÉíµÄ°ïÖú¹¦ÄÜ
2¡¢manÊÖ²á
3¡¢ÔÚÏß°ïÖúÎĵµ
Èý¡¢·ÖÀà½éÉÜ
£¨Ò»£©Îļþ¡¢Ä¿Â¼²Ù×÷ÃüÁî
£¨¶þ£©²é¿´ÎļþÄÚÈÝÃüÁî
£¨Èý£©»ù±¾ÏµÍ³ÃüÁî
£¨ËÄ£©¼àÊÓϵͳ״̬ÃüÁî
£¨Î壩´ÅÅ̲Ù×÷ÃüÁî
£¨Áù£©Óû§ ......