33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

20

Transcript of 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

Page 1: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 1/19

Page 2: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 2/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

1

Global Open VersityIT System Integration Hands-on Labs Training Manual

Build your Own ISP Hosting using ISPConfigon Ubuntu 10.04 LTS Server

Kefa RabahGlobal Open Versity, Vancouver Canada

[email protected] www.globalopenversity.org

Table of Contents Page No.

BUILD YOUR OWN ISP HOSTING USING ISPCONFIG ON UBUNTU 10.04 LTS SERVER 2

1.0 Introduction 2

Part 1: Install & Configure Ubuntu 10.04 LTS Server 3 Step 1: Getting Started & Hardware Pre-requisites 3 Step 2: Update Ubuntu 10.04 Operating Systems 3 Step 3: Install Webmin 4

Part 2: Installing Additional Infrastructure Packages 6 Step 1: Install OpenSSH Package 6 Step 2: Change the Default Shell 7 Step 3: Disable AppArmor 7 Step 4: Install PHP5 and Apache (HTTP) Web Server 7

Part 3: Optional Configuration Tasks 8 Step 1: Configure Network Interface to Static IP Address 8

Part 4: Install DNS Server 10

Part 5: Install Pre-Requisite Packages for ISPConfig 14 Step 1: Install Postfix, Courier, MySQL, Saslauthd, rkhunter, binutils 14 Step 2: Modify MySQL myc.cnf file 19 Step 3: Modify SSL Certificate Hostname Configuration 20 Step 4: Install Amavisd-new, SpamAssassin, and ClamAV 21 Step 5: Install Apache2, PHP5, phpMyAdmin, FCGI, suExec, Pear, and mcrypt 22 Step 6: Install PureFTPd and Quota 23 Step 7: Install Vlogger and Webalizer 24 Step 8: Install Jailkit 25 Step 9: Install fail2ban 26 Step 10: Install SquirrelMail 26

Part 6: Install ISPConfig 27

Part 7: Need More Training on Linux: 34 Ubuntu Server Administration Training 34

Part 8: Hands-on Labs Assignments 35

Linux Administration Training 35

Page 3: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 3/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

2

Global Open Versity

IT Systems Integration Hands-on Labs Training Manual

Build your own ISP Hosting using ISPConfig

on Ubuntu 10.04 LTS Server By Kefa Rabah, [email protected] June 21, 2010 GTI Institute

1.0 Introduction

In this Hands-on Labs session, we’re going to learn how to install and configure the Linux Ubuntu 10.04LTS (Lucid Lynx) server option when we then use to install ISPConfig hosting control panel. Canonicalhas high hopes that Ubuntu 10.04, Lucid Lynx, will easily become the platform of choice for anybody whointends to build and deploy large-scale infrastructure, whether you're trying to build the next Facebook, or the next Google, or the next eBay. Ubuntu 10.04 LTS Server Edition : Lean, fast and powerful – UbuntuServer delivers services reliably, predictably and economically - and easily integrates with your existinginfrastructure. It has almost 100 open-source and proprietary application providers certifying their programs on Ubuntu Server Edition. Ubuntu 10.04 includes Alfresco, Ingres, IBM, VMware, Yahoo andZimbra. It also includes improved installation and management tools for Ubuntu Enterprise Cloud (UEC)and Amazon EC2.

ISPConfig is an open source hosting control panel for Linux. ISPConfig is licensed under BSD license.ISPConfig simplifies the complicated details of setting up DNS, multiple unique domain name websites onone physical server box, and e-mail accounts for multiple users on those websites.

ISPConfig provides interfaces for the management of internet services by an ISP provider and the ISPclients. That is, ISPConfig is an ISP management and hosting control panel. It manages your Web server,email server, BIND DNS, proftpd and vsftpd FTP server, MySQL databases, SpamAssassin, disk quotasand User registration & billing with an easy to use Web interface for administrators, resellers, and clients.Others services like Email management and forwarding, Security (via SSL), Mail scanning and Firewall);Statistics & ISP Management (Webalizer, IP-addresses); Self Management (Shell-access, Per-User Administration backend) and more.

More importantly, ISPConfig speeds up and simplifies common server administration and operation tasks,such as creating lots of new user e-mail accounts or quickly setting up lots of roots (starting folders) for new websites. This in contrast to coding these changes by hand from a command prompt which wouldtake more time and effort, and heavily prone to errors. Today, most large-scale installations use existing

automation tools ISPConfig. Adapting these to the special configuration and filesystem layout of ISPConfig can require a lot of work. This is why ISPconfig is mainly targeted at new installations.

