Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install commercial host control panel DTC in CentOS

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install the commercial mainframe control panel DTC in CentOS, I believe that many inexperienced people do not know what to do about it. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

What is DTC?

Domain Technologie Control (DTC) is a control panel for commercial hosts. Administrators use a Web graphical user interface to manage all host services. DTC can authorize users to create subdomains, emails, ssh, databases, mailing lists and FTP accounts for their own domain names.

DTC manages a MySQL database containing all host information and configures your server's services and applications to provide virtual hosting services for users (DTC is compatible with most programs). It can also connect to dtc-xen to manage and monitor VPS usage, provide general billing services (including billing for stand-alone servers), integrate service records, and so on.

DTC can also be just a control panel for a variety of systems, because it is configured with only available software packages on it, even better than commercial solutions.

In short, if you use a website, DNS,FTP or email host, DTC is a necessary hosting software for your daily server management.

DTC compatible software

Website service

Apache-Web server

Mod-log-sql-Server log (special real-time bandwidth version)

PHP-run the php script

Sbox-wraps CGI scripts (including perl services)

Webalizer-Web statistics

Awstat-Web statistics

Visitors-Web statistics

Mail service

QMail-MTA (Mail transfer Agent)

Postfix-MTA (Mail transfer Agent)

Cyrus-send, store, POP3 and IMAP

Dovecot-POP3 and IMAP4 servers

Courier pop, imap & maildrop-MTA (Mail transfer Agent)

Amavis-email virus scanning software

Clamav-antivirus email scanning softwar

SpamAssassin-Anti-Spam scanning Software

MLMMJ-mailing list Manager

MHonArc-mailing list Archive

Other services

ISC Bind 8 or 9-DNS Server

MySQL-Database server

ProFTPD-Ftp server

Pure-ftpd-Ftp server

Tucows OpenSRS-API registration

NCFTP (ncftput)-Ftp upload (mostly used in network backup)

NSSMysql-provides SSH access for virtual hosts

Paypal-payment Gateway

ENETS-payment Gateway

Maxmind-Anti-Fraud Service

Virtualization technology

Xen-virtual machine

Install DTC

1. Set up RPMForge software library

32-bit system

The code is as follows:

# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

# rpm-ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

64-bit system

The code is as follows:

# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

# rpm-ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Update the system

The code is as follows:

# yum update

2. Set up DTC software library

The code is as follows:

# vi / etc/yum.repos.d/gplhost.repo

Add the following code

The code is as follows:

[gplhost-archspecific]

Name=GPLHost (architecture-specific)

# baseurl= ftp://ftparchive.gplhost.com/yum/centos/$releasever/RPMS/$basearch/

Mirrorlist= http://ftparchive.gplhost.com/yum/centos/$releasever/RPMS/$basearch/mirrorlist

Gpgcheck=1

Enabled=1

Gpgkey= ftp://ftp.gplhost.com/yum/RPM-GPG-KEY

[gplhost-noarch]

Name=GPLHost (architecture-independent)

# baseurl= ftp://ftparchive.gplhost.com/yum/centos/$releasever/RPMS/noarch/

Mirrorlist= http://ftparchive.gplhost.com/yum/centos/$releasever/RPMS/noarch/mirrorlist

Gpgcheck=1

Enabled=1

Gpgkey= ftp://ftp.gplhost.com/yum/RPM-GPG-KEY

3. Install DTC

The code is as follows:

# yum install dtc-postfix-courier

Or

The code is as follows:

# yum install dtc-core

Depending on how many dependent services you want to install. Dtc-core is designed to install fewer possible dependent services, so you only have one working environment: a Web server and no other mail systems. Dtc-postfix-courier is installed when you want to use all the packages supported by DTC.

4. Fully qualified hostname

Set a qualified hostname for your server (like www.centos.bz), check whether it has been set (check using the hostname command), if not, go to / etc/sysconfig/network to modify it, and then go to / etc/hosts setting to resolve IP.

5. SELinux and Firewall

Use the command system-config-securitylevel (if you cannot find this command, use yum install system-config-securitylevel installation) to turn off SELinux and firewall

6. MySQL security settings

The code is as follows:

# vi / etc/my.cnf

Change to the following settings:

The code is as follows:

Connect_timeout=300

Wait_timeout=1800

Start MySQL

/ sbin/service mysqld start

Set MySQL password

/ usr/bin/mysqladmin-u root password' replace-me-with-a-secure-password'

7. Start all programs

The code is as follows:

Service httpd start

Service crond start

Service postfix start

Service clamd start

Service amavisd start

Service rsyslog start

Service mysqld start

Service courier-authlib start

Service courier-imap start

Service dkimproxy start

Service pure-ftpd start

Sa-update

Service spamassassin start

Service saslauthd start

8. DTC configuration

To / etc/php.ini, set the installation mode (safe mode) to off.

Then execute the command to configure DTC

The code is as follows:

/ usr/share/dtc/admin/install/install

Start httpd

Service httpd start

Some adjustments.

1. Squirrelmail error correction

/ usr/share/squirrelmail/config/conf.pl

Type the D letter, select courier, and execute the following command:

Chown dtc / etc/squirrelmail/*

If you see the following error in Squirrelmail:

ERROR: Could not complete request.

Query: CREATE "Sent"

Reason Given: Invalid mailbox name.

You need to comment some code in / etc/squirrelmail/config_local.php, as follows:

# $default_folder_prefix ='.'

2. Pure-FTPd cannot be started

Because you are using yum to install Pure-FTPd, you may not be able to start for some reason, so delete pure-ftpd first:

Yum remove pure-ftpd

Recompile and install pure-ftpd. Refer to: CentOS source code compilation and installation of Pure-FTPd

After reading the above, have you mastered how to install the commercial host control panel DTC in CentOS? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report