注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

祥磊部落网易博客

祥磊部落:http://www.bxl.me

 
 
 

日志

 
 

CentOS7 - 安装DirectAdmin教程  

2017-06-28 06:29:24|  分类: DirectAdmin |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

DA有几年没折腾了,最近一次折腾都是2年前了,其他的都是在12年的时候折腾的.

发现DA官网的售卖也涨价,遂收了几个终身的授权,买了几个月月付以及年付的授权

 

安装DA

安装官网的DA版本.

wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

 

输入你的ID以及授权ID,以及选择相应的网卡名,最后需要是要安装的系统版本.

 

*****************************************************

Please enter your Client ID : 47700
Please enter your License ID : 145888
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) : xlboo.com
Client ID:  47700
License ID: 145888
Hostname: lax136-qn.serv.2siga.com
Is this correct? (y,n) : y
The following ethernet devices/IPs were found. Please enter the name of the device you wish to use:

The external IP should typically match your license IP.

Is xxx.xxx.xxx.xxx the IP in your license? (y,n) : y

DirectAdmin will now be installed on: Enterprise 7.3
Is this correct? (must match license) (y,n) : y

 

#这里一般我们可以选择自定义,所以选择n.毕竟cli模式有些不方便.
Would you like the default settings of apache 2.4 with mod_ruid2 and php 5.6 cli? (y/n): n

 

 

否认后会让你选择相关的版本

#选择安装web服务器,litespeed的话当然选择付费的,不然限制....
Please select webserver you would like to use (apache/nginx/nginx_apache/litespeed):nginx_apache

#选择要安装的FTP服务器,proftpd功能要强大于pureftpd,看个人需求
Please select FTP server you would like to use (proftpd/pureftpd/no):proftpd

#选择安装第一个PHP版本,一般都php5.6,毕竟是为了兼容.
Please select default PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1):5.6

#选择PHP运行模式,mod_php占用资源最低,这个看个人嗜好了
Please select default PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp/mod_php):php-fpm

#安装第二个PHP版本
Would you like to have a second instance of PHP installed? (yes/no): yes

#不推荐PHP7.1,因为太多太多的程序不兼容,等以后的程序升级的多了,再来安装也不迟
Please select additional PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1):7.0

#PHP运行模式可以选择php-fpm/fastcgi/mod_php
Please select additional PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp/mod_php):php-fpm

#选择是否安装ionCube加密组件,一般很多程序需要,推荐安装
Please select if you would like to use ionCube (yes/no):yes

#选择是否安装Zend Guard Loader加速组件,也是推荐安装的
Please select if you would like to use Zend Guard Loader (yes/no):yes

#选择是否安装suhosin,PHP安全修复组件,也是推荐安装的
Please select if you would like to use suhosin (yes/no):yes

#Exim是邮件发送组件,看个人需求了
Please select if you would like CustomBuild to manage Exim installation (yes/no):yes

#Dovecot是IMAP和POP3邮件服务器,如果搭建邮局,可以安装,不搭建邮局可以否了.
Please select if you would like CustomBuild to manage Dovecot installation (yes/no):yes

#phpMyAdmin数据库管理,一般都是需要安装的,命令玩的六,phpMyAdmin当然属于鸡肋了.
Please select if you would like CustomBuild to manage phpMyAdmin installation (yes/no):yes

#SquirrelMail属于邮件系统可以选择性安装
Please select if you would like CustomBuild to manage SquirrelMail installation (yes/no):yes

#RoundCube属于webmail,网页管理邮局,还是挺方便的,看个人需求
Please select if you would like CustomBuild to manage RoundCube installation (yes/no):yes

下面就是自动选择最快线路,一般都是选择yes

Would you like to search for the fastest download mirror? (y/n): y

 

 

一般在30分钟左右安装完毕.安装完毕后信息会显示出来,注意保存修改.

## INSTALL_COMPLETE
## ACCOUNT_INFO


The following information has been set:

Admin username:   admin
Admin password:   qgBN6j7ELv
Admin email:      admin@xlboo.com


Server IP: xxx.xxx.xxx.xxx
Server Hostname: xlboo.com

To login now, follow this link:

http://xxx.xx.xxx.xx: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

到此就安装完毕.



本文来自:祥磊部落

原文地址:https://www.xlboo.com/9986.html

  评论这张
 
阅读(14)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017