<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Heck's  Blog]]></title> 
<link>https://www.heckjj.com/index.php</link> 
<description><![CDATA[一瞬间的决定，往往可以改变很多，事实上，让自己成功的往往不是知识，是精神！ 如果你总是为自己找借口，那只好让成功推迟。执行力，今天！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Heck's  Blog]]></copyright>
<item>
<link>https://www.heckjj.com/centos53-perfect-cfg-html/</link>
<title><![CDATA[Centos5.3服务器完美配置]]></title> 
<author>Heck &lt;@hecks.tk&gt;</author>
<category><![CDATA[电脑技术]]></category>
<pubDate>Mon, 20 Sep 2010 16:43:53 +0000</pubDate> 
<guid>https://www.heckjj.com/centos53-perfect-cfg-html/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-family: 微软雅黑;">这一系列关于Centos的文章目的是解释如何在Centos 5.3上设置一些必须的服务器，包括：apache web服务器，postfix邮件服务器，FTP服务器，DNS服务器，MySQL，防火墙，等等。这一系列文章的步骤是在Centos 5.3的x64版本上进行实验的，不过你应该可以可以在x32版本上按照相同的步骤进行设置。在这一系列文章中我们将使用以下软件：<br/>http://www.hecks.tk/admin.php?act=carecenter<br/>&nbsp;&nbsp;1.Web 服务器： Apache 2.2，PHP 5.1.6 <br/>&nbsp;&nbsp;2.数据库服务器： MySQL 5.0 <br/>&nbsp;&nbsp;3.邮件服务器： Postfix <br/>&nbsp;&nbsp;4.DNS 服务器： BIND9 (chrooted) <br/>&nbsp;&nbsp;5.FTP 服务器：Proftpd <br/>&nbsp;&nbsp;6.POP3/IMAP 服务器： Dovecot <br/>&nbsp;&nbsp;7.Webalizer 用于web服务器的统计 <br/><br/><span style="font-size: 12px;"><strong>硬件以及软件需求</strong></span><br/><br/>首先你需要下载并刻录CentOS 5.3的安装dvd，你可以从<a href="http://isoredirect.centos.org/centos/5/isos/x86_64/" target="_blank">http://isoredirect.centos.org/centos/5/isos/x86_64/</a> 选择64位机器的安装盘。如果是32位的机器可以从这里下载：<a href="http://isoredirect.centos.org/centos/5/isos/i386/" target="_blank">http://isoredirect.centos.org/centos/5/isos/i386/</a>。下载iso文件以后你需要刻录出来。注意可能dvd的安装文件是BT种子（.torrent文件），如果你需要刻录DVD的话需要有一个BT的客户端。</span><span style="font-family: 微软雅黑;"><br/><br/><span style="font-size: 12px;"><strong>安装操作系统</strong></span><br/><br/>从刻录好的DVD或者第一张CD启动计算机，然后再选择启动方式菜单时按回车：<br/><a href="https://www.heckjj.com/attachment.php?fid=51" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=51" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>在接下来的屏幕中如果你不想浪费很多时间可以选择跳过测试：<br/><a href="https://www.heckjj.com/attachment.php?fid=52" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=52" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>在欢迎屏幕出来之后选择Next：<br/><a href="https://www.heckjj.com/attachment.php?fid=53" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=53" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>然后选择一种语言，这里为了方便还是选择英文，你愿意的话可以选择中文：<br/><a href="https://www.heckjj.com/attachment.php?fid=54" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=54" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>之后选择键盘格局，你可以直接保持默认选项。<br/><br/><a href="https://www.heckjj.com/attachment.php?fid=55" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=55" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>之后需要选择磁盘分区，如果你是做一台干净的机器上安装CentOS那么可以直接按照默认选项进行分区：<br/><a href="https://www.heckjj.com/attachment.php?fid=56" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=56" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>之后是网络设置，这里默认的选项是通过DHCP分配IP，但是既然是服务器配置你可能需要手动设置网络，选择“Edit”按钮来手动配置：<br/><a href="https://www.heckjj.com/attachment.php?fid=57" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=57" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>在接下来的对话框中选择&quot;Enable IPv4 Support”以配置一个IPV4的地址，之后选中“Manual Configuration”并填写IP地址和子网掩码：<br/><a href="https://www.heckjj.com/attachment.php?fid=58" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=58" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>之后手动设置主机名（hostname）和DNS服务器：<br/><a href="https://www.heckjj.com/attachment.php?fid=59" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=59" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>选择时区：<br/><a href="https://www.heckjj.com/attachment.php?fid=60" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=60" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>配置root密码：<br/><a href="https://www.heckjj.com/attachment.php?fid=61" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=61" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>在这里Centos已经安装好了，下面我们开始来配置它，安装常用的软件。<br/><br/><span style="font-size: 12px;"><strong>安装常用软件</strong></span><br/>选择需要安装的软件包，这里因为我们只需要安装服务器，所以只选择“Server”就可以。同时要把“Packages from CentOS Extras”的选择框去掉。<br/>之后选择“Customize Now”，然后选择Next。<br/><em><a href="https://www.heckjj.com/attachment.php?fid=62" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=62" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a></em><br/>现在需要定制软件包，这里选择<em>Editors</em>, <em>Text-based Internet</em>, <em>Development Libraries</em>, <em>Development Tools</em>, <em>DNS Name Server</em>, <em>FTP Server</em>, <em>Mail Server</em>, <em>MySQL Database</em>, <em>Server Configuration Tools</em>, <em>Web Server</em>, <em>Administration Tools</em>, <em>Base</em>，以及System Tools，并去掉其他的选择项，然后点击Next。<br/>之后安装程序会检查软件包的依赖性，格式化硬盘，这些操作中只要选择Next就可以了。<br/><a href="https://www.heckjj.com/attachment.php?fid=63" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=63" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><a href="https://www.heckjj.com/attachment.php?fid=64" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=64" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><a href="https://www.heckjj.com/attachment.php?fid=65" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=65" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>之后安装程序会开始安装软件包。<br/><a href="https://www.heckjj.com/attachment.php?fid=66" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=66" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>在结束安装以后按“Reboot”以重启系统。<br/><a href="https://www.heckjj.com/attachment.php?fid=67" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=67" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>在重启以后，你可以看到下面这个屏幕，如果需要的话，你可以选择“Firewall Configuration”（防火墙设置）以设置防火墙：<br/><a href="https://www.heckjj.com/attachment.php?fid=68" target="_blank"><img src="https://www.heckjj.com/attachment.php?fid=68" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>设置好以后以root用户登录并重启系统：<br/>Reboot</span><br/>Tags - <a href="https://www.heckjj.com/tags/centos/" rel="tag">centos</a> , <a href="https://www.heckjj.com/tags/%25E5%25AE%258C%25E7%25BE%258E%25E6%259C%258D%25E5%258A%25A1%25E5%2599%25A8%25E8%25AE%25BE%25E7%25BD%25AE/" rel="tag">完美服务器设置</a>
]]>
</description>
</item><item>
<link>https://www.heckjj.com/centos53-perfect-cfg-html/#blogcomment</link>
<title><![CDATA[[评论] Centos5.3服务器完美配置]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.heckjj.com/centos53-perfect-cfg-html/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>