• Về minhduy.vn
  • Đăng ký Hosting
  • Thiết kế Website
  • Khuyến mãi HOT
Hướng Dẫn Sử Dụng Dịch Vụ - Minh Duy Solutions
  • Trang chủ
  • Hosting
    • Hướng dẫn Hosting cPanel
    • Hướng dẫn Hosting DirectAdmin
  • Tên miền
  • Website
    • Hướng dẫn WordPress
    • Hướng dẫn Webmaster
  • Email Doanh Nghiệp
    • Office 365
    • Google Work Space
    • Email Zimbra
  • VPS – Máy chủ
    • Hướng dẫn Linux
    • Hướng dẫn DirectAdmin
  • Hướng dẫn chung
  • Góc ICT
No Result
View All Result
  • Trang chủ
  • Hosting
    • Hướng dẫn Hosting cPanel
    • Hướng dẫn Hosting DirectAdmin
  • Tên miền
  • Website
    • Hướng dẫn WordPress
    • Hướng dẫn Webmaster
  • Email Doanh Nghiệp
    • Office 365
    • Google Work Space
    • Email Zimbra
  • VPS – Máy chủ
    • Hướng dẫn Linux
    • Hướng dẫn DirectAdmin
  • Hướng dẫn chung
  • Góc ICT
No Result
View All Result
Hướng Dẫn Sử Dụng Dịch Vụ - Minh Duy Solutions
No Result
View All Result
Home Hướng dẫn máy chủ Hướng dẫn DirectAdmin

Hướng dẫn cài đặt DirectAdmin trên CentOS 7

Minh Duy Solutions by Minh Duy Solutions
22/09/2021
Reading Time: 4 mins read
147 4
A A
0
469
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter

1. Update các bản vá mới nhất cho hệ thống

[root@VPS-iNET ~]# yum update -y

2. Tải bản cài đặt từ Direct Admin

[root@VPS-iNET ~]# wget http://www.directadmin.com/setup.sh
–2016-06-11 03:03:52–  http://www.directadmin.com/setup.sh
Resolving www.directadmin.com (www.directadmin.com)… 216.144.255.179
Connecting to www.directadmin.com (www.directadmin.com)|216.144.255.179|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 46879 (46K) [application/x-sh]
Saving to: ‘setup.sh’

100%[=========================================================>] 46,879       109KB/s   in 0.4s

2016-06-11 03:03:53 (109 KB/s) – ‘setup.sh’ saved [46879/46879]

3. Phân quyền cho file cài đặt

[root@VPS-iNET ~]# chmod 755 setup.sh

4. Chạy file setup.sh để bắt đầu cài đặt.

[root@VPS-iNET ~]# ./setup.sh
*** 64-bit OS ***

*****************************************************
*
* DirectAdmin requires certain packages, described here:
*   http://help.directadmin.com/item.php?id=354
*
Would you like to install these required pre-install packages? (y/n): y <= Nhập y và Enter
*
* Installing pre-install packages ….
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.readyspace.com
 * extras: centos.usonyx.net
 * updates: mirror.readyspace.com
Package wget-1.14-10.el7_0.1.x86_64 already installed and latest version
Package gcc-4.8.5-4.el7.x86_64 already installed and latest version
Package gcc-c++-4.8.5-4.el7.x86_64 already installed and latest version
Package flex-2.5.37-3.el7.x86_64 already installed and latest version
Package bison-2.7-4.el7.x86_64 already installed and latest version
Package 1:make-3.82-21.el7.x86_64 already installed and latest version

…

Nothing to do
*
*****************************************************

Please enter your Client ID :      <= Nhập Client ID và Enter
Please enter your License ID :     <= Nhập 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): minhduy.solutions    <= Nhập hostname
Client ID:  
License ID: 
Hostname: minhduy.solutions
Is this correct? (y,n) : y    <= Nhập y và Enter
The following ethernet devices/IPs were found. Please enter the name of the device you wish to use:

