Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÍøÂçĪÃûÎÞ·¨Æô¶¯ÎÊÌâ

ÏÂÎçµ÷ÊÔiptablesµÄÅäÖã¬Ôö¼ÓÖ§³ÖvsftpµÄÅäÖÃÏî¡£
ij´ÎÖØÆô»úÆ÷ºó·¢ÏÖiptables·þÎñÎÞ·¨Æô¶¯£¬·¢ÏÖÍøÂç·þÎñûÓÐÆô¶¯³É¹¦¡£
Ìáʾpcnet32 device eth0 does not seem to be present Ô­Òò²»Ã÷¡£
ÔÚÍøÉÏÕÒµ½ÕâƪÎÄÕÂhttp://blog.chinaunix.net/u3/102399/showart_2014783.html£¬½â¾öÁË
    “
ÔÚcommunities.vmware.com¿´µ½Ò»¸öÀÏÍâ˵£¬ËûÔÚÓöµ½Õâ¸öÎÊÌâʱ
˵£º“What I found was that my modules.dep and modules.alias were empty,
which live in /lib/modules/`uname
-r`/”¡£ÕâÈÃÎÒÏëÆðÁË,ÏÂÎçÎÒÔÚ±àÒ»¸öÄ£¿éʱ£¬Ö´Ðйýdepmod£¬ÕâÊÇ»á¸Ä±ämodules.depºÍmodules.alias¡£µ½/lib
/modules/`uname
-r`/Ò»¿´£¬¹ûÈ»£¬ÀïÃæÖ»ÓÐÓëÎÒµÄÄ£¿éÓйصÄÒÀÀµÐÅÏ¢¡£¿´À´£¬ÕâÊÇÓÉÓÚÎÒÒÔ´íÎóµÄ·½Ê½Ö´ÐÐÁËdepmodÃüÁîÔì³ÉµÄ¡££¨¾ßÌåÔõô»ØÊÂÎÒÍüÁË£¬ºÃÏñÎÒÔÚ×Ô
¼º¹¤×÷Ŀ¼depmod my.ko¹ý£©¡£
 
¿´À´ÊÇϵͳģ¿éµÄÒÀÀµ¹ØϵÐÅÏ¢¶ªÊ§ÁË£¬Æô¶¯Ê±Íø¿¨Çý¶¯µÈÄ£¿éÎÞ·¨¼ÓÔØ¡£ËùÒÔ£¬Èç¹ûÏëÓÃmodprobeÏòϵͳ¼Ó×Ô¼ºµÄÄ£¿éʱ£¬Ó¦½«
your_module.ko¿½Èë/lib/modules/`uname -r`/£¬È»ºódepmod -a ¡£×îºó£¬modprob
your_module¡£
½â¾ö£º
ÔÚ/lib/modules/`uname -r`/ÏÂÖ´ÐУ¬depmod£¬ÖØÐÂÉú³Émodules.depºÍmodules.alias£¬ÖØÆô¡£
¿´À´ÐèÒªÁ˽âһϠmodprobe¡¢ /lib/modules/`uname -r`/modules.dep ºÍ modules.aliasµÄ֪ʶÁË¡£
linuxµÄ»ù´¡
»¹ÊǺܹؼüµÄ¡£


Ïà¹ØÎĵµ£º

Solaris10»ù´¡:UNIX/Linux»ù±¾½á¹¹


1.1.5  UNIX
¡¡¡¡UNIX/Linux»ù±¾½á¹¹
¡¡¡¡Í¼1-3»æ³öÁËUNIXϵͳµÄ¸ß²ã´ÎµÄÌåϵ½á¹¹¡£Í¼ÖÐÐĵÄÓ²¼þ²¿·ÖÏò²Ù×÷ϵͳÌṩ»ù±¾·þÎñ¡£²Ù×÷ϵͳֱ½ÓÓëÓ²¼þ½»»¥£¬Ïò³ÌÐòÌṩ¹«¹²·þÎñ£¬²¢Ê¹
ËüÃÇͬӲ¼þÌØÐÔ¸ôÀë¡£µ±ÎÒÃÇ°ÑÕû¸öϵͳ¿´³É²ãµÄ¼¯ºÏʱ£¬Í¨³£½«²Ù×÷ϵͳ³ÆΪϵͳÄںˣ¬»ò¼ò³ÆÄںˣ¬´Ëʱǿµ÷µÄÊÇËüͬÓû§³ÌÐòµÄ¸ôÀë¡ ......

