此 DirectAdmin 开心版 1.44.3 (x86/x64) 自带并默认 Capri 皮肤,默认中文界面。支持CentOS 32bit 64bit
更新日志:
1.2020-4-1 更新部分失效文件 2. 2014-02-15更新至 1.44.3 3. 2014-01-25更新至 1.43.0 4. 2013-12-13发布 1.42.1
首先yum -y update
更新下国内源wget -c 755 update_source.sh;./update_source.sh
下载DirectAdmin 1.44.3开心版cd /root wget -c http://pan.vipkj.net/DirectAdmin/1.44.3/setup.sh wget -c http://pan.vipkj.net/DirectAdmin/1.44.3/update2.tar.gz
创建directadmin文件夹mkdir -p /usr/local/directadmin
将压缩包update2.tar.gz解压到/usr/local/directadmintar xvf update2.tar.gz -C /usr/local/directadmin
为CentOS5和CentOS6.x64安装作准备,不然后面编译php会失败 32bit:ln -s /usr/lib/libssl.so /usr/lib/libssl.so.10 ln -s /usr/lib/libcrypto.so /usr/lib/libcrypto.so.10
64bit:yum -y install glibc.i686 openssl.i686 yum install openssl098e.i686 glibc.i686 libstdc .i686
安装依赖包:yum install wget gcc gcc-c flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which patch mailx bzip2-devel db4-devel libnspr4.so libssl.so.6 libstdc .so.6
前期工作完成以后,执行脚本进行安装chmod 755 setup.sh;./setup.sh
到这步别选错了,如果选择错误也就意味你将安装失败。 这里以CentOS6.5 64为列,选services_es60_64.tar.gz 此版本无bug报告 可以使用。 安装过程中需要填写: 用户ID(Client ID): 随便填 授权ID(License ID): 随便填 主机名: 比如 server.vipkj.net 安装过程*** 64-bit OS *** ***************************************************** * * Have you run the pre-install commands? CTRL-C if not. * http://help.directadmin.com/item.php?id=354 * ***************************************************** Please enter your Client ID : 5201314 开心版随便输入 Please enter your License ID : 5201314 开心版随便输入 Please enter your hostname (server.domain.com) It must be a Fully Qualified Domain Name Do *not* use a domain you plan on using for the hostname: eg. don’t use domain.com. Use server.domain.com instead. Do not enter http:// or www Enter your hostname (FQDN) : da.wangchao.info 输入hostname,随便输入个域名 Client ID: 5201314 License ID: 5201314 Hostname: da.wangchao.info Is this correct? (y,n) : y 核对是否正确,正确则输入y 回车 The following ethernet devices/IPs were found. Please enter the name of the device you wish to use: bond0 dummy0 eth0 8.8.8.8 ip6tnl0 tunl0 Enter the device name: eth0 输入网卡设备,必须和DA授权上的IP一样的设备 Is 8.8.8.8 the IP in your license? (y,n) : y 再次确认IP是否正确 DirectAdmin will now be installed on: Enterprise 6.4 Is this correct? (must match license) (y,n) : y 再次确认系统是否正确 You now have 4 options for your apache/php setup. 1: customapache: end-of-life software. Apache 1.3, php 4, frontpage. Do not use. No support. 2: custombuild 1.1: end-of-life software. Apache 2.x, php 4, 5, or both in cli and/or suphp. Defaults to php 5.2 3: custombuild 1.2: Production version: Apache 2.x, php 5, 6, or both in cli and/or suphp. Defaults to php 5.3 4: custombuild 2.0 BETA: Apache 2.4, mod_ruid2, php 5.5. Can be set to use php-FPM or fastcgi. Post any issues with custombuild to the forum: http://forum.directadmin.com/forumdisplay.php?f=61 Enter your choice (1, 2, 3 or 4): 3 从上面四个中挑选一个,我挑选的是3号,因为目前来说3号比较稳定 2号已经过时了 You have chosen custombuild 1.2. ?2013-11-26 22:08:03? http://files.directadmin.com/services/custombuild/1.2/custombuild/build Resolving files.directadmin.com… 69.30.193.202, 216.144.254.90 Connecting to files.directadmin.com|69.30.193.202|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 315255 (308K) [text/plain] Saving to: “/usr/local/directadmin/custombuild/build” 100%[======================================>] 315,255 1.27M/s in 0.2s 2013-11-26 22:08:03 (1.27 MB/s) ? “/usr/local/directadmin/custombuild/build” saved [315255/315255] Would you like the default settings of apache 2.2 and php 5.3 cli? (y/n): n 问你要不要默认的安装CLI ,鬼才用默认的,各种麻烦搞死你 You have chosen to customize the custombuild options. Please wait while options configurator is downloaded… Cannot find /usr/local/directadmin/custombuild/options.conf, writing defaults. Downloading versions.txt… ?2013-11-26 22:08:16? http://files.directadmin.com/services/custombuild/versions.txt Resolving files.directadmin.com… 216.144.254.90, 69.30.193.202 Connecting to files.directadmin.com|216.144.254.90|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 7398 (7.2K) [text/plain] Saving to: `/usr/local/directadmin/custombuild/versions.txt’ 100%[======================================>] 7,398 ?.-K/s in 0.05s 2013-11-26 22:08:16 (151 KB/s) ? `/usr/local/directadmin/custombuild/versions.txt’ saved [7398/7398] Would you like to backup the current options.conf? (yes/no): yes 问你是不是要备份配置文件,当然输入yes Backup created: /usr/local/directadmin/custombuild/options.conf.20131126100826.backup Would you like to have PHP5 as CLI or CGI? (cli/cgi): cgi 问你CLI还是CGI,当然CGI运行apache 不然很麻烦 Would you like to have ionCube? (yes/no): yes 问你要不要装ionCube,当然要装 Would you like to have Zend Optimizer? (yes/no): yes 问你是不是要装Zend ,当然要装。不过php5.2版本的zend无法被php5.3版本的zend解密,好痛苦 ******** For new DirectAdmin installs, we don’t recommend updating MySQL until after everything is finished We recommend using ‘no’ here to use the already included precompiled binaries. You can still update MySQL later. Would you like to have an ability to update/instal MySQL using CustomBuild? (yes/no): yes 是不是要装Mysql,当然选择是 Which version of MySQL you would like to have? (5.0/5.1/5.5/5.6): 5.5 mysql版本,阿福选择是5.5 Which version of Apache you would like to have? (1.3/2.0/2.2): 2.2 apache版本阿福选择的是2.2 Would you like to prevent htaccess files from using Options FollowSymLinks? More secure, but may break scripts. (yes/no): no 取消.htaccess?哦不行! Would you like to have an ability to update/instal Exim using CustomBuild? (yes/no): yes Exim发邮件用的yes Would you like to have an ability to install Dovecot? (yes/no): yes yes Would you like to have an ability to install/update phpMyAdmin using CustomBuild? (yes/no): yes phpmyadmin yes Would you like to have an ability to install/update SquirrelMail webmail using CustomBuild? (yes/no): yes 邮局,装一个和不装一个样 Would you like to have an ability to install/update RoundCube webmail using CustomBuild? (yes/no): no 余下的三个都是邮局,都no了 Would you like to have an ability to install/update UebiMiau webmail using CustomBuild? (yes/no): no Would you like to have an ability to install/update Atmail Open webmail using CustomBuild? (yes/no): no Would you like to search for the fastest download mirror? (y/n):y
安装完成后,最后显示的那段信息,包含了后台登录地址、帐号和密码。 也可以使用命令查看你的管理员帐号和密码cat /usr/local/directadmin/scripts/setup.txt
默认皮肤为Capri,界面为 中文,如果要修改可以修改文件:/usr/local/directadmin/data/users/admin/user.conf
安装完如果ip:2222不能访问,清除所有防火墙规则iptables -F iptables -X iptables -Z
如果你安装完成后改为使用 Nginx php-fpm 需要修改文件:/usr/local/directadmin/data/admin
将 httpd=ON 改成 nginx=ON 上面两步都需要重启DA:service directadmin restart
© 版权声明
文章版权归www.vipkj.net所有,未经允许请勿转载。
THE END
暂无评论内容