As you’ll learn in this hands-on lab training, setting up ISPConfig is somewhat challenging, but it is mucheasier than coding DNS files by hand. ISPConfig can help new Linux users configure web and e-mailfaster and easier than they could without it. This makes ISPconfig a "gateway to Linux" skills buildingendeavor. People get the end benefits of gaining experience to deploy complex servers while theycontinue to learn about them.

Page 4: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 4/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

3

Solution:In this Hands-on Lab session, you’ll learn how to setup virtual network on VMware (you may also use anyother virtual machines like MS VirtualPC, Linux Xen, or VirtualBox from Oracle). In this lab session, we’llconcentrate on installing ISPConfig on a clean install Linux Ubuntu 10.04 LTS Server. You will learn howto install and configure Webmin to help with configuring DNS server. I’ll also show you how set static IP

address which is required for deploying a DNS server. Finally, we’ll go through a step-by-step process toinstall all the pre-requisite packages that are necessary for successful installing of ISPConfig hostingsolution. You’ll also have opportunity to do some assignment at the end of the lab session. Uponcompletion of the hands-on lab you would have gained a competency level and a capability to be able toplan design implement and deploy a hosting solution using ISPConfig and any other Ubuntu server powered application. Once you gained enough experience and capability you may go ahead and installISPConfig on a Pilot testing server and finally to a production server to power on your ISP venture.

AssumptionsIt’s assumed that you have a good knowledge of Linux Ubuntu OS. If not then you can check this articlewhich discuses how to install Ubuntu 10.04 LTS server:

• Step-By-Step Install Guide Ubuntu 10.04 LTS (Lucid Lynx) Server

Part 1: Install & Configure Ubuntu 10.04 LTS Server

Step 1: Getting Started & Hardware Pre-requisites

Ubuntu runs on inexpensive, commodity hardware. To support a small practice like OSCAR, web-server etc., we recommend a minimum configuration of 200Gb Disk, 2Gb RAM, and a 2GHz Intel Dual CoreCPU. For maximum subsystem compatibility, we suggest that you install the 32bit version of Ubuntu. If

you are purchasing a computer to run OSCAR, ISPConfig or any other application server, one option is toorder the machine with Ubuntu pre-installed. However, all depends on your level of Linux OS.

In this Hands-on Labs, it’s assumed that your target computer is connected to the internet. After installingthe operating system, log into your machine and ensure you perform software updates to bring your systems up-to-date.

Step 2: Update Ubuntu 10.04 Operating Systems

Adding extra Repositories on UbuntuRepositories on Ubuntu are the locations that you can download software from. As a general rule, thedefault repositories don’t contain the right locations for most software packages that you’ll want to install.You will want to open up the "/etc/apt/sources.list" file, find and uncomment the following lines

deb http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe

deb http://security.ubuntu.com/ubuntu dapper-security universe

Page 5: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 5/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

4

Note that if you are using a different version than Dapper Drake (6.06), you will probably see a differentname there, something like breezy or edgy.

It is useful to update your system with the latest components and system patches. The first commandbelow asks Ubuntu to update its database of available packages, and the second command installs the

latest packages based on your current configuration. We run the upgrade command twice to ensure thatany packages that may have post-upgrade dependencies also have an opportunity to be upgraded.

1. From the command line, enter the following commands, one at a time.

$ sudo apt-get update$ sudo apt-get -u upgrade

Note 1: The sudo command is used to run privileged operations on the Ubuntu platform. The firsttime you run the command, it will ask for your password. Subsequently, it will not ask for your password again for a short period of time (typically 15 minutes).

Note 2 : apt-get is the program Ubuntu uses for managing the system’s packages. When used tomanipulate the core packages of the operating system, it needs to be run in conjunction with the sudo command.

2. We’re done with this section

3. You’re now ready to begin any other application installation as desired!

Step 3: Install Webmin

Webmin is a web-based interface for system administration for UNIX. Using any modern web browser,you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need tomanually edit Unix configuration files like /etc/passwd , and lets you manage a system from the consoleor remotely.Currently There is no Webmin package in the Ubuntu repositories. This tutorial willexplain how to install Webmin in Ubuntu Intrepid Ibex

You can install Webmin for your server web interface to configure Apache2, MySQL, FTP, DNS serversand many more. Now we will see how to install Webmin on Ubuntu 10.04 LTS.

Preparing your system 1. First you need to install the following packages

sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perllibpam-runtime libio-pty-perl libmd5-perl apt-show-versions

2. Next, get "libmd5-perl" (this is deprecated and not in 10.04 repositories – more on that can beread here )

wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb

Page 6: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 6/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

5

then install

sudo dpkg -i libmd5-perl_2.03-1_all.deb

3. Now download the latest Webmin using the following command or from here

sudo wget http://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb

4. Now we have webmin_1.441_all.deb package install this package using the following command

sudo dpkg -i webmin_1.441_all.deb

5. This will complete the installation.

