Step-By-Step Install Guide Debian 5 Lenny Server

Document Sample
Step-By-Step Install Guide Debian 5 Lenny Server Powered By Docstoc
					GTS Institute ICT Labs                                                   Install Guide Linux Debian 5 Server v1.1



                    Global Technology Solutions Institute
            IT System Integration Hands-on Labs Training Manual

               Step-By-Step Install Guide Debian 5 Lenny Server
                                           Kefa Rabah
                                GTS Institute, 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                                                                   25

Part 2: Install & Configure LAMP Server                                                                       25
  Step 1: Installing Apache + PHP                                                                             25
  Ste 2: Installing MySQL Database Server                                                                     27
    2.1 Manually Creating users to use MySQL and Changing Root Password                                       27
  Step 3: Install phpMyAdmin                                                                                  29
  Step 4: Install OpenSSH Package                                                                             32

Part 3: Install Webmin                                                                                        33

Part 4: Install and Configure ProFTP Server                                                                   35
  Step 1: Install ProFTPD                                                                                     35
  Step 2: Securing you FTP Server via Security Options                                                        38
  Step 3: Permitting Anonymous Access                                                                         40
  Step 4: Miscellaneous Options                                                                               41

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

Part 6: Need More Training on Linux:                                                                          42
  Debian Server Administration Training                                                                       42

Part 7: Hands-on Labs Assignments                                                                             42




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 ICT 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. After completing the initial installation I’ll show you how to
install DNS server, LAMP server, and Samba file 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.

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.
                                                                                                                1
© April 2007, Kefa Rabah, Global Technology Solutions Institute, Vancouver Canada

www.gtechsi.org                                            ETC101 – Debian Server Administration Training
GTS Institute ICT Labs                                                   Install Guide Linux Debian 5 Server v1.1



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 of
   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 ICT 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 ICT 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 ICT 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 ICT Labs                                                   Install Guide Linux Debian 5 Server v1.1




Fig. 6


11. From Fig. 7,
				
DOCUMENT INFO
Shared By:
Stats:
views:1422
posted:12/8/2010
language:English
pages:45
Description: 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.
BUY THIS DOCUMENT NOW PRICE: $19.99 100% MONEY BACK GUARANTEED
PARTNER Kefa  Rabah
Kefa Rabah is the Founder of Global Technology Solutions Institute. Kefa is knowledgeable in several fields of Science & Technology (www.gtechsi.ca), Information Security Compliance and Project Management, and Renewable Energy Systems. He is also the founder of Global Open Versity (www.globaopenversity.org), a place to enhance your educating and career goals using the latest innovations and technologies.