linuxϵĶÁÅäÖÃÎļþµÄ³ÌÐò
config.h
/*--
Copyright (c) 2004 Shenzhen Huaren Education Co.Ltd
File Name:
config.h
Version:
2.0
Abstract:
declarations/definitions for reading configuration file.
Author:
Gang He
Created on:
2003-12-23
Modified History:
2004-09-02
Modified Person:
--*/
#ifndef _HEGANG_CONFIG_H_
#define _HEGANG_CONFIG_H_
#ifdef __cplusplus
extern "C" {
#endif
/* Define return error code value */
#define CFG_NOERROR 0 /* read configuration file successfully */
#define CFG_NOFILE -1 /* not find or open configuration file */
#define CFG_NOFIND -2 /* not find section or key name in configuration file */
/*-
Name:
int g
Ïà¹ØÎĵµ£º
1 linux½ø³ÌÓëÏ̵߳ÄÁªÏµºÍÇø±ð£º
ÔÚlinuxÖУ¬Ḭ̈߳´ÕÕ½ø³ÌµÄ·½Ê½ÊµÏÖ¡£ÆäʵÏÖ»úÖÆÓësolarisºÍwindows²îÒìºÜ´ó¡£
ÔÚÏÖ´ú²Ù×÷ϵͳÖУ¬½ø³ÌÖ§³Ö¶àỊ̈߳¬½ø³ÌÊÇ×ÊÔ´¹ÜÀíÒÔ¼°·ÖÅäµÄ×îСµ¥Ôª£¬Ïß³ÌÊdzÌÐòÖ´ÐеÄ×îСµ¥Ôª¡£Ò»¸ö½ø³ÌʵÌå·ÖΪ£ºÏ̼߳¯ºÍ×ÊÔ´¼¯(°üÀ¨µØÖ·¿Õ¼ä¡¢´ò¿ªµÄÎļþÒ ......
×¼±¸Æª
»·¾³ÊÇFedora 8
Ê×ÏÈÐèÒª°²×°OpenGLµÄ¿ª·¢»·¾³¡£ÏÖÔÚLinuxÏÂÓкܶàOpenGLµÄʵÏÖ£¬Fedora 7ÖÐÒѾ¸½´øÁËMesa,ÕâÊÇOpenGLÒ»¸ö¿ªÔ´µÄʵÏÖ¡£°²×°FedoraʱÈç¹ûÑ¡ÖÐÁË¿ª·¢»·¾³£¬ÄÇôMesa¿ÉÄܾÍÒѾ°²×°ºÃÁË¡£Èç¹ûÄãºÍÎÒÒ»Ñù°²×°µÄʱºòûÓÐÑ¡Ôñ¿ª·¢£¬ÄÇô£¬¿ÉÒÔͨ¹ýyumÀ´ÔÚÏß°²×°Mesa£º
Ê×ÏȲéÕÒMesaÏà¹ØµÄ°ü£º
&nbs ......
ÒÔÏÂÊÇÕÒµ½µÄLinuxµÄ×ÊÁÏ£¬Solairs¡¢AIXµÈÓ¦µ±ÓÐËù²»Í¬£¬Çë¸ú½ø
·½·¨Ò»£º¶Ë¿ÚÓ³Éä
1¡¢iptablesÃüÁî:iptables -t nat -A PREROUTING -p tcp --dport <µÍ¶Ë¿Ú> -i eth0 -j REDIRECT --to-port <ÔÏȼàÌýµÄ¸ß¶Ë¿Ú>
2¡¢rinetd³ÌÐò
3¡¢ipchansÃüÁî:ipchans -I input --proto TCP --dport <µÍ¶Ë¿Ú> - ......
1.BIOS×Ô¼ì
¼ÆËã»úÔÚ½ÓͨµçÔ´Ö®ºóÊ×ÏȽøÐÐBIOS×Լ죬¼´ÎÒÃÇËù˵µÄpost(power on self test).×Ô¼ìÍê³Éºó£¬È»ºó¸ù¾ÝBIOSÖеÄÉèÖõÄÒýµ¼Ë³Ðò£¬´ÓÓ²ÅÌ¡¢¹âÅÌÒýµ¼£¬Í¨³£ÎÒÃÇʹÓÃÓ²ÅÌÀ´Òýµ¼ÏµÍ³¡£ÔÚÓ²Å̵ĵÚÒ»¸öÉÈÇø£¨0´ÅµÀ0ÖùÃæ1ÉÈÇø£©ÓÐÒ»¶Î´úÂë½Ð×öMBR£¨Master Boot Record.Ö÷Òýµ¼¼Ç¼£©£©£ ......
1. »ù±¾¸ÅÄî
ÏûÏ¢¶ÓÁеÄ×î¼Ñ¶¨ÒåÊÇ£ºÄں˵ØÖ·¿Õ¼äÖеÄÄÚ²¿Á´±í¡£ÏûÏ¢¿ÉÒÔ˳ÐòµØ·¢Ë͵½¶ÓÁÐÖУ¬
²¢ÒÔ¼¸ÖÖ²»Í¬µÄ·½Ê½´Ó¶ÓÁÐÖлñÈ¡¡£µ±È»£¬Ã¿¸öÏûÏ¢¶ÓÁж¼ÊÇÓÉ IPC±êʶ·ûËùΨһ±êʶµÄ¡£
2. ÄÚ²¿ºÍÓû§Êý¾Ý½á¹¹
ÒªÍê³ÉÀí½âÏóϵͳ V IPCÕâÑù¸´ÔÓµÄÎÊÌ⣬¹Ø¼üÊÇÒª³¹µ×ÊìϤÄں˵ļ¸¸öÄÚ²¿Êý¾Ý½á¹¹¡£
ÉõÖÁ¶ÔÄÇЩ×î»ù±¾µÄ²Ù×÷ ......