Note: Ubuntu in particular don’t allow logins by the root user by default. However, the user created at

system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.

6. Now you need to open your web browser and enter the following

https://your-server-ip:10000/ or https://your-server-name:10000/

Note: Accept the security warnings and alerts. Now you should see similar to the following screen,see Fig. 41. Enter your credentials used earlier when you installed the system and then click login.

Fig. 1

7. After login if you want to configure Apache2, DNS server etc. you need to click on Servers on your left-hand side you should see many servers that are ready to configure, as shown in Fig. 2.

Page 7: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 7/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

6

Fig. 2: Webmin admin page

8. Click Logout link to exit Webmin

9. We’re done with this section

Part 2: Installing Additional Infrastructure PackagesThese instructions are written for an audience comfortable with invoking instructions from the commandline and GUI option. If you are capable of installing the user friendly Ubuntu GNU/Linux operating systemor any other Linux distros, then you should be able to follow along with ease.

Step 1: Install OpenSSH Package

In order to support secure remote connections to your server, you will need to install the OpenSSHpackage. This package will come in handy in the future to support administrative tasks on the system. Bydefault this package is already installed in the Ubuntu server option.

1. To install OpenSSH, issue the following command:

$ sudo apt-get install openssh-server -y

2. To log into a remote computer that is running OpenSSH, you use the ssh username@hostname command, replacing username with a valid user name on the computer you are trying to log into, and

Page 8: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 8/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

7

replacing hostname with either the fully qualified host name (e.g. example.com ) of your server, or it’s IP address (e.g. 192.168.83.250 ).

Note: For example, if your everyday computer is a Mac, and your ISPConfig server user account iskrabah , and your ISPConfig server IP address is 192.168.83.225 , then you can now log into your

su apt-getserver from your Mac, by opening a terminal window on your Mac and running thecommand ssh [email protected] . You can use ifconfig command to find out your IPaddress.

Step 2: Change the Default Shell

The "/bin/sh" is a symlink to " /bin/dash" , however we need "/bin/bash" , not "/bin/dash" .

1. Therefore we do this:

dpkg-reconfigure dash

2. Install dash as "/bin/sh"? <-- No

3. We’re done with this section

Step 3: Disable AppArmor

AppArmor is a security extension (similar to SELinux ) that should provide extended security. In myopinion you don't need it to configure a secure system and it usually causes more problems thanadvantages (think of it after you have done a week of trouble-shooting because some service wasn'tworking as expected, and then you find out that everything was ok, only AppArmor was causing the

problem). Therefore I disable it (this is a must if you want to install ISPConfig later on).

1. We can disable it like this:

sudo /etc/init.d/apparmor stopsudo update-rc.d -f apparmor removesudo aptitude remove apparmor apparmor-utils

2. We’re done with this section

Step 4: Install PHP5 and Apache (HTTP) Web Server

If you are doing any kind of PHP development, you’ll almost always be using Apache along with it. Here’sthe quick and easy way to get PHP up and running on your Ubuntu box.

1. First, you’ll want to add the extra repositories to Ubuntu’s "sources.list" file if you haven’t doneso yet. In our case we have already done that in Part 1.

Page 9: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 9/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

8

2. From a command shell, you will run the following commands:

sudo apt-get install apache2sudo apt-get install php5sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

3. Note that if apache is already installed you can omit the first line. Your web files will now be found in"/var/www/"

4. To test that your Apache2 is working correctly fire your browser go to URL: http://localhost , see Fig. 3.

Fig. 3

1. To start/stop/restart Apache2 server, issue the following commands:

$ sudo /etc/init.d/apache2 start

$ sudo /etc/init.d/apache2 stop

$ sudo /etc/init.d/apache2 restart

2. We’re done with this section.

Part 3: Optional Configuration Tasks

Step 1: Configure Network Interface to Static IP Address

In this section, we are going to check and modify the network interface to change it from DHCP to static IPaddress on eth0 interface. If your Ubuntu System is set to use DHCP, you will want to change it to astatic IP address here is how to

Page 10: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 10/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

9

To do this, perform the following procedure:4. Fire up your favorite Text editor and open and modify /etc/network/interfaces file, with the

result shown in Fig. 4.

$ sudo nano /etc/network/interfaces

Note: If you are using DHCP for your primary network card which is usually eth0 , you will see thefollowing lines, see Fig. 4

auto eth0iface eth0 inet dhcp

Fig. 4

Note: As you can see from Fig. 4 above, it’s using DHCP right now.

5. Next, we are going to change from DHCP to static, and then there are a number of options that youshould add and here is the example and you can change these settings according to your networksettings, with our final result shown in Fig. 5.

auto eth0iface eth0 inet staticaddress 192.168.83.50netmask 255.255.255.0network 192.168.83.0broadcast 192.168.83.255gateway 192.168.83.2

