<?xml version="1.0" encoding="gb2312" ?>
<rss version="2.0">

<channel>
  <title>开心网-笑话啦</title>
  <link>http://www.xiaohua.la</link>
  <description>This website server is the world's most comprehensive encyclopedia.</description>
  <pubDate>2010-9-5 19:42:51</pubDate>
  <language>zh-CN</language>
  <image>
   <link>http://www.xiaohua.la</link>
   <url>http://www.xiaohua.la/images/logo_in.jpg</url>
   <title>开心网-笑话啦 xiaohua.la</title>
  </image>
  <webMaster>vip@xiaohua.la</webMaster>

  <item>
	<link>http://www.xiaohua.la/article-1326-1.html</link>
	<guid>http://www.xiaohua.la/article-1326-1.html</guid>
	<title>WEB server, the voice of experience</title>
	<description>
	  <![CDATA[
	  WEB server, the voice of experience
	  ]]>
	</description>
	<text>
	  <![CDATA[
	  WEB server is configured now, most of the P4 or dual XEON 3.0G.<br />If it is purely a server without dynamic forum for other applications, with P4 support 200-300 people online is no problem, if the WEB system, high efficiency, optimize the script well, can support 300-500 people. Dual XEON line with almost 1,000 limit. If you want traffic, so popular, strong election performance CPU is necessary, justified. Recommended XEON Series entry-level P4, although P4D dual-core performance increase, but the multi-task management, XEON Dual support for multiple customer access and more stable.<br />&nbsp;&nbsp;&nbsp;&nbsp; If it is a static page, then, CPU requirements will be lower, static pages do not need to compile the basic card to see if the network bandwidth and, if it is the best picture and more sites have replaced the hard disk SCSI, high speed and high cache SCSI hard drive, for more The small file read more advantage and better stability, and long life.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; However, whether static or dynamic page web site, it is best to use large-capacity memory, particularly now, memory speed is not the important issue, important is two things: one, capacity, 2, ECC
	  ]]>
	</text>
	<image></image>
	<category>Business Web Hosting</category>
	<pubDate>10-07-16</pubDate>
  </item>

  <item>
	<link>http://www.xiaohua.la/article-1327-1.html</link>
	<guid>http://www.xiaohua.la/article-1327-1.html</guid>
	<title>Apache excellent bandwidth saving</title>
	<description>
	  <![CDATA[
	  Apache excellent bandwidth saving
	  ]]>
	</description>
	<text>
	  <![CDATA[
	  <p>Although the shared bandwidth, but the room was the speed limit on each server, now server access than larger, mainly a lot of pictures is relatively bandwidth to conduct some optimization, the basic idea with the hope to give more experienced proposal.</p>
<p>Could think of: defense Daolian, compression and transmission, cache, speed limits.</p>
<p>About Daolian done a lot of restrictions, Daolian basically did not find it, and now mp3, wmv and other media files are they not to visit, and now the server is the real must flow, limited resources, rack their brains to find solutions. (Sorry ah)</p>
<p>Compression, using the mod_deflate, has been accompanied gone. By simple observation, what effect it was good, obvious effect on the html page, but the gif, jpg and other images on to die, because the compression ratio is limited, now the main flow is from the pictures.</p>
<p>Would now like to further optimization: some of the image file cache settings, reduce duplication of downloads, on the other hand would like to be the speed limit for each IP, this should be some relief. But not with too, the Internet search, and were used as mod_expires module, mod_bandwidth module, no child used the two modules do not know how effective, while there are other better options? Hope to have experience to give pointing to the road. </p>
	  ]]>
	</text>
	<image>http://www.xiaohua.la/images/Upload/201071617574754256.jpg</image>
	<category>Business Web Hosting</category>
	<pubDate>10-07-16</pubDate>
  </item>

  <item>
	<link>http://www.xiaohua.la/article-1328-1.html</link>
	<guid>http://www.xiaohua.la/article-1328-1.html</guid>
	<title>Build secure web server</title>
	<description>
	  <![CDATA[
	  PermitRootLogin no,Does not allow empty password,# PermitEmptyPasswords yes,PermitEmptyPasswords no
	  ]]>
	</description>
	<text>
	  <![CDATA[
	  <p>Reference :**--------------------------<br />Do not remove the server service<br />ps-ax<br />which rpc.statd<br />mv / sbin / rpc.statd<br />mkdir / var / back.ps<br />&nbsp;mv / sbin / rpc.statd / var / back.ps<br />/ Etc / rc.d / init.d / nfs stop<br />&nbsp;mv / etc / rc.d / init.d / nfs / var / back.ps /<br />&nbsp;rpm-qa | grep httpd<br />&nbsp;rpm-e system-config-httpd-1.2.0-3<br />rpm-e httpd-2.0.49-4<br />rpm-qa | grep nfs<br />&nbsp;rpm-e system-config-nfs-1.2.3-2<br />&nbsp;rpm-e nfs-utils-1.0.6-20<br />&nbsp;/ Etc / rc.d / init.d / xinetd stop<br />which xinetd<br />/ Usr / sbin / xinetd<br />mv / usr / sbin / xinetd / var / back.ps /<br />//------------------------------<br />updatedb<br />&nbsp;locate init<br />//---------------------- Not start graphical interface ------------<br />&nbsp;vi / etc / inittab<br /># Ca:: ctrlaltdel: / sbin / shutdown-t3-r now<br />ca:: ctrlaltdel: / usr / bin / top<br /># Run xdm in runlevel 5<br />id: 3 ********<br />x: 3: respawn: / etc/X11/prefdm-nodaemon<br />reboot<br />//------------------------- Iptables --------------<br />&nbsp;vi iptable_<br />iptables-t filter-A INPUT-p tcp - dport 80-j ACCEPT<br />iptables-t filter-A INPUT-p tcp - dport 22-j ACCEPT<br />iptables-t filter-A INPUT-p tcp - dport 20-j ACCEPT<br />iptables-t filter-A INPUT-p tcp - dport 21-j ACCEPT<br />iptables-t filter-A INPUT-p tcp - dport 3306-j ACCEPT / / optional<br />iptables-t filter-A INPUT-p tcp-j DROP<br />iptables-t filter-A INPUT-p udp-j DROP<br />//--------------------------- Apache 2.0 --------------<br />. / Configure - enable-ssl - enable-so - enable-cgi<br />make<br />make install<br />AddDefaultCharset GB2312<br />Listen 218.246.33.61:80<br />ServerTokens Prod<br />ServerSignature Off 538</p>
<p>DirectoryIndex index.html index.html.var index.php 386</p>
<p>NameVirtualHost 192.168.1.151:80 1058<br />//-------------- MPM ---------------------------------<br />&lt;IfModule Prefork.c&gt;;<br />StartServers 10<br />MinSpareServers 10<br />MaxSpareServers 15<br />ServerLimit 2000<br />MaxClients 1500<br />MaxRequestsPerChild 10000<br />&lt;/ IfModule&gt;;</p>
<p>&lt;VirtualHost **.**.**.**:80&gt;;<br />&nbsp;&nbsp;&nbsp; ServerAdmin <a href="mailto:webmaster@dummy-host.example.com">webmaster@dummy-host.example.com</a><br />&nbsp;&nbsp; DocumentRoot /******/<br />&nbsp;&nbsp;&nbsp; ServerName www .***.***<br />&nbsp;&nbsp;&nbsp; ErrorLog logs / dummy-host.example.com-error_log<br />&nbsp;&nbsp;&nbsp; CustomLog logs / dummy-host.example.com-access_log common<br />&lt;/ VirtualHost&gt;;<br />AddType application / x-httpd-php. Php 852<br />//--------------------- Install mysql4.0-----------------<br />tar-zxf gd-2.0.33.tar.gz<br />. / Configure<br />make<br />make install<br />tar-zxf mysql-4.0.22.tar.gz</p>
<p>- With-charset = GB2312<br />- Prefix = / var / local /<br />&nbsp;. / Configure - with-charset = GB2312 - prefix = / var / local /<br />vi / Docs / mysql.info 7086<br />&nbsp;&nbsp; shell&gt;; groupadd mysql<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; useradd-g mysql mysql<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; gunzip &lt;mysql-VERSION.tar.gz | tar-xvf -<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; cd mysql-VERSION<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;;. / configure - with-charset = GB2312 - prefix = / var / local /<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; make<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; make install<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; cp support-files/my-medium.cnf / etc / my.cnf<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; cd / usr / local / mysql<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; bin / mysql_install_db - user = mysql<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; chown-R root.<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; chown-R mysql var<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; chgrp-R mysql.<br />&nbsp;&nbsp;&nbsp;&nbsp; shell&gt;; bin / mysqld_safe - user = mysql &amp;</p>
<p>//-------------------------------- Install php4 .**----------- -----------------<br />php<br />. / Configure - with-apxs2 = / usr/local/apache2/bin/apxs - with-zlib-dir - with-mysql</p>
<p>make<br />make install<br />cp php.ini-dist / usr / local / lib / php.ini<br />; Safe_mode = Off<br />safe_mode = On<br />; Display_errors = On<br />display_errors = On<br />; Log_errors = Off<br />log_errors = On</p>
<p>/****<br />extension_dir = &quot;. /&quot;<br />disable_functions = phpinfo, get_cfg_var, exec, system, eval<br />//------------------------------- Ssh configuration<br />vi / etc / ssh / sshd_config<br />root user can not directly log in<br /># PermitRootLogin yes<br />PermitRootLogin no<br />Does not allow empty password<br /># PermitEmptyPasswords yes<br />PermitEmptyPasswords no<br />/ Etc / rc.d / init / sshd restart </p>
	  ]]>
	</text>
	<image>http://www.xiaohua.la/images/Upload/20107161804591336.jpg</image>
	<category>Web Hosting Provider</category>
	<pubDate>10-07-16</pubDate>
  </item>

</channel>
</rss>
