LinuxÏÂNginx + Resin µÄ´î½¨
nginxµÄ°²×°
¶ÔÓÚÏÖÔÚÁ÷ÐеÄNginx + Resin£¬ÆäÐÔÄÜ´ó¼Ò¶¼ÓÐÄ¿¹²¶Ã¡£
Ê×ÏÈ£¬°²×°Nginx
¿ÉÒÔ²ÎÊýNginxµÄ°²×°ÎÄÕ£ºhttp://blog.csdn.net/vebasan/archive/2010/02/26/5328494.aspx
Èç¹ûÔÚ°²×°NginxµÄʱºòÌáʾÓÐÎÊÌ⣬¿ÉÒԲο¼£ºhttp://blog.csdn.net/vebasan/archive/2010/02/26/5328545.aspx
ÓйØNginx£¬pcre£¬opensslÏà¹ØµÄ°üÎļþ£¬¿ÉÒÔͨ¹ýgoogle½øÐвéÕÒÏÂÔØ£¬²¢ÉÏ´«µ½·þÎñÆ÷ÉÏ¡£
½Ó×Å£¬°²×°Resin
tar -xvf resin-3.1.9.tar.gz
½Ó×Å£¬½«ÆäÒÆ¶¯µ½/usr/local/resinÏÂÃæ
mv resin-3.1.9 /usr/local/resin
½Ó׎øÈëresinµÄĿ¼£¬¶ÔÆä½øÐÐÅäÖð²×°
cd /usr/local/resin
./configure
make
make install
½Ó×Å£¬ÎÒÃÇÐèÒª½«nginxÅäÖÃΪϵͳµÄ·þÎñ
vi /etc/rc.d/init.d/nginx
ÔÚvi»·¾³Ï£¬ÌùÏÂÒÔÏÂÄÚÈÝ£º
³ÌÐò´úÂë
#!/bin/bash
# nginx Startup script for the Nginx HTTP Server
# this script create it by gcec at 2009.10.22.
# it is v.0.0.1 version.
# if you find any errors on this scripts,please contact gcec cyz.
# and send mail to support at gcec dot cc.
#
# chkconfig: - 85 15
# description: Nginx is a high-performance web and proxy server.
# It has a lot of features, but it's not for everyone.
# processname: nginx
# pidfile: /var/run/nginx.pid
# config: /usr/local/nginx/conf/nginx.conf
nginxd=/usr/local/nginx/sbin/nginx
nginx_config=/usr/local/nginx/conf/nginx.conf
nginx_pid=/var/run/nginx.pid
RETVAL=0
prog="nginx"
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -x $nginxd ] || exit 0
# Start nginx daemons functions.
start() {
if [ -e $nginx_pid ];then
echo "nginx already running...."
exit 1
fi
echo -n $"Starting $prog: "
daemon $nginxd -c ${nginx_config}
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/nginx
return $RETVAL
}
# Sto
Ïà¹ØÎĵµ£º
ÓÉÓÚÔÚ¿ª·¢A1200ÉϵÄÁ÷ýÌå²¥·ÅÆ÷£¬Ãâ²»Á˳¤ÆÚ²¥·ÅÊÓÆµ£¬½øÐÐÎȶ¨ÐÔ²âÊÔ¡£¿ªÊ¼ÊÇͨ¹ýGPRS²¦ºÅÉÏÍø£¬µ«²¥·ÅÊÓÆµÌ«·ÑÁ÷Á¿ÁË£¬³ä¸ö50Ôª£¬¶¼¶¥²»×¡Ò»ÌìµÄ²âÊÔ¡£¿´µ½window mobileµÄÊÖ»ú¶¼¿ÉÒÔͨ¹ýPCÉÏÍø£¬Òò´ËÏëµ½moto linuxÊÖ»úÒ²¿ÉÒÔ¹²ÏíPCÉÏÍø£¬½ÚÊ¡Á÷Á¿·ÑÓᣴÓÀíÂÛÉϽ«ÊÇ¿ÉÐеģ¬ÒòΪmotoÊÖ»ú¿ÉÒÔ¿ªÆôUSB LAN£¬Í¨¹ýUSBÁ¬½Ó ......
¡¡ÔÚLinuxϵͳÖУ¬Èç¹ûҪʹÓÃÓ²ÅÌ¡¢¹âÅÌ¡¢ÈíÅÌ»òMOÅ̵ȴ洢É豸£¬±ØÐëÏȽøÐйÒ×°£¨Mount£©¡£µ±´æ´¢É豸¹Ò×°Íê³ÉÖ®ºó£¬¾Í¿ÉÒÔ½«Æä×÷Ϊһ¸öĿ¼À´½øÐзÃÎÊÁË¡£¹Ò×°É豸ÐèҪʹÓÃmountÃüÁî¡£Ö´ÐÐÕâÒ»ÃüÁÖÁÉÙÒªÏÈÈ·¶¨ÏÂÁÐÈýÖÖÐÅÏ¢£º
¡¡¡¡1. Òª¹Ò×°£¨Mount£©¶ÔÏóµÄÎļþϵͳÀàÐÍ£»
¡¡¡¡2. Òª¹Ò×°£¨Mount£©¶ÔÏóµÄÉ豸à ......
ʵÑé3 LinuxµÄ½ø³Ì¿ØÖÆ
Ò».ʵÑéÄ¿µÄ
ͨ¹ýʵÑéÕÆÎÕLinuxÖнø³Ì¿ØÖƵĻù±¾ÃüÁî¡£
¶þ.ʵÑéÒªÇó
1.Á·Ï°Ê¹ÓÃwho, w, ps,pstree²ì¿´ÏµÍ³Óû§¼°½ø³ÌµÄÐÅÏ¢¡£
2.Á·Ï°Ê¹ÓÃkillÃüÁî³·Ïú½ø³Ì¡£
3.Á·Ï°½ø³Ìǰºǫ́µÄÇл»¡£
Èý¡¢ ʵÑ鱨¸æÒªÇó
1£®   ......
ʵÑé4 Linux³ÌÐò¿ª·¢»ù´¡
Ò»¡¢ÊµÑéÄ¿µÄ£º
1. ¼ÌÐøÊìϤLinuxÖÕ¶ËÃüÁ
2. ¼ÌÐøÑ§Ï°Ê¹ÓÃVi±à¼Æ÷£»
3. ѧϰʹÓÃLinux»·¾³ÏÂCÓïÑÔ³ÌÐòµÄ±àÒë¡£
4. µ÷ÊÔÆ÷GdbµÄʹÓÃ
¶þ¡¢ÊµÑéÒªÇó£º
& ......