root

Leader IT/Architect
Dec 31, 2012
1,153
72
48

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


Sentora là một control panel mã nguồn mở miễn phí để bạn quản ký web hosting. Sentora được phát triển cho các máy chủ, VPS… chạy hệ diều hành Linux, Unix và BSD. Sử dụng Sentora giúp bạn sử dụng VPS được dễ dàng, trực quan hơn.

Sentora có thể được xem là hậu duệ của zPanel lừng danh một thời vì sau khi bán zPanel lại cho HostWinds thì những nhà phát triển cũ của zPanel đã tiến hành tạo ra một sản phẩm mới nổi trội hơn về cả giao diện và chức năng cùng khả năng tương thích đa dạng. Và dường như HostWinds không quan tâm nhiều đến zPanel nên đã không được cập nhật thường xuyên và ẩn chứa rất nhiều lỗi. Hiện nay nó được phát triển rất chậm và chứa rất nhiều bug sau khi bị thâu tóm bởi HostWinds. Vì vậy các bạn không nên sử dụng Zpanel nữa mà hãy chuyển sang sử dụng Sentora nhé.

Các chức năng chính:
  • Được thiết kế dành cho việc tạo ra nhiều gói host nhỏ, bạn có thể tạo host cho khách.
  • Quản lý giới hạn các tính năng trên từng user.
  • Hỗ trợ API để kết nối với dịch vụ thứ ba, như các công cụ quản trị billing như WHMCS.
  • Hỗ trợ module trả phí thêm để gia cường tính năng.
  • Hỗ trợ tạo tài khoản Reseller. Tài khoản Reseller không phải là tài khoản Admin nhưng họ có thể tạo ra nhiều gói host nhỏ khác.
  • Dễ dàng tùy biến giao diện của control panel.
Công nghệ sử dụng:
  • Apache Webserver – Webserver thông dụng nhất.
  • PHP – Yeah, bạn không thể chạy WordPress hay các script PHP nếu thiếu nó.
  • ProFTP – Tạo FTP Server.
  • MySQL/MariaDB – Hệ quản trị cơ sở dữ liệu SQL.
  • Postfix – Cấu hình Email Server.
  • phpMyAdmin – Quản lý database.
  • DoveCot – Tạo IMAP Server.
Bài viết này sẽ hướng dẫn bạn cách cài đặt Sentora trên CentOS 7

- Bước 1: update system trên CentOS 7 trước khi tiến hành cài Sentora.

Code:
[root@centos7 ~]# yum -y update

Install Sentora on CentOS 7(1)


- Bước 2: cài đặt công cụ “wget” để download các file cài đặt Sentora.

Code:
[root@centos7 ~]# yum install wget -y

Install Sentora on CentOS 7(2)

ADD EPEL REPO trên Centos 7 để tránh bị lỗi proftpd khi cài đặt Sentora

Code:
## RHEL/CentOS 7 64-Bit ##
[root@centos7 ~]# wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
[root@centos7 ~]# rpm -ivh epel-release-latest-7.noarch.rpm

- Bước 3: Download source install Sentora trên CentOS 7
Sau đó các bạn sử dụng công cụ “wget” mà các bạn vừa cài đặt trên CentOS 7 để tiến hành download source install Sentora nhé.

Code:
[root@centos7 ~]# wget http://sentora.org/install

[root@centos7 ~]# chmod +x install


Install Sentora on CentOS 7(3)


- Bước 4: Tiến hành cài đặt Sentora bằng script. Các bạn thực hiện cấy hình các thông số như trong script yêu cầu nhé.

[root@centos7 ~]# ./install

Loading mirror speeds from cached hostfile
* base: mirrors.vonline.vn
* extras: mirrors.viethosting.com
* updates: mirrors.viethosting.com
No packages marked for update
Package wget-1.14-13.el7.x86_64 already installed and latest version
Preparing to select timezone, please wait a few seconds...
Package tzdata-2016j-1.el7.noarch already installed and latest version
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.

1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.

#? 5

Please select a country.

