下载官方脚本来执行安装。
wgethttp://www.directadmin.com/setup.sh chmod755setup.sh ./setup.sh提示您是否需要执行脚本来预安装必要的第三方软件包。输入y。
***************************************************** * *DirectAdminrequirescertainpackages,describedhere: *http://help.directadmin.com/item.php?id=354 * *Wouldyouliketoinstalltheserequiredpre-installpackages?(y/n):y安装第三方包后,会要求您输入用户ID、授权ID、主机名并选择网卡,以确认系统版本。
***************************************************** PleaseenteryourClientID:用户ID PleaseenteryourLicenseID:授权ID Pleaseenteryourhostname(server.domain.com) ItmustbeaFullyQualifiedDomainName Do*not*useadomainyouplanonusingforthehostname: eg.don'tusedomain.com.Useserver.domain.cominstead. Donotenterhttp://orwww Enteryourhostname(FQDN):主机名 ClientID:***** LicenseID:****** Hostname:***.** Isthiscorrect?(y,n):y Iseth0yournetworkadaptorwiththelicenseIP(**.***.**.**)?(y,n):y YourexternalIP: TheexternalIPshouldtypicallymatchyourlicenseIP. Is**.**.**.**theIPinyourlicense?(y,n):y DirectAdminwillnowbeinstalledon:Enterprise7.2 Isthiscorrect?(mustmatchlicense)(y,n):y提示选择默认版本。这里我们选择N,因为cli版本不会隔离用户和站点。我们需要在下面做出选择。
Wouldyoulikethedefaultsettingsofapache2.4withmod_ruid2andphp5.5cli?(y/n):n提示为备份配置文件输入yes?
Would you like to backup the current options.conf? (yes/no): yes Backup created: /usr/local/directadmin/custombuild/options.conf.20151105102436.backup选择一个WEB服务程序。一般我们选择apache是为了兼容性。如果有其他要求,建议选择nginx_apache,兼容性更好。litespeed需要商业许可,否则就是免费版,有很多限制。
Please select webserver you would like to use (apache/nginx/nginx_apache/litespeed):apache选择ftp服务程序。一般我们选择proftpd和pureftpd。正是DA后台控制着FTP信息的生成。
Please select FTP server you would like to use (proftpd/pureftpd/no):proftpd接下来,选择PHP版本。支持php5.3~7.0,请根据自己的需求选择。
PHP运行模式,我们选择suphp
你想安装php的第二个版本吗?输入否安装完成后,我们可以使用CustomBuild插件来配置多版本PHP。
Please select default PHP version you would like to use (5.3/5.4/5.5/5.6/7.0):5.3 Please select default PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp/mod_php):suphp Would you like to have a second instance of PHP installed? (yes/no): no接下来,常见组件,
通常需要ionCube和ZendGuardLoader,输入yes。
suhosinPHP安全修复组件需要Yes。
PhpMyAdmin要求是
根据电子邮件的要求,其他组件是可选的。
Please select if you would like to use ionCube (yes/no):yes Please select if you would like to use Zend Guard Loader (yes/no):yes Please select if you would like to use suhosin (yes/no):yes Please select if you would like CustomBuild to manage Exim installation (yes/no):no Please select if you would like CustomBuild to manage Dovecot installation (yes/no):no Please select if you would like CustomBuild to manage phpMyAdmin installation (yes/no):yes Please select if you would like CustomBuild to manage SquirrelMail installation (yes/no):no Please select if you would like CustomBuild to manage RoundCube installation (yes/no):no接下来,你测试选择最快的镜子Y吗?
Would you like to search for the fastest download mirror? (y/n): y接下来,MYSQL将自动安装到5.5版本,您可以在以后使用CustomBuild插件自定义所选版本。
等待大约15~30分钟,安装完成。安装完成后,系统会提示您输入后台登录地址和帐户密码。
## INSTALL_COMPLETE ## ACCOUNT_INFO The following information has been set: Admin username: admin Admin password: Axxxxxx2 Admin email: admin@testda.vvv.com Server IP: 192.x.x.x Server Hostname: testda.vvv.com To login now, follow this link: http://192.x.x.x:2222 and enter your Admin username and password when prompted. You should now visit http://admin.site-helper.com and http://www.directadmin.com/newinstall.html to learn how to get started. Thank you for using DirectAdmin. Should you have any questions, don't hesitate to contact us at support@directadmin.com ## REPORT_END Permissions set System Security Tips: http://help.directadmin.com/item.php?id=247欢迎分享,转载请注明来源:内存溢出
评论列表(0条)