Sei sulla pagina 1di 10

GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.

Global Technology Solutions Institute


IT System Integration Hands-on Labs Training Manual

Step-By-Step Install Guide Debian 5 Lenny Server


Kefa Rabah
Global Open Versity, Vancouver Canada
krabah@gtechsi.org
www.gtechsi.org

Table of Contents Page No.

STEP-BY-STEP INSTALL GUIDE DEBIAN 5 LENNY SERVER 1

1.0 Introduction 1

Part 1: Install & Configure Debian 5 Server 1


Step 1: Getting Started & Hardware Pre-requisites 1
Step 2: Install Linux Debian 5 Lenny 2
Step 3: Update Debian 5 Operating Systems 27

Part 2: Install & Configure LAMP Server 27


Step 1: Installing Apache + PHP 27
Ste 2: Installing MySQL Database Server 29
2.1 Manually Creating users to use MySQL and Changing Root Password 29
Step 3: Install phpMyAdmin 31
Step 4: Install OpenSSH Package 34

Part 3: Install Webmin 35

Part 4: Install and Configure ProFTP Server 37


Step 1: Install ProFTPD 37
Step 2: Securing you FTP Server via Security Options 40
Step 3: Permitting Anonymous Access 42
Step 4: Miscellaneous Options 43

Part 5: Troubleshooting 43
Step 1: Switch between Terminal and Gnome 43

Part 6: Need More Training on Linux: 44


Debian Server Administration Training 44

Part 7: Hands-on Labs Assignments 44

A GTSI Open Access Technical Academic Publications


Delivering Cutting-edge Technology at your Fingertips the 21st Century

1
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Global Technology Solutions Institute


IT Systems Integration Hands-on Labs Training Manual

Step-By-Step Install Guide Debian 5 Lenny Server


By Kefa Rabah, krabah@gtechsi.org Dec 05, 2010 GTS Institute

1.0 Introduction
Debian 5 or Lenny is based on the 2.6.25 Linux kernel. For the desktop, Lenny supports both KDE 3.5.9
and GNOME 2.20.1.1. It also includes the most recent versions of many popular end-user software
applications. These include: Firefox 3.01, OpenOffice 2.4.1, and Evolution 2.22.3.1. Lenny is also
excellent for developer. It all includes the best developer and server programs. For example, Lenny
comes with glibc 2.7 and Samba 3.2.

For networking, Lenny will include full support for the IPv6 networking protocol and NFSv4 (Network File
System). On the server side, Lenny is also expected to have LFS (Large File Support). With this,
applications will have access to the largest files supported by the operating system and file system rather
than an application-bound arbitrary file size limits.

In general, Debian 5 is an outstanding Linux distribution. Since Debian is, in turn, the foundation of many
other distributions, such as Ubuntu and its family of Linux distributions; MEPIS; and Xandros, this bodes
well for all of Linux.

Hands-on Lab Solution:


In this Hands-on Lab session, you’ll learn how to setup virtual network on VMware (you may also use any
other virtual machines like MS VirtualPC, Linux Xen, or VirtualBox from Oracle, or Citrix XenServer). In
this lab session, we’ll concentrate on installing Linux Debian 5 Lenny server which you can then later use
to install any other applications as desired. During the installation we’ll select to pre-install DNS server,
LAMP server, Print Server, Samba file server and database server. You will also learn how to install and
secure SFTP using TSL and finally install and secure MySQL database server. You’ll also have
opportunity to learn some troubleshooting techniques and also do some lab assignments at the end of the
lab session.

Part 1: Install & Configure Debian 5 Server

Step 1: Getting Started & Hardware Pre-requisites


Debian runs on inexpensive, commodity hardware. To support a small practice like ISPConfig fo ISP
services, web-server etc., we recommend a minimum configuration of 200Gb Disk, 2Gb RAM, and a
2GHz Intel Dual Core CPU. For maximum subsystem compatibility, we suggest that you install the 32bit
version of Debian 5. If you are purchasing a computer to run web server or messaging solutions, one
option is to order the machine with Debian 5 pre-installed.

