Install Domain Technologie Control

November 24, 2009 · Posted in Linux, PHP 

dtc_logoDomain Technologie Control (DTC) adalah Open source (GPL) Web hosting control panel berbasis php yang memudahkan untuk membuat sebuah hosting administrasi web, ftp, Domain, dan lain lain.

Installasi DTC buat Distro CentOs :

  • Set Hostname
    • hostname mx.example.com
  • Matikan SeLinux
    • system-config-securitylevel

  • Buat Yum repo untuk melakukan installasi DTC
    • touch /etc/yum.repos.d/gplhost.repo
    • echo “[gplhost-archspecific]” > /etc/yum.repos.d/gplhost.repo
    • echo “name=GPLHost (architecture-specific)” >> /etc/yum.repos.d/gplhost.repo
    • echo “baseurl=ftp://ftparchive.gplhost.com/yum/centos/$releasever/RPMS/$basearch/” >> /etc/yum.repos.d/gplhost.repo
    • echo “gpgcheck=1″ >> /etc/yum.repos.d/gplhost.repo
    • echo “enabled=1″ >> /etc/yum.repos.d/gplhost.repo
    • echo “gpgkey=ftp://ftp.gplhost.com/yum/RPM-GPG-KEY” >> /etc/yum.repos.d/gplhost.repo
    • echo “[gplhost-noarch]” >> /etc/yum.repos.d/gplhost.repo
    • echo “name=GPLHost (architecture-independent)” >> /etc/yum.repos.d/gplhost.repo
    • echo “baseurl=ftp://ftparchive.gplhost.com/yum/centos/$releasever/RPMS/noarch/” >> /etc/yum.repos.d/gplhost.repo
    • echo “gpgcheck=1″ >> /etc/yum.repos.d/gplhost.repo
    • echo “gpgkey=ftp://ftp.gplhost.com/yum/RPM-GPG-KEY” >> /etc/yum.repos.d/gplhost.repo
  • Install RPM Forege Yum Repositoris
    • 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
    • yum install dtc-postfix-courier
  • Set Mysql.conf
    • echo “connect_timeout=300″ >> /etc/my.cnf
    • echo “wait_timeout=1800″ >> /etc/my.cnf
  • Start Service Mysql
    • /sbin/service mysqld start
  • Set Password Mysql
    • /usr/bin/mysqladmin -u root password 'Password Mysql'
  • Jalankan Service Yang diperlukan oleh DTC
    • service httpd start
    • service crond start
    • service postfix start
    • service clamd start
    • service amavisd start
    • service mysqld start
    • service courier-authlib start
    • service courier-imap start
    • service dkimproxy start
    • service pure-ftpd start
    • service spamassassin start
    • service saslauthd start
  • Set Auto Start untuk service yang di perlukan oleh DTC
    • chkconfig –levels 235 httpd on
    • chkconfig –levels 235 crond on
    • chkconfig –levels 235 postfix on
    • chkconfig –levels 235 clamd on
    • chkconfig –levels 235 amavisd on
    • chkconfig –levels 235 mysqld on
    • chkconfig –levels 235 courier-authlib on
    • chkconfig –levels 235 courier-imap on
    • chkconfig –levels 235 dkimproxy on
    • chkconfig –levels 235 pure-ftpd on
    • chkconfig –levels 235 spamassassin on
    • chkconfig –levels 235 saslauthd on
  • Configure DTC
    • /usr/share/dtc/admin/install/install
  • Share/Bookmark

Comments

2 Responses to “Install Domain Technologie Control”

  1. [...] DTC [...]

  2. [...] DTC [...]

Leave a Reply