linuxÏÂddnsʵÏÖ¶¯Ì¬dnsʵÏÖÓòÃû½âÎö(×ªÔØ±¸Íü)
ºÇºÇÒ»Ö±Ò»À´ÔÚWINDOWSÏÂÓл¨Éú¿ÇµÈÖÚ¶àµÄDDNSÈí¼þʵÏÖ¶¯Ì¬ÓòÃû½âÎö¡£µ«¶¼ÊÇÔÚWINDOWSϵġ£
½ñÌìÕÒµ½ÁËÒ»¸ö½ðÍòά¹«Ë¾ÌṩµÄÃâ·ÑDDNS·þÎñ¡£Ö÷ÒªÊÇÌṩÓÐLINUXϵݲװ¿Í»§¶Ë
°²×°·½·¨£ºµÃµ½½ðÍòάgnhostlinux¶¯Ì¬ÓòÃûLinux/UnixÏ¿ͻ§¶ËÈí¼þ
wget http://www.gnway.com/download/gnhostlinux1.2.6.tgz
½âѹÈí¼þ
tar zxvf gnhostlinux1.2.6.tgz
ÔËÐа²×°³ÌÐò
[root@gnway root] ./install.sh
°²×°ÍêÖ®ºó
Æô¶¯½ðÍòά¶¯Ì¬ÓòÃûLinux/UnixÏ¿ͻ§¶ËÈí¼þ
/etc/rc.d/rc3.d/S99gnhostlinuxd start
µÚÒ»´ËÔËÐÐʱ »áÈÃÄãÊäÈëÕÊ»§ ºÍÃÜÂë ÄãÊäÈëÍê ºó Ëû»áÄãµÄÕÊ»§ºÍÃÜÂë¼ÇÔÚ
/etc/gnhostlinux.conf
ÖÐ
È»ºóÖØÆô
/etc/rc.d/rc3.d/S99gnhostlinuxd restart
ÄãµÄlinuxÏÂddnsʵÏÖ¶¯Ì¬dnsʵÏÖÓòÃû½âÎö¾ÍÍê³ÉÁË
Èç¹ûÄãÊÇÔÚ·ÓÉÏÂÉϵÄÍø¡£Äã¾ÍÒªÔÚ·ÓÉÉÏ×÷¸ö¶Ë¿ÚÓ³É䣬ÔÚ·ÓɵÄÐéÄâ·þÎñÆ÷Àï¡£Ó³ÉäÒ»¸ö80¶Ë¿Úµ½ÄãµÄip ¾ÍÐÐÁË¡£
ÏàÐŵĿ´Õâ¸öhttp://www.gnway.com/service_new/duankou.php
Ïà¹ØÎĵµ£º
Linux 2.6ÏÂSPIÉ豸ģÐÍ
--------»ùÓÚAT91RM9200·ÖÎö
Atmel¹«Ë¾µÄARM ATϵÁУ¬ÆäSPIÇý¶¯ÔÚkernel 2.6.23ÀïÒѾ°üº¬¡£Èç¹ûÄã´òÁËat91-patch²¹¶¡µÄ»°£¬ÔòÔÚÄÚºËÅäÖÃʱҪСÐÄ¡£ÔÚDevice Drivers---- > Character devices ---- >È¡ÏûÑ¡ÖÐSPI Driver(legacy) for at91rm9200 pro ......
ÍøÂç³ÌÐòºÍÆÕͨ³ÌÐò×î´óµÄÇø±ð¾ÍÊÇ,ÍøÂç³ÌÐòÊÇÓÉÁ½²¿·Ö×é³ÉµÄ--server/client.Ò»°ãÇé¿öÏÂ,ÊÇÏÈÔËÐÐserver¶ËÉϵijÌÐò,È»ºóµÈ´ýclient¶ËÉϵijÌÐòÔËÐв¢½¨Á¢Á¬½Ó,server¶ËÉϵijÌÐòÔÚÒ»¸ö¶Ë¿Ú¼àÌý,µÈ´ýclient¶Ë·¢À´µÄÇëÇó.
int socket(int domain,int type,int protocol)
domain:˵Ã÷ͨѶ³ÌÐòËùÔÚÖ÷»úËù²ÉÓõÄͨѶÐÒéÀ ......
º¯ÊýÔÐÍ£º
#include <pthread.h>
void pthread_cleanup_push(void (*rtn)(void *),void *arg);
º¯ÊýrtnÊÇÇåÀíº¯Êý£¬argÊǵ÷ÓòÎÊý
void pthread_cleanup_pop(int execute);
ÔÚÇ°Ãæ½²¹ýÏ̵߳ÄÖÕÖ¹·½Ê½£¬ÊÇÕý³£ÖÕÖ¹»¹ÊÇ·Ç ......