1
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

In this Hands-on Labs, it’s assumed that your target computer is connected to the internet as we’re going
to make use of net-install. After installing the operating system, login to your machine and ensure you
perform software updates to bring your systems up-to-date.

Step 2: Install Linux Debian 5 Lenny


1. Hope over to http://www.debian.org/releases/stable/ website and download the Linux Debian 5
Lenny 32-bit ISO which at the time of writing this lab manual was "debian-507-i386-netinst.iso"

2. Once you have downloaded the Debian 5 ISO specific to your distribution, you have the option
burning it into CD or just by using the ISO package to install it from your virtual machine, in our case
VMware.

3. Fire-up a new virtual machine and perform the initial configuration and setup to use ISO package.

4. Start the virtual machine, and you should be able to see the first Debian installation screen.

5. From Fig. 1, select the option desired and then hit the Enter key to commence installation. In our case
we have selected to Graphical Install option, or change as desired.

Fig. 1

6. From Fig. 2, Choose language screen, select English option, and hit the Enter key.

2
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Fig. 2

7. From Fig. 3, Choose language screen, Choose a country, select United States option, and hit Enter

3
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Fig. 3

8. From the Select keyboard layout screen, Fig. 4, Keymap to use select America English or
change as desired and hit the Enter key to continue.

4
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Fig. 4

9. From Fig. 5, the Loading installer components from CD screen, wait for the system complete the
process. It’ll go through several of these loading!

Fig. 5

10. From Fig. 6, the Configure the network screen, enter desired the Hostname: debian5, change as
desired, and hit the Tab key to select <Continue> and hit the Enter key to continue.

5
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Fig. 6

11. From Fig. 7, the Configure the network screen, enter desired the Hostname: govdebianhost.com,
change as desired, and hit the Tab key to select <Continue> and hit the Enter key to continue.

Fig. 7

12. From Fig. 8, the Setting up the clock screen, select the desired time zone, and then hit enter to
continue.

6
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Fig. 8

13. From Fig. 9, the Partition disks screen, accept the default selection, or change as desired, and then
hit the Enter key to continue.

Fig. 9

14. From Fig. 10, the Partition disks screen, accept the default selection, or change as desired, and then
hit the Enter key to continue.

7
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training


GTS Institute CT Labs Install Guide Linux Debian 5 Server v1.1

Fig. 10

15. For full access to the hands-on training manual follow the link below:

16. To download the download hove over to Dosctoc.com:

• Step-By-Step Install Guide Debian 5 Lenny Server v1.1

OR
http://www.docstoc.com/docs/65575338/Step-By-Step-Install-Guide-Debian-5-Lenny-Server

Linux Administration Training


Make a smart move, its time you reconfigure your skill-sets and move your career into the fastest moving
high tech gravy train of the Linux Open Source world, join our Linux program today:

• ETC300 - Certificate in Linux for Engineering & IT Applications

Other Related Articles & Hands-on Lab Manuals:

1. Using Webmin and Bind9 to Setup DNS Server on Linux


2. Deploy Secure Messaging Solutions using Sendmail & Dovecot Servers with ClamAV on Linux
3. Build your own ISP Hosting using EHCP on Ubuntu 10.04 LTS Server
4. Build your own ISP Hosting using ISPConfig on Ubuntu Server v1.0
5. Install Guide Secure Sendmail with Dovecot & Roundcube Webmail v1.0
U U

6. Build your Own Private Data Center Backup Solutions using Ubuntu Powered RESTORE Backup
Server v1.0
7. Install & Setup Astaro Security Gateway to Protect Corporate Network v1.1

-----------------------------------------------
Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in several
fields of Science & Technology, Information Security Compliance and Project Management, and
Renewable 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.

Fellow us on Twitter: GTS Institute and Kefa Rabah

A GTSI Open Access Technical Academic Publications


Delivering Cutting-edge Technology at your Fingertips in the 21st Century
8
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org ETC101 – Debian Server Administration Training

Potrebbero piacerti anche