linuxµÄ´¥ÃþÆÁÖ®Î壺֡»º³åÉ豸ÉϽÏ×¼½çÃæµÄÅäÖÃ
£¨1£©Ö¡»º³åÉ豸¸úTTYµÄ¹ØÏµ¡£ÐèÒª¹Ø×¢tty¸úÖ¡»º³åÉ豸µÄ¹ØÏµ£¬Ò»°ãÇé¿öÏÂÖ¡»º³åÉ豸ÊÇ¿ÉÒÔ¶ÀÁ¢²Ù×÷µÄ£¬µ«ÊÇÈç¹ûΪÁ˱£Ö¤µ¥¶ÀÕ¼Óò»±»ÇÀÕ¼£¬Ëƺõ»¹Òª¹ØÁªÒ»¸öttyÖÕ¶Ë¡£ÕâÀïÓõÄÊÇÐéÖÕ¶ËVT¡£
ÐéÖÕ¶Ë£¬Ò²½ÐÐéÆÁ£¬ËüµÄÓ¢ÎÄÃû×ÖΪvirtual terminal,ËõдΪVT»òvt¡£ÔÚUnixϵͳÓû§ÖУ¬ÐéÖÕ¶ËÓÐ׏㷺µÄÓ¦Óá£Ëü½â¾öÁËÖ÷¿ØÌ¨µ¥Ò»½»»¥½çÃæµÄÏÞÖÆ£¬Ê¹Óû§¿ÉÔÚ±£»¤µ±Ç°½çÃæµÄÇé¿öÏÂÆôÓÃÁíÒ»½çÃæÈ¥×öÁíÒ»¹¤×÷¡£ÎÒÃÇ¿ÉÀûÓÃUnixϵͳÌṩµÄϵͳµ÷ÓÃÀ´±àÖÆÐéÖն˳ÌÐò£¬²¢¿É°ÑËü¼ÓÈëµ½ÎÒÃǵÄÓ¦ÓóÌÐòÖÐÈ¥¡£
ÎÒÃÇ¿ÉÀûÓÃioctlº¯Êý²Ù×ÝÐéÖÕ¶ËÉ豸Îļþ£¬ÊµÏÖÓëUnixϵͳÄں˵Ľ»»¥£¬µÃµ½ÎÒÃÇËùÐèÒªµÄ·þÎñ¡£Ê¹ÓÃioctlµÄ¾ßÌåÐÎʽÈçÏ£º
int ioct1(int filedes,int request,…/£ª²ÎÊý£ª/¡£requestΪÇëÇóµÄ·þÎñ£¬ËæºóµÄ²ÎÊý¿ÉΪ¸÷ÖÖÊý¾ÝÀàÐÍ£¬ÊÓ¾ßÌåÇé¿ö¶ø¶¨¡£
VT_OPENQRY¡¡²éÕÒÒ»¸ö¿ÉÀûÓõÄÐéÖÕ¶Ë¡£
VT_SETMODE¡¡ÉèÖÃÐéÖÕ¶Ëģʽ(×Ô¶¯»ò½ø³Ì¿ØÖÆ)¡£
VT_GETSTATE »ñȡȫ²¿ÐéÖն˵Ä״̬ÐÅÏ¢¡£
VT_ACTIVATE¡¡Ê¹ÔÚ²ÎÊýÖÐÖ¸¶¨µÄÐéÖն˺ÅΪ»î¶¯ÐéÖÕ¶Ë¡£Èç¹ûÖ¸¶¨µÄÐéÖն˲»´¦ÓÚ´ò¿ª×´Ì¬»òÕß²»´æÔÚ£¬µ÷Óý«Ê§°Ü¡£
VT_WAITACTIVE¡¡µÈ´ýÐéÖն˱»¼¤»î£¬²»ÐèÒª²ÎÊý¡£
ÓÐÁËÉÏÃæµÄ½éÉÜ£¬ÏÖÔÚÎÒÃǾͿÉÒÔʵÏÖÐéÖÕ¶ËÁË£º
1£¬²éÕÒÊÇ·ñÓпÉÀûÓõÄÐéÖÕ¶Ë£¬ÈçûÓУ¬Ôò½áÊø¡£
2£¬´ò¿ª¿ÉÀûÓÃÐéÖÕ¶ËÉ豸Îļþ£¬ÒÔ±ã½øÐС£
3£¬ÀûÓÃioctlµÄTCSETSW¹¦ÄÜÉèÖÃÐéÖն˲ÎÊý¡£
4£¬ÀûÓÃioctlµÄVT_ACTIVATE¹¦Äܼ¤»îÐéÖÕ¶Ë£¬²¢ÀûÓÃVT_WAITACTIVE¹¦ÄܵȴýÆä¿ÉÓá£
5£¬ÓÃputenvº¯ÊýÉèÖû·¾³±äÁ¿¡£
¡¡¡¡ÖÁ´Ë£¬Ò»¸öÐéÖն˳ÌÐò¾ÍʵÏÖÁË¡£
£¨2£©open_framebuffer
static int con_fd, fb_fd, last_vt = -1;
static struct fb_fix_screeninfo fix;
static struct fb_var_screeninfo var;
static unsigned char *fbuffer;
static unsigned char **line_addr;
static int fb_fd=0;
static int bytes_per_pixel;
static unsigned colormap [256];
__u32 xres, yres;
#define TSLIB_FBDEVICE "/dev/graphics/fb0"
static char *defaultfbdevice = "/dev/graphics/fb0";
static char *defaultconsoledevice = "/dev/tty";
static char *fbdevice = NULL;
static char *consoledevice = NULL;
int open_framebuffer(void)
{
&nb
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
£¨1£©Óû§Ä£Ê½USB
usbfsÐéÄâÎļþϵͳÔÊÐí´ÓÓû§¿Õ¼äÒÔÔʼ·½Ê½·ÃÎÊUSBÉ豸¡£usbfsͨ³£¹ÒÔØÔÚ/proc/bus/usb/ÉÏ£¬usbfsÊ÷°üº¬ÁËϵͳÖÐÓëÿ¸öUSB¿ØÖÆÆ÷£¨»ò×ÜÏߣ©¶ÔÓ¦µÄĿ¼£¬Ã¿¸öĿ¼ÒÀ´Î°üº¬ÁËÓë¸Ã×ÜÏßÉϵÄUSBÉ豸Ïà¶ÔÓ¦µÄ½áµã¡£
ΪÁ˸üºÃµØÀí½âusbfs£¬ÎÒà ......
ÖÚËùÖÜÖª£¬ÏÖÔڵķÖʱ²Ù×÷ϵͳÄܹ»ÔÚÒ»¸öCPUÉÏÔËÐжà¸ö³ÌÐò£¬ÈÃÕâЩ³ÌÐò±íÃæÉÏ¿´ÆðÀ´ÊÇÔÚͬʱÔËÐеġ£linux¾ÍÊÇÕâÑùµÄÒ»¸ö²Ù×÷ϵͳ¡£
¡¡¡¡ÔÚlinuxϵͳÖУ¬Ã¿¸ö±»ÔËÐеijÌÐòʵÀý¶ÔÓ¦Ò»¸ö»ò¶à¸ö½ø³Ì¡£linuxÄÚºËÐèÒª¶ÔÕâЩ½ø³Ì½øÐйÜÀí£¬ÒÔʹËüÃÇÔÚϵͳÖГͬʱ”ÔËÐС£
linuxÄں˶Խø³ÌµÄÕâÖÖ¹ÜÀí·ÖÁ½¸ö·½Ã棺½ø ......
red hat linux ϰ²×° oracle 10g
racle¿¼×ÊÁÏ:
Oracle¹Ù·½ÍøÕ¾: http://download.oracle.com/docs/html/B10813_01/toc.htm
Ò»¡¢ÒÔrootÓû§µÇ¼, ½øÐÐÈçϲÙ×÷£º
1 ¼ì²éÓ²¼þÒªÇó
* Ö÷Òª°üÀ¨£º
********************************************************************
* ÄÚ´æ: & ......
ZZ ×Ôhttp://dev.firnow.com/course/6_system/linux/Linuxjs/200896/139627.html
.tar
¡¡¡¡½â°ü£º tar xvf FileName.tar
¡¡¡¡´ò°ü£ºtar cvf FileName.tar DirName
¡¡
¡¡£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
¡¡¡¡---------------------------------------------
......