LinuxÏÂÈ÷ÇrootÓû§ÆôÓÃСÓÚ1024ºÅµÄ¶Ë¿Ú
ÒÔÏÂÊÇÕÒµ½µÄLinuxµÄ×ÊÁÏ£¬Solairs¡¢AIXµÈÓ¦µ±ÓÐËù²»Í¬£¬Çë¸ú½ø
·½·¨Ò»£º¶Ë¿ÚÓ³Éä
1¡¢iptablesÃüÁî:iptables -t nat -A PREROUTING -p tcp --dport <µÍ¶Ë¿Ú> -i eth0 -j REDIRECT --to-port <ÔÏȼàÌýµÄ¸ß¶Ë¿Ú>
2¡¢rinetd³ÌÐò
3¡¢ipchansÃüÁî:ipchans -I input --proto TCP --dport <µÍ¶Ë¿Ú> -j REDIRECT <¸ß¶Ë¿Ú>
·½·¨¶þ£º¸Ä³ÌÐòµÄsid
Ð޸ijÌÐòµÄȨÏÞ£¬ÀýÈçchmod 7755 ...
·½·¨Èý£ºÐÞ¸ÄÄÚºË
ÐÞ¸ÄÄں˵Ämake_sockÏà¹Ø²¿·Ö
iptables -t nat -A PREROUTING -p tcp --dport 82 -i eth0 -j REDIRECT --to-port 8082
iptables -t nat -A PREROUTING -p tcp --dport 8082 -i eth0 -j REDIRECT --to-port 82
/etc/httpd/
iptables -t nat -A PREROUTING -s 192.168.0.0/24 -i eth0 -p tcp --dport 82 -j REDIRECT --to-port 8080 //²âÊÔ¿ÉÓÃ
Ïà¹ØÎĵµ£º
1¡¢ÖжÏÊÇÒ»ÖÖµçÐźţ¬ÓÉÓ²¼þÉ豸Éú³É£¬²¢Ö±½ÓËÍÈëÖжϿØÖÆÆ÷µÄÊäÈëÒý½ÅÉÏ¡£È»ºóÔÙÓÉÖжϿØÖÆÆ÷Ïò´¦ÀíÆ÷·¢ËÍÏàÓ¦µÄÐźš£´¦ÀíÆ÷Ò»¾¼ì²âµ½´ËÐźţ¬±ãÖжÏ×Ô¼ºµÄµ±Ç°¹¤×÷ת¶ø´¦ÀíÖжϡ£´Ëºó£¬´¦ÀíÆ÷»á֪ͨ²Ù×÷ϵͳÒѾ²úÉúÖжϣ¬ÕâÑù£¬²Ù×÷ϵͳ¾Í¿ÉÒÔ¶ÔÕâ¸öÖжϽøÐÐÊʵ±µÄ´¦ÀíÁË¡£
2¡¢²»Í¬µÄÉ豸¶ÔÓ¦µÄÖжϲ»Í ......
³£Óãº
passwd ¸ü»»ÃÜÂë
pwd ÏÔʾµ±Ç°ËùÔÚ·¾¶
who am i ÏÔʾµ±Ç°Óû§
su Çл»Óû§
°ïÖú£º
man your_command ÏÔʾÃüÁî°ïÖúÊֲᣬmanΪmanualµÄËõд
your_command --help | more ÏÔʾÃüÁîµÄ°ïÖúÐÅÏ¢£¬È»ºóÀûÓÃmore·ÖÆÁÊä³ö
which ²é¿´³ÌÐòµÄ°²×°Î»ÖÃ
echo $PATH ²é¿´PATH»·¾³±äÁ¿
export PATH=$PAHT:you_dir ½«Ö ......
²Ù×÷ϵͳÔÀí¼°Æ½Ì¨¿ª·¢£¨MS Win32 / BSD
Unix / GNU Linux£©
×÷Õß alvin_lee @ 2006-04-30 09:51:05
ÏàÐÅ´ó¼Ò¶ÔLinux°²×°Ó¦¸ÃÊǼҳ£±ã·¹ÁË,¶ø´ó¶àÊý·¢ÐаæµÄ°æ±¾¸üÐÂÒ²·Ç³£¿ì¡£Èç¹û
²»Ïëÿ´Î°²×°Ð°汾µÄʱºò¶¼Òª¿ÌÅÌ»òÕß°²×°µ½VMWareÉϵĻ°£¬ÄÇôÄã¿ÉÒÔ¿¼ÂÇʹÓÃU ......
ÔÚLINUX»·¾³¿ª·¢Çý¶¯³ÌÐò£¬Ê×ÏÈҪ̽²âµ½ÐÂÓ²¼þ£¬½ÓÏÂÀ´¾ÍÊÇ¿ª·¢Çý¶¯³ÌÐò¡£
³£ÓÃÃüÁîÕûÀíÈçÏ£º
ÓÃÓ²¼þ¼ì²â³ÌÐòkuduz̽²âÐÂÓ²¼þ£ºservice kudzu start ( or restart)
²é¿´CPUÐÅÏ¢£ºcat /proc/cpuinfo
²é¿´°å¿¨ÐÅÏ¢£ºcat /proc/pci
²é¿´PCIÐÅÏ¢£ºlspci (Ïà±Ècat /proc/pci¸üÖ±¹Û£©
²é¿´ÄÚ´æÐÅÏ¢£ºcat /proc/meminfo
......
Posted ʮԠ14th, 2005 by beinan
Fedora
Redhat
»ù´¡ÈëÃÅ
Fedora
×÷Õߣº±±ÄÏÄϱ±
À´×Ô£ºLinuxSir.Org
ÕªÒª£º±¾ÎÄÖ÷Òª½²ÊöÔÚLinux ϵͳÖÐÓû§(user)ºÍÓû§×é(group)¹ÜÀíÏàÓ¦µÄ¸ÅÄÓû§(user)ºÍÓû§×é(group)Ïà¹ØÃüÁîµÄÁо٣»ÆäÖÐÒ²¶Ôµ¥Óû§¶àÈÎÎñ£¬¶àÓû§¶àÈÎÎñÒ²×öÒÔ½â˵£¬±¾ÎÄÓ¦¸Ã˵ ......