DirectAdmin installation tutorial on CentOS

Source: Internet
Author: User
Tags vps fully qualified domain name

DirectAdmin is a paid virtual host management software, usually referred to as DA. DA is simpler than Cpanel in terms of functions, but it also consumes less memory. More importantly, the price is cheaper, generally, it is appropriate to use or share a DA.

Before installation, ensure that you have purchased the DirectAdmin authorization. After you have purchased the authorization, the Client ID and License ID will be available, you also need to submit the IP address and system information of your VPS or server on the DA official website or the DA vendor.

1. The command for installing CentOS-related components is as follows:

Yum update-y
Yum install gcc-c ++ gcc make automake wget flex-y

2. Installation of DirectAdmin requires a clean system. Therefore, uninstall httpd, php, and mysql before installation.

Yum remove httpd * php * mysql *-y

3. Download The DirectAdmin installation script and run the following command:

Wget http://directadmin.com/setup.sh

4. Add the execution permission for the DirectAdmin installation script file and run the following command:

Chmod + x setup. sh www.2cto.com

5. Execute the DirectAdmin installation script file:

./Setup. sh

Run the DirectAdmin Installation File and enter the relevant information below. It is best to use a second-level domain name such as linode.vpser.net instead of a top-level domain name.

DirectAdmin's setup has a few more things you need to fill:
Please enter your Client ID: // enter your Client ID
Please enter your License ID: // enter your License ID
Please enter your hostname \ (server.domain.com \) // enter a host name, such as linode.vpser.net.
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): // indicates whether the above is correct. Enter y if it is correct.
Is eth0 your network adaptor with the license IP? (Y, n): // enter y
Is xx. xx the IP in your license? (Y, n): // check whether the IP address is the IP address registered on the License.
DirectAdmin will now be installed on: Enterprise 5
Is this correct? (Must match license) (y, n): // enter y
You now have 2 options for your apache/php setup.
1: customapache: older, more tested. Supported des 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): // select 2. Use php5

After these steps, the installation of DirectAdmin is complete.

After the installation is complete, the following message is displayed:

The username and password of DirectAdmin and the management background address of DirectAdmin.

Generally, OpenVZ-based VPS must be enabled before use by/usr/local/directadmin/conf/directadmin. in the conf file, check that the value of ethernet_dev is changed to: venet0: 0. The ifconfig parameter is used.

Run: service directadmin restart to restart DirectAdmin and Use http: // IP: 2222 to log on to the DirectAdmin background.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.