ÔÚlinux/unixÏ£¬ÄãÊÇÔõôÖÐÖ¹Ò»¸öjava½ø³ÌµÄ£¿


ÔÚlinux/unixÏ£¬ÄãÊÇÔõôÖÐÖ¹Ò»¸öjava½ø³ÌµÄ£¿
Äã¿ÉÄÜ»á»Ø´ð kill -9 pid£¬ÕâÊÇÒ»ÖÖÔÚ¶àÊýÇé¿öÏÂÕýÈ·µÄ×ö·¨¡£²»¹ý£¬ÕâÖÖ·½Ê½¹ýÓÚ±©Á¦£¬Èç¹ûÓû§¶Ô»·¾³²»ÊìϤ£¬ºÜÈÝÒ×Ôì³ÉÖÂÃüµÄºó¹û¡£
±¾ÎĽ«·ÖÎökill -9²úÉúÎÊÌâµÄÔ­Òò£¬²¢¸ø³öÁíÒ»ÖÖ±ê×¼µÄkill·½Ê½¡£
±ê×¼ÖжÏÐźÅ
ÔÚLinuxÐźŻúÖÆÖУ¬´æÔÚ¶àÖÖ½ø³ÌÖжÏÐźţ¨LinuxÐ ......

linuxÏÂÎļþÀàÐ͵ĻñÈ¡

ÎļþÀàÐÍ»ñÈ¡Ò»¡¢stat¡¢fstat ºÍlstat º¯Êý#include <sys/types.h>
¡¡¡¡#include <sys/stat.h>
¡¡¡¡int stat(const char * pathname, struct stat * buf);
¡¡¡¡int fstat(int filedes,struct stat * buf);
¡¡¡¡int lstat(const char * pathname, struct stat *buf);
¡¡¡¡Èý¸öº¯ÊýµÄ·µ»Ø£ºÈô³É¹¦ÔòΪ0£¬Èô³ ......

Linux ³£ÓÃÃüÁî

ssh
¹¦ÄÜ£º
Ô¶³ÌµÇ½
Ó÷¨£º
ssh user@hotname
scp
¹¦ÄÜ£º
Ô¶³Ì¿½±´
Ó÷¨£º
ssh [-r]
local_user@local_ip:localfile  remote_user@remote_ip:remotefile
²ÎÊý£º
-r  ¿½±´ÍêÕûÎļþ¼Ð¼°Îļþ
ldconfig
¹¦ÄÜ£º
¶¯Ì¬Á´½Ó¿â¹ÜÀí£¬Ö÷ÒªÊÇÔÚĬÈÏËÑѰĿ¼(/libºÍ/usr/lib)ÒÔ¼°¶¯Ì¬¿âÅäÖÃÎļþ/etc/ld.so.c ......

linux ʹÓÃntpÔÚÏßʱ¼ä¸üÐÂ

ʱ¼ä·þÎñÆ÷¹ÙÍø£º
http://www.pool.ntp.org/zone/cn
ntpdate ÃüÁî

ÓÃ;
ʹÓÃÍøÂç¼ÆʱЭÒ飨NTP£©ÉèÖÃÈÕÆÚºÍʱ¼ä¡£´ËÃüÁî½öÓ¦ÓÃÓÚ AIX 4.2 »òºóÆÚ°æ±¾¡£
Óï·¨
ntpdate
[  -b 
] [  -d 
] [ 
-s 
] [  -u 
] [  -a 
Keyid 
] [  -e 
A ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