سلام
برای نصب دایرکت ادمین مراحل زیر رو طی میکنیم :
1- ابتدا پکیج ها رو نصب و آپدیت میکنیم:


yum update -y
yum install gcc-c++ gcc automake -y

2- نسخه های نصب شده (آپاچی، مای اس کیو ال، پی اچ پی ) را با دستور زیر حذف میکنیم:

yum remove httpd* php* mysql* -y

3- با دستور های زیر به ترتیپ شروع به نصب دایرکت ادمین میکنیم:

wget http://directadmin.com/setup.sh
chmod +x setup.sh
sh setup.sh

4- پس از این ، پیغام هایی شبیه به زیر خواهید دید ، که با توجه به نوع سوال، پاسخ آن را بدهید:

please enter your client id :
Please enter your license id :
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) :
Is this correct? (y,n) :
Is eth0 your network adaptor with the license ip? (y,n) :
Is xx.xx.xx.xx the ip in your license? (y,n) :

Directadmin will now be installed on: Enterprise 5

is this correct? (must match license) (y,n) :

You now have 2 options for your apache/php setup.


1: Customapache: Older, more tested. Includes apache 1.3, php 4 and frontpage.

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.
Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61

enter your choice (1 or 2):

نصب دایرکت ادمین به اتمام رسید.

آیا این پاسخ به شما کمک کرد؟ 191 کاربر این را مفید یافتند (1157 نظرات)