eth0       xxx.xxx.xxx.xxx

Enter the device name: eth0  <= Nhập card mạng mong muốn trong trường hợp máy chủ có nhiều card mạng và Enter
Your external IP: xxx.xxx.xxx.xxx
The external IP should typically match your license IP.

Is xxx.xxx.xxx.xxx the IP in your license? (y,n) : y  <= Nhập y và Enter

DirectAdmin will now be installed on: Enterprise 7.2
Is this correct? (must match license) (y,n) : y    <= Nhập y và Enter
You have chosen custombuild 2.0.
–2016-06-11 03:42:52–  http://files.directadmin.com/services/custombuild/2.0/custombuild/build
Resolving files.directadmin.com (files.directadmin.com)… 69.162.69.58, 208.167.226.3, 216.144.254.90
Connecting to files.directadmin.com (files.directadmin.com)|69.162.69.58|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 639078 (624K)
Saving to: ‘/usr/local/directadmin/custombuild/build’

100%[============================================================>] 639,078      468KB/s   in 1.3s

2019-5-9 03:42:54 (468 KB/s) – ‘/usr/local/directadmin/custombuild/build’ saved [639078/639078]

Would you like the default settings of apache 2.4 with mod_ruid2 and php 5.5 cli? (y/n): y  <= Nhập y và Enter
Using the default settings for custombuild.
Would you like to search for the fastest download mirror? (y/n): y  <= Nhập y và Enter
Testing with file 10.kb:
144703488 B/s   – files2.directadmin.com
93323264 B/s    – files4.directadmin.com
93637836 B/s    – files6.directadmin.com
28467 B/s       – files7.directadmin.com
232783872 B/s   – files8.directadmin.com
180355072 B/s   – files9.directadmin.com
133169152 B/s   – files10.directadmin.com

Tiến trình cài đặt bắt đầu, bạn vui lòng chờ 30 phút để hệ thống tự động cài đặt, cho đến khi nhận đươc thông báo như bên dưới là thành công, bạn lưu lại các thông tin quan trọng :

The following information has been set:

Admin username:   admin
Admin password:   MvXSnaFVSs
Admin email:      admin@vps.inet.vn

Server IP: xxx.xxx.xxx.xxx
Server Hostname: minhduy.solutions

To login now, follow this link:

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

5. Mở các port trên Firewall để chạy các dịch vụ HTTPD; FTP; Mail …v…v

[root@VPS-iNET  ~]# firewall-cmd –permanent –add-port=2222/tcp

[root@VPS-iNET ~]# firewall-cmd –permanent –add-port=21/tcp

[root@VPS-iNET ~]# firewall-cmd –permanent –add-port=25/tcp

[root@VPS-iNET ~]# firewall-cmd –permanent –add-port=80/tcp

…v…v

Khi add xong các port thì reload lại firewall:

[root@VPS-iNET ~]# firewall-cmd –reload

6. Tiến hành đăng nhập thử:

vbvnvnvn

Giao diện đăng nhập thành công:

DA

Chúc bạn thực hiện thành công!

4.7/5 - (1098 bình chọn)
Tags: DirectAdmin
Share188Tweet117
Minh Duy Solutions

Minh Duy Solutions

Bài viết liên quan

huong dan xoa clamav tren vps directadmin 4417
Hướng dẫn DirectAdmin

Hướng dẫn xóa ClamAV Trên VPS DirectAdmin

07/11/2024
1.5k
huong dan cai dat modsecurity tren directadmin 4221 1
Hướng dẫn DirectAdmin

Hướng dẫn cài đặt ModSecurity trên Directadmin

25/05/2024
1.7k
csf firewall
Hướng dẫn DirectAdmin

Cài đặt CSF lên DirectAdmin

28/05/2023
1.6k
sua loi domain is already processing an ssl request tren directadmin 3758 1
Hướng dẫn DirectAdmin

