Linux´®¿Ú±à³Ì
Linux ²Ù×÷ϵͳ´ÓÒ»¿ªÊ¼¾Í¶Ô´®ÐпÚÌṩÁ˺ܺõÄÖ§³Ö£¬±¾ÎÄ¾Í Linux ϵĴ®ÐпÚͨѶ±à³Ì½øÐмòµ¥µÄ½éÉÜ¡£ ´®¿Ú¼ò½é ´®ÐпÚÊǼÆËã»úÒ»ÖÖ³£ÓõĽӿڣ¬¾ßÓÐÁ¬½ÓÏßÉÙ£¬Í¨Ñ¶¼òµ¥£¬µÃµ½¹ã·ºµÄʹÓᣳ£ÓõĴ®¿ÚÊÇ RS-232-C ½Ó¿Ú£¨ÓÖ³Æ EIA RS-232-C£©ËüÊÇÔÚ 1970 ÄêÓÉÃÀ¹úµç×Ó¹¤ÒµÐ»á£¨EIA£©ÁªºÏ±´¶ûϵͳ¡¢ µ÷Öƽâµ÷Æ÷³§¼Ò¼°¼ÆËã»úÖÕ¶ËÉú²ú³§¼Ò¹²Í¬Öƶ¨µÄÓÃÓÚ´®ÐÐͨѶµÄ±ê×¼¡£ËüµÄÈ«ÃûÊÇ"Êý¾ÝÖÕ¶ËÉ豸£¨DTE£©ºÍÊý¾ÝͨѶÉ豸£¨DCE£©Ö®¼ä´®Ðжþ½øÖÆÊý¾Ý½»»»½Ó¿Ú¼¼Êõ±ê×¼"¸Ã±ê×¼¹æ¶¨²ÉÓÃÒ»¸ö 25 ¸ö½ÅµÄ DB25 Á¬½ÓÆ÷£¬¶ÔÁ¬½ÓÆ÷µÄÿ¸öÒý½ÅµÄÐźÅÄÚÈݼÓÒԹ涨£¬»¹¶Ô¸÷ÖÖÐźŵĵçƽ¼ÓÒԹ涨¡£´«Êä¾àÀëÔÚÂëÔª»û±äСÓÚ 4% µÄÇé¿öÏ£¬´«ÊäµçÀ³¤¶ÈӦΪ 50 Ó¢³ß¡£ Linux ²Ù×÷ϵͳ´ÓÒ»¿ªÊ¼¾Í¶Ô´®ÐпÚÌṩÁ˺ܺõÄÖ§³Ö£¬±¾ÎÄ¾Í Linux ϵĴ®ÐпÚͨѶ±à³Ì½øÐмòµ¥µÄ½éÉÜ£¬Èç¹ûÒª·Ç³£ÉîÈëÁ˽⣬½¨Òé¿´¿´±¾ÎÄËù²Î¿¼µÄ ¡¶Serial Programming Guide for POSIX Operating Systems¡· ¼ÆËã»ú´®¿ÚµÄÒý½Å˵Ã÷ ÐòºÅ ÐźÅÃû³Æ ·ûºÅ Á÷Ïò ¹¦ÄÜ 2 ·¢ËÍÊý¾Ý TXD DTE¡úDCE DTE·¢ËÍ´®ÐÐÊý¾Ý 3 ½ÓÊÕÊý¾Ý RXD DTE¡ûDCE
Ïà¹ØÎĵµ£º
ÌÚѶ¿Æ¼¼Ñ¶£¨ÂåÂåºÓ£© 5ÔÂ20ÈÕÏûÏ¢£¬ºìñ£¨Red Hat£©Ðû²¼ÒÑÔÚ¹úÄÚÆô¶¯´óѧÉúLinux¼¼ÄÜ´óÈü£»²¢½«Í¨¹ý³õÈü¡¢¸´Èü¡¢¾öÈü²ã²ãÑ¡°Î£¬ÓÚ7ÔÂ17ÈÕ¾ö³ö»ñʤÕß¡£
ºìñÖйúÊг¡²¿×ܼà¶ÐÁÒÒ±íʾ£¬¹úÄÚLinuxÊг¡È˲Åȱ¿ÚºÜ´ó£¬ÒѾӰÏìµ½Á˺ܶàLinuxÏîÄ¿µÄÕý³£½øÐУ¬Ï£Íûͨ¹ýÕâЩ¾Ù´ëÔö¼Ó´óѧÉú¶ÔLinuxµÄÐËȤ£¬´Ó¶øÅàÑø¸ü¶àÈ˲š£
Ìî ......
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
±¸×¢£º¾¹ýÇ°ÆÚµÄlinuxϵͳ»·¾³µÄÅäÖôÍê³É£¬ÏÂÃæ¾Í¿ªÊ¼°²×°oracleÊý¾Ý¿â¡£oralceÊý¾Ý´ó¼ÒÈ¥oracle¹Ù·½ÍøÕ¾ÉÏÏÂÔØlinux»·¾³Ïµİ汾¡£ºÜÒź¶½ØͼÉÏ´«²»ÁË¡£
Èý£®Oracle database°²×°¾ßÌå°²×°²½Öè
<1>´´½¨°²×°oracleĿ¼¼°Ö÷Êôµ÷Õû
[root@mylinux oracle]# mv database/ /u01
[root@mylinux u ......
ϵͳÔÊÐíÒ»¸ö½ø³Ì´´½¨Ð½ø³Ì£¬Ð½ø³Ì¼´Îª×Ó½ø³Ì£¬×Ó½ø³Ì»¹¿ÉÒÔ´´½¨ÐµÄ×Ó½ø³Ì£¬Ðγɽø³ÌÊ÷½á¹¹Ä£ÐÍ¡£Õû¸ölinuxϵͳµÄËùÓнø³ÌÒ²ÊÇÒ»¸öÊ÷Ðνṹ¡£Ê÷¸ùÊÇϵͳ×Ô¶¯¹¹ÔìµÄ£¬¼´ÔÚÄÚºË̬ÏÂÖ´ÐеÄ0ºÅ½ø³Ì£¬ËüÊÇËùÓнø³ÌµÄ×æÏÈ¡£ÓÉ0ºÅ½ø³Ì´´½¨1ºÅ½ø³Ì£¨ÄÚºË̬£©£¬1ºÅ¸ºÔðÖ´ÐÐÄں˵IJ¿·Ö³õʼ»¯ ......
FIFO
£¬ÓÖ³ÆÃüÃû¹ÜµÀ
£¬ÊÇLinuxÏ£¨unix»·¾³Ï£©Ò»ÖÖ½ø³Ì¼äͨÐŵĻúÖÆ£¬Ó¦Óù㷺¡£
º¯Êýmkfifo
ÓÃÓÚ´´½¨ÃüÃû¹ÜµÀ£¬Ê¹ÓÃÃüÁîman 3 mkfifo
¿É²é¿´´Ëº¯ÊýÐÅÏ¢¡£
FIFO´´½¨ºó£¬¿ÉÒÔÏñÆÕͨÎļþÒ»Ñù¶ÔÆä·ÃÎÊ¡£
LinuxÏÂÒ»¸öͬÃûÃüÁîmkfifo
Ò²ÓÃÓÚ´´½¨FIFO£¬ÀýÈ磺
Ö´ÐÐÃüÁî
$ mkfifo /tmp/fifo
$ cat /tmp/fifo
³ÌÐò×èÈ ......