ÔÚLinuxÉϽ¨Á¢sshËíµÀ
ssh -L 7070:localhost:* remotehost
ÉÏ ÃæµÄÃüÁîÐÐÖУ¬-LÖ¸¶¨±¾µØ¶Ë¿ÚÓëÔ¶³ÌÖ÷»ú¶Ë¿ÚÖ®¼äµÄËíµÀ£¬
7070ÊDZ¾µØ¶Ë¿Ú£¬¿ÉÒÔÈÎÒâÉèÖã¬Ö»Òª²»ºÍÆäËûÒѾʹÓõÄÍøÂç·þÎñ³åÍ»¾Í¿ÉÒÔ¡£localhostÊDZ¾µØÖ÷»ú£¬Ò²¾ÍÊÇÄãµÄµçÄÔ£¬²»Óøü¸Ä£¬*ºÅ¿ÉÒÔ×Ô¶¯
ѰÕÒÔ¶³ÌÖ÷»ú¿ÉÓõĶ˿ڡ£remotehost¾ÍÊÇËùÒªµÇ¼µÄÔ¶³ÌSSHÖ÷»úÃû³Æ¡£
ssh -qTfnN -D 7070 remoteho
st
All the added options are for a ssh session that’s used for tunneling.
-q :- be very quite, we are acting only as a tunnel.
-T :- Do not allocate a pseudo tty, we are only acting a tunnel.
-f :- move the ssh process to background, as we don’t want to interact with this ssh session directly.
-N :- Do not execute remote command.
-n :- redirect standard input to /dev/null.
In addition on a slow line you can gain performance by enabling compression with the -C option.
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
1. ѧ»áд¼òµ¥µÄmakefile
2. ±àһЩӦÓÃ
³ÌÐò
£¬¿ÉÒÔÓÃmakefileÅÜÆðÀ´
3. ѧ»áдÇý¶¯
µÄmakefile
4. дһ¼òµ¥charÇý¶¯£¬makefile±àÒëͨ¹ý£¬¿ÉÒÔinsmod£¬ lsmod£¬ rmmod. ÔÚÇý¶¯µÄinitº¯ÊýÀï´òÓ¡hello world£¬insmodºóÓ¦¸ÃÄܹ»Í¨¹ýdmesg¿´µ½Êä³ö
¡£
5. дһÍêÕûÇý¶¯£¬ ¼ÓÉÏread£¬ write£¬ ioctl£¬ pollingµÈ¸ ......
¸ü¸Ä/etc/resolv.confÎļþ
Èç¹ûÄãµÄlinuxÖ÷»úÖ»ÊÇÔÚ¾ÖÓòÍøÄÚ¹¤×÷£¬Ç뽫nameserverµØÖ·¸ÄÎªÍø¿¨±¾ÉíµÄµØÖ·¡£
Àý£º
# vi /etc/resolv.conf
nameserver 192.168.0.160
search site
È»ºó ......
×î½ü¿ªÊ¼×ªÏòLinux¿ª·¢£¬ÐèÒªÓõ½¶àÏ̡߳£ÉÏÍøÒ»²é£¬ÓеÄÈË˵LinuxûÓÐÏß³ÌÖ»Óнø³Ì£¬ÓеÄÈË˵Linuxµ±È»ÓÐỊ̈߳¬Ã»ÓÐÏß³Ìpthread¿âÊǸÉÂðµÄ£¿NPTLÓÖÊǸÉÂïÓã¿
¸öÈ˾õµÃ£¬Òª¿´´ÓÄĸö½Ç¶ÈÀ´¿´Õâ¸öÎÊÌâ¡£¶ÔÓÚÒ»°ãÓ¦ÓÃÈí¼þ¿ª·¢ÈËÔ±µÄ½Ç¶ÈÀ´¿´£¬¼ÈÈ»ÄÜÓÃpthread¿âÀ´´´½¨Ị̈߳¬ÒÔ¼°¿ÉÒÔ´¦ÀíÏ̼߳äµÄͨÐÅ£¬µ±È»¿ÉÒÔÈÏΪÔÚL ......
ubuntu×ö·þÎñÆ÷
ÔÚÉÏ´«ÎļþµÄʱºòĬÈÏÇé¿öÏÂÉÏ´«Îļþ´óСÏÞÖÆÊÇ2M
Èç¹ûÒªÉÏ´«´óÎļþµÄ»°ÐèÒªÉèÖÃÒ»ÏÂ/etc/php5/apache2/php.ini(ÎÒ°²×°µÄÊÇphp5£¬Èç¹û²»Êǵϰֱ½Ó³¢ÊÔÕÒµ½php.ini,ÊÂÏÈ˵ºÃ£¬Õâ¸öûÓвâÊÔ¹ý)
upload_max_filesize = 50M
post_max_size =50M
max_execution_time =600
max_input_time =600
memory_lim ......