GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Global Open Versity
IT Systems Integration Hands-on Labs Training Manual
Step-By-Step Install Guide Linux OpenSUSE 11.3 Server
Kefa Rabah
Global Open Versity, Vancouver Canada
krabah@globalopenversity.org www.globalopenversity.org
Table of Contents Page No.
STEP-BY-STEP INSTALL GUIDE LINUX OPENSUSE 11.3 SERVER 3
Introduction 3
Part 1: Install OpenSUSE 11.3 Server 3
Step 1: Install and Configure Suse 11.3 3
Part 2: Install LAMP 22
Step 1: Install & Configure Apache2 Webserver 23
Step 2: Install PHP5 24
Step 3: Install & configure MySQL 26
Step 4: Install phpMyAdmin 28
Method I: Install phpMyAdmin using Yast 28
Method II: Download and Install phpAdmin 29
Step 5: Install PostgreSQL Database Server 34
Part 3: Install Webmin 37
Part 4: Install vsftpd using YaST software management 40
Step 1: Install VSFTP Server 40
Step 2: Getting the Webmin module 41
Part 5: Install and Configure Samba Share 43
Step 1: Install SAMBA an Configure SAMBA Share 43
Step 2: Create Shared Folders and Add SAMBA users 45
Step 3: Connecting to a Samba Machine in Linux 46
Step 4: Accessing Samba Shares from Windows Desktop 47
Method 1: Use \\\sharename 47
Method 2: Via Entire Network 48
Part 6: Install & Configure DNS Server (Bind) 49
Step 1: Install Bind 49
Step 2: Configure NIC to use Static IP Address 51
2.1 Assigning a Static IP 51
2.2 Modify /etc/resolv.conf file 52
2.3 Modify Hostname 54
2.4 Update /etc/hosts 54
Step 3: Configuring DNS Server 55
3.1 Name Resolution 55
3.2 Modify /etc/resolv.conf file to reflect new settings 55
1
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Part 7: Need More Training on Linux 58
OpenSUSE Server Administration Training – ETC203 58
Linux Administration Training 58
Part 8: Hands-on Lab Assignments 58
Part 9: Advance Home Assignment 59
A GOV/GTSI Open Access Technical Academic Publications
Delivering Cutting-edge Technology at your Fingertips for Tomorrow’s Workplace
2
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Global Open Versity
IT Systems Integration Hands-on Labs Training Manual
Step-By-Step Install Guide Linux OpenSUSE 11.3 Server
By Kefa Rabah, krabah@globalopenversity.org November 11, 2010 GTI Institute
Introduction
The openSUSE project is a worldwide effort that promotes the use of Linux everywhere. openSUSE
creates one of the world's best Linux distributions, working together in an open, transparent and friendly
manner as part of the worldwide Free and Open Source Software community. The latest release,
openSUSE 11.3, features new and massively improved versions of all useful server and desktop
applications. It comes with more than 1,000 open source applications.
The openSUSE distribution is a stable, easy to use and complete multi-purpose distribution. It is aimed for
users and developers working on desktop or server. It's great for beginners, experienced users and ultra
geeks, short it's perfect for everybody! openSUSE is also the base for Novell's award-winning SUSE Linux
Enterprise products.
Hands-on Labs Session
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). In this lab session, we’ll
concentrate on installing Linux OpenSUSE 11.3 Server which you can then later use to install any other
applications as desired. You will learn how to pre-install DNS server, LAMP server, Mail server, OpenSSL
server, PostgreSQL database, Tomcat Java Server during the initial system installation. I’ll also show you
how set static IP address and how to change hostname. You will also learn how to deploy LAMP;
PostgreSQL, DNS server, Postfix mail server with Dovecot for POP3/IMAP, Evolution mail client,
SquirrelMail email Web access and Webmin to help you with administrating and configuring other
application servers like Apache2, MySQL, FTP, DNS etc. 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 OpenSUSE 11.3 Server
Step 1: Install and Configure Suse 11.3
1. Download stable Linux OpenSUSE 11.3 ISO server. Attach the ISO to the virtual machine’s DVD-
ROM drive (Media > DVD Drive) and start the machine. You can also burn-it to CD/DVD.
2. Insert the CD/DVD and wait for it bootup, as shown in Fig. 1.Wait for the system to complete the
current task it will continue when done.
3
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 1
1. From Fig. 2, OpenSuse Installer screen, choose Installation option, and then from Boot Options,
select Yes and then hit Enter to continue.
Fig. 2
4
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
2. From Fig. 3, wait for the system to complete the current task, it will continue when done.
Fig. 3
3. From Fig. 4, Initialization screen, wait for the system to complete the current task, it will continue
when done.
Fig. 4
5
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
4. From Fig. 5, Welcome screen, accept the default selection, or change as desired. Read and accept
the License Agreement and then select Next and hit Enter to continue.
Fig. 5
5. From Fig. 6, Installation Mode screen, wait for the system to complete the current task, it will
continue when done.
6
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 6
6. From Fig. 7, Installation Mode screen, accept the default selection, or change as desired, and then
select Next and hit Enter to continue.
7
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 7
7. From Fig. 8, Clock and Time Zone screen, accept the default selection, or change as desired, and
then select Next and hit Enter to continue.
8
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 8
8. From Fig. 9, Desktop Selection screen, accept the default selection, or change as desired, and then
select Next and hit Enter to continue.
9
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 9
9. From Fig. 10, Suggested Partition screen, accept the default selection, or change as desired, and
then select Next and hit Enter to continue.
10
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 10
10. From Fig. 11, Create New User screen, enter the required field, and then select Next and hit Enter to
continue.
11
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 11
11. From Fig. 12, Installation settings screen, wait for the system to complete the current task, it will
continue when done.
12
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 12
12. From Fig. 13, Installation settings screen, check & verify the current setting, and then click on Install
button to continue.
13
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 13
13. From Fig. 14, Confirm Installation screen, read the info, and then click Install button to continue.
Fig. 14
14
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
14. From Fig. 15, Perform Installation screen, wait for the system to complete the current task. When
done the system will reboot and then starts to perform the configuration task.
Fig. 15
15. From Fig. 16, Automatic Configuration screen, wait for the system to complete the current task, it’ll
continue when done.
15
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 16
16. From Fig. 17, Writing the system configuration screen, wait for the system to complete the current
task, it’ll continue when done.
16
©April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
www.globalopenversity.org ETC203 – OpenSUSE Server Administration Training
GOV ICT Labs Step-BY-Step Install Guide Linux OpenSUSE 11.3 Server v1.0
Fig. 17
17. You should now be taken to your Desktop as shown in Fig. 18.
17
©April 2007, Kefa Rabah, Global Open Versity, Va