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

LinuxµÄһЩ³£Ó÷þÎñ

ssh connect to Linux
1,¼ì²éÍøÂçÁ¬½ÓÊÇ·ñÕý³£,¿´¿´ÄãµÄ»úÆ÷ÊÇ·ñ¿ªÁË22ºÅ¶Ë¿Ú,½ø³ÌÊÇ·ñÔËÐÐÕý³£..
2,¿ÉÒÔÔÚ±¾»úÉÏÓÃSSHÃüÁîµÇ½±¾»ú.
#ssh -l yourloginname xxx.xxx.xxx.xxx
ÆäÖÐyourloginnameΪÄã±¾»ú¿ÉÔ¶³ÌµÇ¼Óû§Ãû,xxx.xxx.xxx.xxxΪÄãµÄ»úÆ÷IP,
Èç¹ûµÇ¼Ìáʾ:
Are you sure you want to continue connecting (yes/no)? yes
²¢ÇҵǼÕý³£,Ôò±íʾÄãµÄ·þÎñÊÇÕý³£¿ªÍ¨µÄ.
3,Èç¹û2ͨ¹ý,¼ì²éHOSTS.DENY µÈÎļþ,ÊÇ·ñ½ûÖ¹ÁËÔ¶³ÌµÇ¼....
¼ì²é  /etc/ssh/sshd_config ÀïµÄ PermitRootLogin ÊÇ·ñ Ϊyes           ÒÔ±ðµÄÕ˺ŵǼ
¼ì²é ÄãµÄ iptables ÉèÖÃ
¼ì²éÄãµÄ /etc/hosts.allow  /etc/hosts.deny
netstat -anpt¼ì²é ssh¶Ë¿ÚÊÇ·ñ´ò¿ª
connection refused.  Ò»°ãÊÇ·À»ðǽ¿ª×ÅÄØ¡£ ±¾»ú·ÃÎÊ¿ÉÒÔ£¬±ðµÄ»ú²»¿ÉÒÔ£¬·À»ðǽ¿ª×Å£¬¹Øµô£¬»òÊÇÉèΪµÍ£¬»òÊDZðµÄʲô
PHPÁ¬½ÓMYSQL´úÂë
<?
$mysql_server_name="localhost";
$mysql_username="root";
$mysql_password="";
$mysql_database="mysql";
$conn=mysql_connect($mysql_server_name,$mysql_username,$mysql_password,$mysql_database);
if($conn)
{
    echo "Á¬½Ó³É¹¦";
}
else
{
    echo "Á¬½Óʧ°Ü";
}
?>
LinuxÏÂÅäÖÃJDKºÍTOMCAT£¬JSPµÄÔËÐл·¾³
1.ÏÂÔØJDK JDKÊÇÓÉwww.sun.com¹«Ë¾ÑÐÖƵģ¬¿ÉÔÚÆäÏÂÏÂÔØ
   linux platform-java(TM) SE Development Kit 6 Update 2
        Á½¸ö°æ±¾ linux RPM in self-extracting file(build 05) jdk-6u2-linux-rpm.bin(61.63MB)
          linux self-extracting file(build 05) jdk-6u2-linux-i586.bin(55.66MB)
   ÔÚÕâ¶ùÎÒÏÂÔØÁ˵ÚÒ»¸ö°æ±¾£¬rpm.bin
2.°²×°jdk-6u2-linux-rpm.bin°ü
   #chmod u+x jdk-6u2-linux-rpm.bin   (ÉèÖÿÉÖ´ÐÐȨÏÞ)
    #./jdk-6u2-linux-rpm.bin           (Ö´ÐУ¬Ò²¿ÉÒÔÖ±½Ó´ò¿ª£¬½âѹ)
    #rpm -ivh jdk-6u2-linux-rpm.rpm    (°²×°£¬°²×°Ä¿Â¼Îª/usr/javaÏ£¬×Ô¶¯Éú³ÉµÄ)
    #cd /usr/java/
    #ln -s j2sdk1.4.2/


Ïà¹ØÎĵµ£º

linux ÏÂvsdftpÅäÖÃÎļþÏê½â