Sửa lỗi Domain is already processing an SSL request trên DirectAdmin

31/03/2023
1.8k
df4857f61b8f21529a251a29271076cd
Hướng dẫn DirectAdmin

Hướng dẫn cài đặt NGINX + Apache trên Directadmin

02/10/2022
1.7k
1641eb63aaf5c390fc85beee96e21122
Hướng dẫn DirectAdmin

Hướng dẫn cài đặt OpenLiteSpeed trên VPS sử dụng DirectAdmin

02/10/2022
1.8k

Để lại một bình luận Hủy

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

No Result
View All Result

Recommended.

server room web site hosting clo

Tối ưu hóa tốc độ MySQL trên DirectAdmin

19/11/2021
1.6k
cPanel vs DirectAdmin

Hướng dẫn di chuyển DirectAdmin sang cPanel

14/07/2022
1.8k

Trending.

outlook là gì

Tạo rules trên Microsoft Outlook

29/05/2026
1.5k
outlook la gi cach cai dat va su dung outlook cho nguoi moi bat dau

Thay đổi thời gian cập nhật gửi nhận Email mới trên Outlook

29/05/2026
1.5k
cach tai toan bo email tren gmail ve may tinh de luu tru 4763

Cách tải toàn bộ email trên Gmail về máy tính để lưu trữ

10/04/2026
1.5k
Tên miền website là gì?

Vòng đời tên miền Việt Nam và Quốc Tế cập nhật năm 2026

07/04/2026
1.5k
binhluan

Cách ẩn comment trên Fanpage để tránh bị cướp khách hàng

09/12/2025
1.5k
Wiki Minh Duy Solutions

WIKI.MINHDUY.VN

Chuyên trang hướng dẫn sử dụng dịch vụ của Minh Duy Solutions

DMCA.com Protection Status

Danh mục

  • GSuite
  • aaPanel
  • Góc ICT
  • Thiết Kế Đồ Hoạ
  • SEO
  • Hướng dẫn WHMCS
  • Hướng dẫn WordPress
  • Email Zimbra
  • Hướng dẫn DirectAdmin
  • Hướng dẫn Hosting cPanel
  • Hướng dẫn Hosting
  • Office 365
  • Hướng dẫn Website
  • Hướng dẫn Linux
  • Hướng dẫn Hosting DirectAdmin
  • Google Work Space
  • Hướng dẫn Webmaster
  • Hướng dẫn máy chủ
  • Hướng dẫn Email Doanh Nghiệp
  • Hướng dẫn Tên miền
  • Hướng dẫn chung
  • Uncategorized

Thẻ

AFC apt-get update apt-get upgrade category chủ thể cPanel debian DirectAdmin email doanh nghiệp Environment Variables giải nén Google Workspace G Suite hosting ioncube khôi phục mật khẩu linux nginx nmap nodejs npm Office 365 OneDrive Outlook out of memory path Paypal phpmyadmin SMTP. GMail SSH sudo swap Symbolic Link tar tar.gz thông báo tên miền tên miền ubuntu user whois WooCommerce WordPress wordpress cơ bản wp rocket Zimbra
  • Về minhduy.vn
  • Đăng ký Hosting
  • Thiết kế Website
  • Khuyến mãi HOT

Copyright © Hướng dẫn Minh Duy Solutions

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
×
    No Result
    View All Result
    • Trang chủ
    • Hosting
      • Hướng dẫn Hosting cPanel
      • Hướng dẫn Hosting DirectAdmin
    • Tên miền
    • Website
      • Hướng dẫn WordPress
      • Hướng dẫn Webmaster
    • Email Doanh Nghiệp
      • Office 365
      • Google Work Space
      • Email Zimbra
    • VPS – Máy chủ
      • Hướng dẫn Linux
      • Hướng dẫn DirectAdmin
    • Hướng dẫn chung
    • Góc ICT

    Copyright © Hướng dẫn Minh Duy Solutions