1) Afghanistan 18) Israel 35) Palestine
2) Armenia 19) Japan 36) Philippines
3) Azerbaijan 20) Jordan 37) Qatar
4) Bahrain 21) Kazakhstan 38) Russia
5) Bangladesh 22) Korea (North) 39) Saudi Arabia
6) Bhutan 23) Korea (South) 40) Singapore
7) Brunei 24) Kuwait 41) Sri Lanka
8) Cambodia 25) Kyrgyzstan 42) Syria
9) China 26) Laos 43) Taiwan
10) Cyprus 27) Lebanon 44) Tajikistan
11) East Timor 28) Macau 45) Thailand
12) Georgia 29) Malaysia 46) Turkmenistan
13) Hong Kong 30) Mongolia 47) United Arab Emirates
14) India 31) Myanmar (Burma) 48) Uzbekistan
15) Indonesia 32) Nepal 49) Vietnam
16) Iran 33) Oman 50) Yemen
17) Iraq 34) Pakistan

#? 49


The following information has been given:

Vietnam

Therefore TZ='Asia/Ho_Chi_Minh' will be used.
Local time is now: Mon Feb 27 23:05:04 ICT 2017.
Universal Time is now: Mon Feb 27 16:05:04 UTC 2017.
Is the above information OK?

1) Yes
2) No

#? 1

You can make this change permanent for yourself by appending the line
TZ='Asia/Ho_Chi_Minh'; export TZ
to the file '.profile' in your home directory; then log out and log in again.

Here is that TZ value again, this time on standard output so that you

can use the /usr/bin/tzselect command in shell scripts:

Asia/Ho_Chi_Minh

=== Informations required to build your server ===

The installer requires 2 pieces of information:

1) the sub-domain that you want to use to access Sentora panel,

- do not use your main domain (like domain.com)

- use a sub-domain, e.g panel.domain.com

- or use the server hostname, e.g server1.domain.com

- DNS must already be configured and pointing to the server IP

for this sub-domain

2) The public IP of the server.

Enter the sub-domain you want to access Sentora panel: sentora1.svuit.vn

The public IP of the server is 118.109.210.147. Its local IP is 10.123.10.150

For a production server, the PUBLIC IP must be used.

Enter (or confirm) the public IP for this server: 118.109.210.147


WARNING: sentora1.svuit.vn is not defined in your DNS!

You must add records in your DNS manager (and then wait until propagation is done).

For more information, read the Sentora documentation:

- http://docs.sentora.org/index.php?node=7 (Installing Sentora)

- http://docs.sentora.org/index.php?node=51 (Installer questions)

If this is a production installation, set the DNS up as soon as possible.


There are some warnings...

Are you really sure that you want to setup Sentora with these parameters?

(y):Accept and install, (n):Change domain or IP, (q):Quit installer? y

Installer version 1.0.3

Sentora core version 1.0.0

Sentora preconf version 1.0.3


Install Sentora on CentOS 7(4)



Như bạn đã thấy chúng ta đã hoàn thành việc cấu hình Sentora trên CentOS 7. Và đây là các thông tin username, password mà bạn cần phải lưu lại để có thể login vào Sentora và MySQL đã được cài trên CentOS 7. Những Username và password này được hệ thống sinh ra ngẫu nhiên khi bạn thực hiện cài đặt Sentora.

Sau khi cài đặt Sentora trên CentOS 7 xong. Hệ thống sẽ yêu cầu bạn phải thực hiện reboot lại hệ thống


Install Sentora on CentOS 7(5)



Các bạn thực hiện login vào Sentora bằng địa chỉ IP hoặc Domain name và username, password được cung cấp ở hình trên,


Install Sentora on CentOS 7(6)



Đây là giao diện Control Panel của Sentora dùng để quản lý Web Hosting mà chúng ta vừa cài đặt xong.


Install Sentora on CentOS 7(7)


Tham khảo thêm bài lab cài đặt Kloxo làm web Hosting
 
Last edited:

About us

  • Securityzone.vn là một trang web chuyên về an ninh mạng và công nghệ thông tin. Trang web này cung cấp các bài viết, tin tức, video, diễn đàn và các dịch vụ liên quan đến lĩnh vực này. Securityzone.vn là một trong những cộng đồng IT lớn và uy tín tại Việt Nam, thu hút nhiều người quan tâm và tham gia. Securityzone.vn cũng là nơi để các chuyên gia, nhà nghiên cứu, sinh viên và người yêu thích an ninh mạng có thể trao đổi, học hỏi và chia sẻ kiến thức, kinh nghiệm và giải pháp về các vấn đề bảo mật trong thời đại số.

Quick Navigation

User Menu