Page 11: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 11/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

10

Fig. 5

Note: use public IP address for production purposes.

6. Restart thenetworking

service using the following command

$ sudo /etc/init.d/networking restart

7. To check you server IP address, issue the ifconfig command, see Fig. 6.

Fig. 6

8. We’re done with this section

Part 4: Install DNS Server

In this section it’s assumed that you know how to install and configure a DNS Server on a Linux machine,if not, then check out our excellent Hands-On Labs training manual, entitled “ Using Webmin and Bind9 to

Page 12: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 12/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

11

Setup DNS Server on Linux ” to get you started. Here we’re going to use Webmin and Bind9 to deploy aDNS Server for testing ISPConfig server.

1. Use apat-get to download and install Bind9 , if it’s not already installed, by issuing the followingcommand:

sudo apt-get install bind9 –y

2. Edit "/etc/hosts" file to reflect the correct hostname, as shown in Fig. 7.

Fig. 7

3. Edit "/etc/resolv.conf" file to reflect the correct namesearch , domain and search , as shownin Fig. 8.

Fig. 8

Page 13: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 13/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

12

4. Now fire-up your browser and point it to Webmin admin page: http://localhost:10000 . Next click onServers link on the left-hand pane and then click BIND DNS Server . On the right pane, scroll down tothe Existing DNS Zones heading, as shown in Fig. 9.

Fig. 9

5. Next, configure the DNS server, and when done, you should have a modified Existing DNS Zones with two additional icons, as shown in Fig. 10.

Fig. 10

Page 14: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 14/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

13

6. Now open a new terminal window and test that your DNS server is configured correctly using "dig"

and "nslookup" commands, as shown in Fig. 11 and 12 respectively.

Fig. 11

7. And similarly for "nslookup" , as shown in Fig. 12.

Fig. 12

Page 15: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 15/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

14

8. We’re done with this section

Part 5: Install Pre-Requisite Packages for ISPConfig

Step 1: Install Postfix, Courier, MySQL, Saslauthd, rkhunter, binutils

We can install Postfix , Courier , Saslauthd , rkhunter , and binutils with a single command:

sudo aptitude install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-sslcourier-imap courier-imap-ssl libsasl2-2 libsasl2-modules libsasl2-modules-sqlsasl2-bin libpam-mysql openssl getmail4 rkhunter binutils maildrop

Note: You will be asked the several questions which will require your response.

1. From Fig. 13, Postfix Configuration , hit Enter to accept the default selection.

Fig. 13

Page 16: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 16/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

15

2. From Fig. 14, Postfix Configuration , hit Enter to accept the default selection.

Fig. 14

3. Next, you'll have to choose your mail server configuration. Accept the default "Internet site"and the select OK and hit Enter to continue, as shown in Fig. 15.

Fig. 15

Page 17: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 17/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

16

4. From Fig. 16, Postfix Configuration , enter your domain name, in our case"govhosting.com" hit Tab key to select OK and then hit Enter to continue.

Fig. 16

5. From Fig. 17, Configuring courier-ssl , select OK and then hit Enter to continue.

Fig. 17

Page 18: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 18/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org ICT105 – Ubuntu Server Administration Training

17

6. From Fig. 22, Configuring phpmyadmin , select Apache2 and then choose OK and then hit Enter to continue.

Fig. 22

7. From Fig. 23, Configuring phpmyadmin , accept the default selection, tab to select Yes and thenhit Enter to continue.

Fig. 23

Page 19: 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

8/3/2019 33362029 Build Your Own ISP Hosting Using ISPConfig on Ubuntu 10 04 LTS Server v1 0

http://slidepdf.com/reader/full/33362029-build-your-own-isp-hosting-using-ispconfig-on-ubuntu-10-04-lts-server 19/19

Global Open Versity ICT Labs Build your own ISP Hosting using ISPConfig on Ubuntu 10.04 LTS Server v1.0

© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada18

8. From Fig. 24, Configuring phpmyadmin , enter the password, tab to OK and then hit Enter tocontinue.

Fig. 24

9. Again on the next Configuring phpmyadmin screen enter the password for MySQL, tab to OK andthen hit Enter to continue. You’ll be asked to reconfirm the password.

1. Follow the link to access the full document.

The full document has moved to Docstoc.com. You may download it from here:

http://www.docstoc.com/docs/46779324/Build-your-own-ISP-Hosting-using-ISPConfig-on-Ubuntu-1004-LTS-Server

-----------------------------------------------Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in severalfields of Science & Technology, Information Security Compliance and Project Management, andRenewable Energy Systems. He is also the founder of Global Open Versity , a place to enhance your educating and career goals using the latest innovations and technologies.