<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Totti的部落格]]></title> 
<link>https://iam.ittot.com/index.php</link> 
<description><![CDATA[记录我的生活，收集我的收集]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Totti的部落格]]></copyright>
<item>
<link>https://iam.ittot.com/read.php/.htm</link>
<title><![CDATA[CentOS上安装DirectAdmin]]></title> 
<author>Totti &lt;totti5116@163.com&gt;</author>
<category><![CDATA[个人]]></category>
<pubDate>Wed, 05 May 2010 00:49:54 +0000</pubDate> 
<guid>https://iam.ittot.com/read.php/.htm</guid> 
<description>
<![CDATA[ 
	1：安装相关的组件,或者你可以选择面对装了一半之后跳出来这样一个提示：<br/><br/>cd /usr/local/directadmin/custombuild<br/>./build all d<br/><br/>安装CentOS的相关组件的命令如下：<br/><br/>yum update -y<br/>yum install gcc-c++ gcc automake -y<br/>yum install make<br/>yum install flex<br/><br/>2：CentOS是附带了httpd的unix版本，但是因为directadmin的安装需要干净的系统，所以在装之前要反安装httpd,php,mysql这些web组件。<br/><br/>yum remove httpd* php* mysql* -y<br/>安装：<br/><br/>做完了热身运动，现在可以放心地参照官网的步骤进行DirectAdmin的安装了。<br/><br/>运行命令：<br/><br/>wget <a href="http://directadmin.com/setup.sh" target="_blank">http://directadmin.com/setup.sh</a><br/><br/>获取安装文件<br/>chmod +x setup.sh<br/><br/>更改文件权限+x是一种方式，也可以用控制面板里面用的比较多的755。<br/><br/>./setup.sh<br/><br/>运行安装文件，然后在下面填入相关的信息。其中hostname最好和vps里面的名字一样，我开始就用了vps.810081.com和host.810081.com两个名字，结果收到了提示邮件。<br/><br/>DirectAdmin’s setup has a few more things you need to fill:<br/><br/>Please enter your Client ID :<br/>Please enter your License ID :<br/>Please enter your hostname &#92;(server.domain.com&#92;)<br/>It must be a Fully Qualified Domain Name<br/>Do *not* use a domain you plan on using for the hostname:<br/>eg. don’t use domain.com. Use server.domain.com instead.<br/>Do not enter http:// or www<br/>Enter your hostname (FQDN) :<br/>Is this correct? (y,n) :<br/>Is eth0 your network adaptor with the license IP? (y,n) :<br/>Is xx.xx.xx.xx the IP in your license? (y,n) :<br/><br/>DirectAdmin will now be installed on: Enterprise 5<br/>Is this correct? (must match license) (y,n) :<br/><br/>You now have 2 options for your apache/php setup.<br/><br/>1: customapache: older, more tested. Includes Apache 1.3, php 4 and frontpage.<br/>2: custombuild 1.1: newer, less tested. Includes any Apache version, php 4, 5, or both in cli and/or suphp. Frontpage not available with Apache 2.x.<br/>Post any issues with custombuild to the forum: <a href="http://www.directadmin.com/forum/forumdisplay.php?f=61" target="_blank">http://www.directadmin.com/forum/forumdisplay.php?f=61</a><br/><br/>Enter your choice (1 or 2):<br/>针对vps的特殊设置：<br/><br/>经过这些步骤,directAdmin的安装已经完成了，对还差最后一个步骤。在vps上面还要将Ip，硬盘这些进行一个定位，用vi进入/usr/local /directadmin/conf/directadmin.conf这个文件，将其中的ethernet_dev的值改成<br/><br/>ethernet_dev=venet0:0<br/><br/>可以通过/sbin/ifconfig这个命令来查看自己的硬盘。<br/>善后：<br/><br/>如果忘了DirectAdmin的密码用<br/><br/>locate mysql.ini<br/><br/>来定位并翻看这个文件里面存在着DirectAdmin的密码，据说另外一种方式也可以，不过我试了没有成功了，还是照单列出来了，有兴趣的童鞋自己去试<br/><br/>cd /usr/local/directadmin<br/>./directadmin i<br/>./directadmin p<br/><br/>摘自：<a href="http://blog.dengruo.com/200909/572" target="_blank">http://blog.dengruo.com/200909/572</a>
]]>
</description>
</item><item>
<link>https://iam.ittot.com/read.php/.htm#blogcomment</link>
<title><![CDATA[[评论] CentOS上安装DirectAdmin]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://iam.ittot.com/read.php/.htm#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>