This action might not be possible to undo. Are you sure you want to continue?
Kefa Rabah.globalopenversity.globalopenversity. Vancouver Canada krabah@globalopenversity. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1.org EBT200 – Web Hosting Solutions Administration Training . STEP-BY-STEP INSTALL GUIDE DTC GPLHOST WEB HOSTING CONTROL PANEL ON LINUX CENTOS 5 SERVER 3 Introduction Part 1: Install CentOS 5 Part 2: Post Installation Configurations.org Table of Contents Page No.org www. Global Open Versity.0 Global Open Versity IT Enterprise Architecture Hands-on Labs Training Manual Step-By-Step Install Guide DTC GPLHost Web Hosting Control Panel on Linux CentOS 5 Server Kefa Rabah Global Open Versity. Vancouver Canada 3 4 4 4 4 5 5 6 6 7 7 7 8 8 9 16 17 20 21 22 23 23 26 26 28 29 30 1 www. Step 1: Perform System Upgrade Step 2: Modify the Hosts file Part 3: Install DNS Server Part 4: Pre-requisite Setup Part 5: Detailed setup of DTC Step 1: Settin g up the RPMForge repository Step 2: Setting up the DTC repository Step 3: Insta lling DTC Step 4: Fully-qualified host name Step 5: SELinux and firewall Step 6: MySQL security Step 7: DTC configuration Step 8: Setup Services & Product List Step 9: Create New Account Step 10: Server Monitoring Part 6: Configure Squirrel Mail Webmail Step 1: Install Mail Transport Agent Switcher (MTAS) Step 2: Switch to Postfix from Sendmail Step 3: Configure SquirrelMail to Work with Courier-IM AP Part 7: Configure Mail on DTC Step 1: Set up mail Step 2: Adding Database Ste p 3: Login to your mailbox Step 4: Changing Account Settings © April 2007.Global Open Versity.
org EBT200 – Web Hosting Solutions Administration Training .0 Part 8: Install Firewall Part 9: Need More Training on Linux: Web Hosting Soluti ons Administration Training Part 10: Hands-on Lab Assignments 30 31 31 31 A GOV Open Knowledge Access Technical Academic Publications Enhancing education & empowering people worldwide through eLearning in the 21st Century © April 2007.globalopenversity. Vancouver Canada 2 www.Global Open Versity. Global Open Versity. Kefa Rabah. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1.
mod-log-sql.. krabah@globalopenversity. and more. UID or GID. And the beauty is CentOS is free. I n this Hands-on Labs session. free and open source operating system ba sed on Red Hat Enterprise Linux. Courier. Ubuntu (since 2008) and FreeBSD Using a web GUI for the administration and accounting all hosting services. subdomains.conf files. I t also connects to dtc-xen to manage and monitor the usage of Virtual Private Se rvers (VPS). database. It is fully skinnable and translated in to several languages. modify hosts & resolv. DTC can delegate the tas k of creating subdomains. Apache. Global Open Versity.Global Open Versity. and FTP accounts to users for the domain names they own. Moreover. DTC is fully open source (LGPL). You’ll also learn how to perform po st-installation configuration of CentOS5 e. and monitors traffic ( per user and per service) using a single system. Next. ProFTPd. CentOS stands for "Community ENTerprise Operating System".globalopenversity. DTC itsel f manages its own MySQL database to store its setup configuration. Postfix. Also integrated int o DTC are the support ticket system and customizable HTTP error pages. ssh. Domain Technologie Control (DTC) is a web-based control pa nel aimed at providing a graphics-oriented layout for managing commercial hostin g of web servers. Solution In this Hands-on Labs. perform ping test among others. and users. © April 2007. change the compu ter hostname. domain purchasing. and MySQL databases to the end users under controllable quota for the web sites that these users own. DTC is also the first web hosting control panel that has reached inclusion in major distributions like De bian (since Lenny in 2009). intended for shared web hosting servers. It exists to provide a free enterprise class co mputing platform and strives to maintain 100% binary compatibility with its upst ream distribution. and dedicated servers. DTC also maint ains the automation of billing. Vancouver Canada 3 www. SSH.0 Global Open Versity IT Enterprise Architecture Hands-on Labs Training Manual Step-By-Step Install Guide DTC GPLHost Web Hosting Control Panel on Linux CentOS 5 Server By Kefa Rabah.1 license. Ce ntOS is the perfect server for people who need an enterprise class operating sys tem stability without the cost of certification and support and pocket burning b aggage that comes with proprietary software. web hosting p lans. 2010 GTS Institute Introduction Linux CentOS5 is a community-supported. mailing lists. Domain Technologie Control all ows the administrator to create web hosting plans that provide e-mail and FTP ac counts.org EBT200 – Web Hosting Solutions Administration Training . ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1.org June 27. PHP . you will learn how to install CentOS5 and prepare it for the installation of DTC GPLHost Control Panel. qmail. virtual private serve rs (VPSes). generates backup scripts. Webalizer. Dovecot. email. Domain Technologie Control is free software r eleased under the GNU LGPL v2. configure static IP address from dynamic one.g. It has support for many other free software: MySQL. Kefa Rabah. we’re going to install DTC GPLHost Control Panel on Linux CentOS5 server. upgrade the system with new patch es and bug fixes.
entitled “Install Configure and Upgrade Linux Ce ntOS5 Server v1. But you can also use the open source VirtualBox from Oracle etc. 3. Click Application -> Accessories and the selec t Terminal 2. Part 1: Install CentOS 5 Assumptions: 1. Kefa Rabah. per form the following procedures: 1.org EBT200 – Web Hosting Solutions Administration Training . Upon completion of th is lab session you should have gained a capability and expertise level to instal l and maintain DTC GPLHost Control Panel. 2. very important for DNS server. It’s also assumed that you know how to install and configu re Linux CentOS5. from the Terminal window issue the command: [root@mx ~]# gedit /e tc/hosts 4 © April 2007.globalopenversity.0 you will learn how to install DTC on Linux CentOS5 server. which you can use to manage your hosti ng solutions. In this step we want to modi fy the hosts file to reflect our new "Fully Qualified Hostname" and IP address. if not go ahead and pop over to scribd. issue the command "yum install update –y". In the next section. 2. Part 2: Post Installation Configurations. 3. Step 2: Modify t he Hosts file 1.1” to get you started. we’re going to perform other post-installation work like system upgrade and etc. It’s assumed that you have a good understanding of Linux operating system and i ts working environment. You’re now down w ith system update. To do this. From Terminal window. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1.Global Open Versity. it’s important to always perform systems upgrade after initial installation is completed. To do this. Vancouver Canada www. Once you’re done with the installation th en verify that your hosts file is set correctly. Step 1: Perform System Upgrade For best practices in IT. 3. Global Open Versity. The entire lab training was performed on VMware. Thi s enables the system to get the latest patches and bug fixes.com and check out or ex cellent hands-on training manual. It’s also assumed that you have a good und erstanding of MySQL database. It’s assumed that you know how to install CentOS5 using static IP address. In the next section we’re going to learn how to change NIC adap ter configuration from dynamic IP address to static IP address.
com".10 5.1. or various programs # that require network functionality will fail. 3.com ::1 localhost6.168.com 7.globalopenversity. entitled “Using Webmin and Bind9 to Setup DNS Server on Linux” to get you started. it’s important to note that DTC will configure DNS and all the hosting requirement s for you! Part 4: Pre-requisite Setup 1. Ensure that you have set the hostname. Kefa Rabah. 127. While here also note our hostname and IP address: server03. correctly. as this is the one that amavis will use: hostname --fqdn Note: It should return the fully qualified dom ain name of your mx server that should be something like "mx. if not. Vancouver Canada www.0 4. as follows: # hostname server03. Here we’re going to use Webmin and Bind9 to deploy DNS Server. then check out our excellent Hands-On Labs traini ng manual.com [root@mx ~]# ping dtc. in our case. Part 3: Install DNS Server In this section it’s assumed that you know how to install and configure a DNS Serv er on a Linux machine. if not you can issue the fo llowing command to setup your hostname for "server03. it’s as follows: # Do not remove the following l ine. For the final test.com server03 192. check that 5 © April 2007. to see if our hostname can return its own IP address: [root@mx ~]# ping server03.example.com 192. Similarly. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1.govholabs. issue the ping command.10 dtc.govholabs.govholabs.localdomain6 localhost6 6. or amavisd-new will complain about it and refuse to setup.1.govholabs. 2.10 server03.0. Global Open Versity.Global Open Versity.1 localhost.govholabs. Now check to ensure that you have a valid hostname entered.0 .localdomain localhost 192.com" (this is best option).1. Try this command.govholabs.com Note: change hostname to suit your needs.org EBT200 – Web Hosting Solutions Administration Training .168.govholabs.168. Check out /etc/hosts to ensure that you h ave a correct setup. We’re done with this section. However.
Part 5: Detailed setup of DTC So. Kefa Rabah. Vancouver Canada www.0 cat /etc/hosts returns something like: 192. Setting up DTC in Linux CentOS is a rather st raightforward procedure which should take thirty minutes tops: 1.com hostname -s gives only server03 hos tname -f gives the server03. Make sure the name matches your architecture (x86_64 or i386) and base system ( fc7. el5).globalopenversity. Set up the RPMForge repository (to pull several DTC dependencies) Set up the DTC repository Install DTC rpm Pre-configuration checklist DTC config uration Post-configuration adjustments Step 1: Setting up the RPMForge repository 1.com 5. First. At the time of writing this HOWTO. 7.com serve r03 Note: You make thins easier by installing DNS server.govholabs.govholabs. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1.org EBT200 – Web Hosting Solutions Administration Training . we need to set up the RPMFo rge repository on your machine. • • • hostname -d gives only govholabs. 4. the latest RP MForge RPM release for CentOS 5.10 server03. check that "uname -a" is returning the correct FQDN. make sure you execute yum upda te to get your system up to date with all the packages. 3.1..g.Global Open Versity.168. 5. fc8. el4. 6. You probably want to get the latest release so peruse the right package here. 2. e. 8. 3. Global Open Versity. Now check your hostname . 6 © April 2007.4 was: • • 32-bit Intel syystems 64-bit Intel system s 2. let s get on with the program. Once you ve installed it. Install your operating system (not covered in this HOWTO) but you can check it from here. Finally. You’re done wi th Installing and post configuration of CentOS5. 4.
com/yum/centos/$re leasever/RPMS/noarch/mirrorl ist gpgcheck=1 enabled=1 gpgkey=ftp://ftp. with mail content s canning.gplhost.repos.com/yum/RPM-GPG-KEY [gplhost-noarch] name=GPLH ost (architecture-independent) #baseurl=ftp://ftparchive. Some Linux distributions happily accept or default to a simple host nam e (like mx). The "dtc-core" aims a t installing the least possible dependencies. Global Open Versity.gplhost. Once you ve installed the RPMForge repo sitory. simply type: yum install dtc-postfix-courier or yum install dtc-core Note: this depends on how much dependencies you want to be installed.globalopenversity. no serious mail system. so that you just have a workable e nvironment: a web server..com/yum/centos/ $releasever/RPMS/noarch/ mirrorlist=http://ftparchive. Step 4: Fully-qualified host name 1.gplhost. Your machine must have a fully qualified ho st name.Global Open Versity.c om/yum/RPM-GPG-KEY 2. the "dtc-posfix-couri er" is when you want to use all supported packages from DTC. Use the setup tools in your machine to ensure this is the case. etc. However.com/yum/centos/$releasever/RPMS/$basearch/ mirrorlist=http://ftpar chive.com/yum/centos/$releasever/RPMS/$basearch/mirr orlist gpgcheck=1 e nabled=1 gpgkey=ftp://ftp. © April 2007. Kefa Rabah.org EBT200 – Web Hosting Solutions Administration Training . Make a note tha t the URLs have centos in them. That sets up yum to download DTC from our repository mirrors.0 Step 2: Setting up the DTC repository 1.gplhost. put the following file (name it "gplhost. Vancouver Canada 7 www.com"). ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1. Step 3: Installing DTC 1.repo") in "/etc/yum.example. and it’s the one we have installed. but in the future we ll be providing packages fo r Fedora too. while several daemons including SpamAssassin need a FQDN in the mac hine (like "mx.gplhost.d/": [gplhost-archspecific] name=GPLHost (architecture-specific) #baseurl=ftp://ftpar chive. Once you have both rpmforge and GPLHost s repository.gplhost.
If it doe sn t. then set "server03. Then check with "uname -a" that your server is current ly configured with the correct hostname. 3.you will need it in or der to setup DTC. You shall check that "/etc/sysconfig/network" has the correct FQDN. Then disable SELinux or set it t o permissive. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1. Starts all your daemons after the packages are installed se rvice httpd start service crond start service postfix start service clamd start service amavisd start service syslog start service mysqld start service courierauthlib start service courier-imap start service dkimproxy start service pure-ft pd start service spamassassin start service saslauthd start © April 2007.Global Open Versity.cnf"): connect_timeout=300 wait_timeout=1800 2. Use "system-config-securitylevel" to open the re quisite ports for the services you ll be using. Global Open Versity. then echo "SELinux is enabled" . and reboot.com" there. otherwise DTC configuration will fail and DTC won t be able to ope rate even after the configuration. The following will tell you if it s enable d or not: 1.govholabs. else echo "SELi nux is disabled" . if selinuxenabled. Kefa Rabah. fi Step 6: MySQL security 1.org EBT200 – Web Hosting Solutions Administration Training . It s advised to increase the timeout of MySQL as follo w (edit "/etc/my. 2.globalopenversity. Vancouver Canada 8 www. Step 5: SELinux and firewall 1. You shall also check that "/etc/hosts" has it. Start your MySQ L server with: /sbin/service mysqld start You’ll be asked to set an initial secure root password for it with: /usr/bin/mysqladmin -u root password replace-me-wit h-a-secure-password Warning! Write this password down -.0 2.
He is also the founde r of Global Open Versity. Fig.1 Kefa Rabah is the Founder of Global Technology Solutions Institute.com. The full document has moved to Docstoc. 1. Vancouver Canada 9 www. 4. like in Fig. a place to enhance your educating and career goals usi ng the latest innovations and technologies.ini" so that the cron job can do what it needs.org EBT200 – Web Hosting Solutions Administration Training . Global Open Versity.com/docs/50345601/Step-By-Step-Install-Guide-DTC-GPLHost-W eb-Hosting-ControlPanel-on-Linux ----------------------------------------------Step-By-Step Install Guide DTC GPLHost Web Hosting Control Panel on Linux v1. and Renewable Energy Systems. Follow the link below to access the full document. Before running DTC installation command. ICT Labs Install Guide DTC GPLHost on LinuxCentOS5 Server v1. 2. We’re done with this section. Information Security Compli ance and Project Management. set the safe mode to off in "/etc/php. Kefa Rabah. do ensure first that your NI C is set correctly.docstoc. You can access and download it from here: • OR http://www. 1 1.0 Note: you may need to separately install some of the service using yum utility. Kefa is know ledgeable in several fields of Science & Technology.Global Open Versity. © April 2007.globalopenversity. After the installation and daemon setup is complete . Step 7: DTC configuration 1.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.