vsftpd.conf ÊÇvsftpdµÄÅäÖÃÎļþ£¬ÓÃÀ´¿ØÖÆvsftpdµÄ¸÷ÏÄÜ¡£Ä¬ÈÏ״̬Ï£¬ËüµÄλÖÃÊÇ/etc/vsftpd.conf»òÕßÔÚ/etc/vsftpd/vsftpd.conf¡£
¡¡¡¡È»¶ø£¬ÄãÒ²¿ÉÒÔͨ¹ýÐÞ¸ÄÅäÖÃÐÐÀ´Ö¸¶¨µ½ÆäËüĿ¼¡£ÕâÒ»µãºÜÓÐÓã¬ÒòΪҲÐíÄãÏëʹÓÃһЩ¸ß¼¶inetd¹¦ÄÜ£¬ÀýÈçxinetd£¬ÔÚÒ»¸ö¶àÐéÄâÖ÷»úµÄ»úÆ÷Éϵ÷Óò»Í¬µÄÅäÖÃÎļþ¡£
¡¡¡¡¸ñʽ
¡¡¡¡ ......

linuxÉ豸ºÅÖ®²Ù×÷

×÷ÕߣºÀîÇ¿,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
ÔÚLinuxÉ豸Çý¶¯ÖУ¬É豸ºÅÉèÒ»¸öºÜÖØÒªµÄ¸ÅÄîºÍ±äÁ¿¡£²»ÂÛÊÇÖ÷É豸ºÅ£¬»¹ÊÇ´ÎÉ豸ºÅ£¬ÔÚÉ豸Çý¶¯Öж¼Õ¼¾ÝÁ˺ÜÖØÒªµÄµØλ¡£ÄÇôËûÔÚKernelÖÐÊÇÈçºÎ²Ù×÷µÄ£¿Õâ¸öÊý¾Ý½á¹¹¶¼ÊÇͨ¹ýÄÇЩº¯Êý¿ÉÒÔºÜÈÝÒ×µÄÔÚÎÒÃÇдLinuxÉ豸Çý¶¯Ä£¿éʱ±»ÎÒÃÇËùʹÓÃÄØ£¿
ÔÚinclude/linux/type.hÎļþÖÐÎÒÃÇÄ ......

Ϊ Linux Ó¦ÓóÌÐò±àд DLL

Ϊ Linux Ó¦ÓóÌÐò±àд DLL ÔÚ½ö½öÖ»»á±àд²å¼þµÄʱºòΪʲôҪ±àдÕû¸öÓ¦ÓóÌÐò£¿
ÎĵµÑ¡Ïî
´òÓ¡±¾Ò³
½«´ËÒ³×÷Ϊµç×ÓÓʼþ·¢ËÍ ¼¶±ð£º ³õ¼¶ Allen Wilson (wilsona@us.ibm.com), µç×ÓÉÌÎñÉè¼Æʦ, IBM 2001 Äê 10 Ô 01 ÈÕ ²å¼þºÍ DLL ͨ³£ÊÇÓÃÀ´ÎÞÐë±àдÕû¸öÐÂÓ¦ÓóÌÐò¶øÌí¼Ó¹¦Äܵļ ......

linuxÏÂÈýø³ÌÔËÐÐÔÚÖ¸¶¨µÄcpuÉÏ

×î½ü¸ºÔðµÄsvrѹÁ¦±È½Ï´ó£¬ÒµÎñÂß¼­Óе㸴ÔÓ,ÄÜÓÅ»¯µÄµØ·½ÒѾ­È«²¿ÓÅ»¯ÁË£¬ ĿǰÿÃë3k´Î£¬cpu¸ºÔØ»¹ÊÇ±È½Ï¸ß top¿´Ò»Ï£¬4ºËµÄcpu¸ºÔز»ÊÇÌ«¾ùºâ£¬´òË㿼ÂÇһϽ«ÒµÎñ½ø³ÌÖ¸¶¨µ½3¸öcpuÉÏÔËÐУ¬ÁíÍâÒ»¸öcpuרߺÔð´¦ÀíÍøÂçÊÕ·¢°ü£»´òËã³¢ÊÔһϣ¬Èç¹û»¹ÊDz»ÐУ¬ÔÙ¹ý¶Îʱ¼ä£¬·ÃÎÊÁ¿ÔÙÔö¼ÓµÄ»°£¬¾ÍÒª¼Ó»úÆ÷ÁË£¬ÎØÎØ ²¹ ......

LinuxÏ°²×°mysql

1:ÏÂÔØÉçÇø°æµÄmysql£¬
     ÒªÏÂÔØÁ½¸öÎļþ£¬·Ö±ðΪ£ºMySQL-server-community-5.1.46-1.rhel5.i386.rpm
                               ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