全球主机交流论坛

标题: DIA centos5.2下装DA出现的问题 [打印本页]

作者: almostsir    时间: 2010-1-17 15:38
标题: DIA centos5.2下装DA出现的问题
directadmin需要预安装的组件

yum install gcc

yum install gcc-c++

yum install flex

yum install make

yum install perl

这些都安装了
以root用户登录并下载setup.sh文件

# wget http://www.directadmin.com/setup.sh

小提示:在FreeBSD系统上,用“fetch”命令代替”wget”命令

更改setup.sh的权限

# chmod 755 setup.sh

运行setup.sh脚本

# ./setup.sh

系统将提示你输入Client ID、license ID和主机名,主机名一般不要用顶级域名,最好是用一个二级域名代替,例如server.fesite.com
这些做了。
安装过程中提示


07:30:35 (1.04 MB/s) - `/usr/local/directadmin/update.tar.gz' saved [3403205/3403205]

./setup.sh: line 1176: tar: command not found
Cannot find the DirectAdmin binary.  Extraction failed

If you see an error that says to add --no-check-certificate, recompile wget:
http://help.directadmin.com/item.php?id=119

不明白什么原因?高手指点一下
作者: 绝对冷血    时间: 2010-1-17 15:46
./setup.sh: line 1176: tar: command not found


好像是说你的系统没装TAR噢~
作者: cpuer    时间: 2010-1-17 15:47
标题: 回复 1# 的帖子
tar: command not found

安装tar
作者: almostsir    时间: 2010-1-17 16:03
08:03:26 (1.05 MB/s) - `/usr/local/directadmin/update.tar.gz' saved [3403205/3403205]

Cannot find /etc/sysconfig/rhn/up2date... up2date may break things.
*** Cannot find the named binary. Please install Bind ***
*** bison is required for compiling, please install bison (yum install  bison)***
*** cannot find /usr/include/openssl/ssl.h.  Please make sure openssl-devel is installed (yum install openssl-devel) ***
*** cannot find /usr/bin/patch.  Please make sure that patch is installed (yum install patch) ***
Installation didn't pass, halting install.
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

If this applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************
作者: almostsir    时间: 2010-1-17 16:04
阉割版系统就是不行啊
作者: cpuer    时间: 2010-1-17 16:05
标题: 回复 5# 的帖子
少了很多东西,为啥不选择个完整版系统呢
作者: almostsir    时间: 2010-1-17 16:08
他们为省硬盘空间没给完整版的。
Please choose the OS you want to install.
1: CentOS 5.2 32bits with Kloxo
2: CentOS 5.2 32bits with Nginx
3: CentOS 5.2 64bits with VPN
4: CentOS 5.2 minimal 32bits
5: CentOS 5.2 minimal 64bits
6: Debian 5.0 64bits
7: Ubuntu 8.04 64bits
8: Ubuntu 8.10 64bits
9: Ubuntu 9.04 64bits
21: Windows 2003 Standard SP2
any other word to exit.
作者: cpuer    时间: 2010-1-17 16:10
标题: 回复 7# 的帖子
提意见
作者: 绝对冷血    时间: 2010-1-17 16:13
开始安装 DA 了
作者: 绝对冷血    时间: 2010-1-17 16:14
本地把 DA CP WHMCS 都装一遍  看下哪个顺眼~
作者: cpuer    时间: 2010-1-17 16:14
标题: 回复 9# 的帖子
这只是开始安装gcc和gcc-c++ 嘛
作者: 绝对冷血    时间: 2010-1-17 16:22
一步一步来嘛~~

我现在可是在 古董上开工~~

哪个有我牛~~~
作者: almostsir    时间: 2010-1-17 17:16
Total download size: 79 k
Downloading Packages:
(1/1): vixie-cron-4.1-77. 100% |=========================|  79 kB    00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: vixie-cron                   ######################### [1/1]

Installed: vixie-cron.i386 4:4.1-77.el5_4.1
Complete!
*** bison is required for compiling, please install bison (yum install  bison)***
*** cannot find /usr/include/openssl/ssl.h.  Please make sure openssl-devel is installed (yum install openssl-devel) ***
*** cannot find /usr/bin/patch.  Please make sure that patch is installed (yum install patch) ***
Installation didn't pass, halting install.
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

If this applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d

*******************************************
*******************************************
作者: almostsir    时间: 2010-1-17 17:17
装不成功。不适合初学者。
作者: king_bette    时间: 2010-1-17 17:18
请确认你的DA授权是64位版本,
如果你使用的是64位的系统,是需要相应的64位版本的DA授权,32位版本的DA授权安装会有问题。
作者: king_bette    时间: 2010-1-17 17:19
如果安装有问题,提交服务单,附上您的授权号与客户号,我们技术帮协助您安装。




欢迎光临 全球主机交流论坛 (https://www.iloc.eu.org/) Powered by Discuz! X3.4