SUSE Linux ά»¤±Ê¼Ç¶þ
1.ʵÏÖÍâÍø·ÃÎÊÄÚÍøµÄÔ¶³Ì×ÀÃæ
µ¥Î»»úÆ÷·þÎñÆ÷µÄIPµØÖ·ÊÇ10.3.198.108,¿ÉÒÔÉÏÍâÍø,·ÓÉÆ÷ÉÏÉèÖÃÁËÄÚÍøµÄÍâÍøÓ³ÉäµØÖ·,ÄÚÍøµÄµØÖ·ÊÇ192.168.0.*
ÏÖÔÚҪʵÏÖ´Ó10.x.x.xµÄУ԰ÍøÄÚ·ÃÎÊ»òÕß´ÓinternetÍøÂçÉÏ·ÃÎÊ 192.168.0.*µÄÔ¶³Ì×ÀÃæ
·½·¨ÈçÏÂ
ÏÂÔØrinetd
vi /etc/rinetd.conf
----------------------------------------------------------
10.3.198.108 33890 192.168.0.111 3389
10.3.198.108 33891 10.3.198.101 3389
10.3.198.108 33892 10.3.198.102 3389
10.3.198.108 33893 10.3.198.103 3389
10.3.198.108 33894 10.3.198.104 3389
10.3.198.108 33895 10.3.198.105 3389
10.3.198.108 33896 10.3.198.106 3389
10.3.198.108 33897 10.3.198.107 3389
allow *.*.*.*
allow 192.168.0.*
logfile /var/log/rinetd.log
---------------------------------------------------------
ÆäÖÐ10.3.198.108 33890 192.168.0.111 3389±íʾ½«10.3.198.108µÄ33890¶Ë¿ÚÓ³Éäµ½ 192.168.0.111µÄ3389¶Ë¿Ú£¨Ô¶³Ì×ÀÃæµÄĬÈ϶˿ڣ©
ÆäËûµÄÀàËÆ
allow 10.*.*.*,±íʾ¿ÉÒÔÔÚУ԰ÍøÄÚʹÓÃ
Èç¹ûÒªÔÚinternetÉÏʹÓã¬ÐÞ¸ÄΪallow *.*.*.*
È»ºóÔËÐÐrientd¼´¿É
³É¹¦ÔËÐкó,Óà netstat -anp|grep 33890¿É¿´µ½¼àÌýÐÅÏ¢¡£
2.ÐÞ¸ÄϵͳµÄulimit,ÐÞ¸ÄpbsÌύϵͳµÄÄÚ²¿ulimit
LinuxÖÐĬÈÏÓû§ÊäÈë ulimit -a¿ÉÒԲ鿴µ±Ç°Óû§µÄ×ÊÔ´ÏÞÖÆ
ÈçÏÂËùʾ£º
root@node8:~ # ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 530432
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size &nbs
Ïà¹ØÎĵµ£º
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Ï ......
Device eth0 has different MAC address than expected
Ç°ÌìÔÚŪVMwareµÄʱºò,ÔÚVMwareÉÏcloneÁËÒ»¸ölinux,ºóÀ´ÔÚcloneµÄlinux(RedHat Enterprise Linux 4)Éϲ»ÄÜÉÏÍøÁË,¼¤»îeth0ʱÀϵ¯³ö Device eth0 has different MAC address than expected ,ÎÒÃÇÖ»Òª±à¼Õâ¸öÎļþ:/etc/sysconfig/network-scripts/ifcfg- ......
´Ë´¦vmware°æ±¾Îª6.5 £¬Ö÷»úΪwindows xp,vmware °²×°ÁËredhat linux
1.ÍøÂçÉèÖãº
´ò¿ªvmware,µãvmware->setting->Hardware->Newwork Adapter->Custom - >
VMnet1(host-only)
²é¿´windowsÍøÂçÁ¬½Ó,¿´µ½Ò»¸öVMnet1µÄÁ¬½Ó,ÉèÖÃËüµÄipÓë×ÓÍøÑÚÂë¡£Èç:IP:192.168.13.1 ,×ÓÍøÑÚÂë 255.255.255.0 ......
cat ÊÇÒ»¸öÎı¾Îļþ²é¿´ºÍÁ¬½Ó¹¤¾ß¡£²é¿´Ò»¸öÎļþµÄÄÚÈÝ£¬ÓÃcat±È½Ï¼òµ¥£¬¾ÍÊÇcat ºóÃæÖ±½Ó½ÓÎļþÃû¡£
±ÈÈ磺
[root@localhost ~]# cat /etc/fstab
ΪÁ˱ãÓÚÐÂÊÖµÜÐÖÁé»îÕÆÎÕÕâ¸ö¹¤¾ß£¬ÎÒÃǶà˵һµã³£ÓõIJÎÊý£»
1.0 cat Óï·¨½á¹¹£»
cat [Ñ¡Ïî] [Îļþ]...
Ñ¡Ïî
-A, --show-all &nbs ......
Unix/LinuxÏÂÒ»°ãÏëÈÃij¸ö³ÌÐòÔÚºǫ́ÔËÐУ¬ºÜ¶à¶¼ÊÇʹÓà & ÔÚ³ÌÐò½áβÀ´ÈóÌÐò×Ô¶¯ÔËÐС£±ÈÈçÎÒÃÇÒªÔËÐÐmysqlÔÚºǫ́£º
¡¡¡¡/usr/local/mysql/bin/mysqld_safe –user=mysql &
¡¡¡¡µ«ÊÇÎÒÃǺܶà³ÌÐò²¢²»ÏómysqldÒ»Ñù¿ÉÒÔ×ö³ÉÊØ»¤½ø³Ì£¬¿ÉÄÜÎÒÃǵijÌÐòÖ»ÊÇÆÕͨ³ÌÐò¶øÒÑ£¬Ò»°ãÕâÖÖ³ÌÐò¼´Ê¹Ê¹Óà & ½á⣬Èç¹ ......