Linuxϵͳ¹ÜÀí °²È«Æª Ö®¿ª·Å¶Ë¿Ú
²é¿´ÏµÍ³Öпª·ÅµÄ¶Ë¿Ú£¬¹Ø±Õ²»ÐèÒªµÄ¶Ë¿ÚºÍ³ÌÐò£¬ÈçÏÂÀýÖвÙ×÷Á÷³Ì£º
1. ²é¿´¶ÔÍ⿪ÆôµÄ¶Ë¿Ú:
[root@mail ~]# nmap 127.0.0.1 #×¢£º´Ë´¦Ó¦¸Ã»»×÷¹«Íøip
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-04-20 11:06 CST
Interesting ports on 127.0.0.1
Not shown: 1668 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
1010/tcp open unknown
2. ¶Ô²»Ã÷¶Ë¿Ú½øÐвé·Ã
[root@mail ~]# netstat -anlp | grep 1010
tcp 0 0 0.0.0.0:1010 0.0.0.0:* LISTEN 3796/rpc.statd
#
#[root@mail ~]# lsof -p 3796
#
#
[root@mail init.d]# which rpc.statd
/sbin/rpc.statd
[root@mail ~]# rpm -qf /sbin/rpc.statd
nfs-utils-1.0.9-40.el5
[root@mail init.d]# ll /etc/init.d/nfs*
-rwxr-xr-x 1 root root 4668 Jan 21 2009 /etc/init.d/nfs
-rwxr-xr-x 1 root root 3465 Jan 21 2009 /etc/init.d/nfslock
[root@mail init.d]# service nfs status
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
[root@mail ~]# /etc/init.d/nfslock status
rpc.statd (pid 3796) is running...
3. ¹Ø±Õ²»Ïà¸ÉµÄÓ¦ÓÃ
[root@mail init.d]# service nfslock
Usage: /etc/init.d/nfslock {start|stop|status|restart|probe|condrestart}
[root@mail init.d]# service nfslock stop
Stopping NFS statd: [ OK ]
4. ¹Ø±Õ²»Ïà¸ÉµÄ·þÎñ
[root@mail init.d]# chkconfig --level 345 nfslock off
Ïà¹ØÎĵµ£º
½üÀ´ÐèҪдһ¸öÔÚLINUXϵÄͼÐÎÎļþ´¦Àí³ÌÐò£¬×ʼֻ֧³ÖBMP¸ñʽ£¬ºóÀ´ÒªÇóÒ²´¦ÀíJPG¡£¼±µÃץͷ°¡£¬ÒÔǰ¿ÉûÈÏÕæÑо¿¹ýJPG…………
ÔÚÍøÉÏÕÒµ½ÁËlibjpeg£¬¿ÉÒÔÓÃÕâ¸ö¿âʵÏÖJPGͼƬµÄ¸÷ÖÖ²Ù×÷£º
ÏÂÔØ£ºhttp://freeware.sgi.com/sou ......
Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇ飻Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ£»ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£ÆÕ±é£»µ«Íò±ä²»ÀëÆäÖУ¬¶Ô»ù´¡ÖªÊ¶µÄÔúÊµÕÆÎÕ£¬°²×°¸÷ÖÖÈí¼þµÄÎÊÌâ¾ÍÓÈжø½âÁË¡£Configure½Å±¾ÅäÖù¤¾ß¾ÍÊÇ»ù´¡Ö®Ò»£¬ËüÊÇautoconfµÄ¹¤¾ßµÄ»ù±¾Ó¦Óá£
ÓëһЩ¼¼ÇÉÏà±È£¬ConfigureÏԵûù´ ......
¡¡¼¸¸ö¼òµ¥µÄÓ¦Óá£
¡¡¡¡1¡¢ÅúÁ¿Í¼Ïñ¸ñʽת»»
¡¡¡¡Èç¹ûÏ뽫ijĿ¼ÏµÄËùÓÐjpgÎļþת»»ÎªpngÎļþ£¬Ö»ÒªÔÚÃüÁîÐÐģʽÏÂÊäÈë:
¡¡¡¡for %f in (*.jpg) do convert “%f” “%~nf.png”
¡¡¡¡2¡¢¶ÔËùÓÐͼÏñ½øÐÐͬһ²Ù×÷
¡¡¡¡Æ©È磬ÅúÁ¿Éú³ÉijĿ¼ÏÂËùÓÐPNGͼÏñÎļþµÄËõÂÔͼ(´óСΪ80×40):
¡¡¡¡fo ......