Beruflich Dokumente
Kultur Dokumente
1.0 Introduction 2
1.0 Introduction
In this Hands-on Labs session, we’re going to learn how to install and configure the Linux Ubuntu 10.04
LTS (Lucid Lynx) 64-bit server option which we then use to install Joomla CMS. Canonical has high hopes
that Ubuntu 10.04, Lucid Lynx, will easily become the platform of choice for anybody who intends 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 – Ubuntu Server
delivers services reliably, predictably and economically - and easily integrates with your existing
infrastructure. 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 and
Zimbra. It also includes improved installation and management tools for Ubuntu Enterprise Cloud (UEC)
and Amazon EC2.
Joomla! is an open source content management system platform for publishing content on the World
Wide Web and intranets as well as a Model–view–controller (MVC) Web application framework. It is
written in PHP, stores data in MySQL and includes features such as page caching, RSS feeds, printable
versions of pages, news flashes, blogs, polls, search, and support for language internationalization.
Currently, Joomla! is one of the most powerful Open Source Content Management Systems in use. It is
used all over the world for everything from simple websites to complex corporate applications. It is easy to
install, simple to manage, and very reliable.
Joomla can be installed manually from source code on a system running a web server which supports
PHP applications. Manual installation usually requires more time and experience than other alternatives
such as installing Joomla from a package management system or using a TurnKey Joomla appliance
which pre-integrates Joomla and its dependencies as a ready-to-use system. There are numerous web
hosting companies who provide a control panel which automates the deployment of a basic Joomla web
site.
Joomla can also be installed via the Microsoft Web Platform Installer which installs Joomla on Windows
and IIS. The Web PI will automatically detect any missing dependencies such as PHP or MySQL then
install and configure them before installing Joomla.
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 Sun). In this lab session, we’ll
concentrate on installing Joomla CMS on a clean install Linux Ubuntu 10.04 LTS 64-bit Server. You will
learn how to install and configure Webmin to help with configuring DNS server. I’ll also show you how to
setup static IP address which is required for deploying a DNS server. Finally, we’ll go through a step-by-
2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
step process to install Joomla!. You’ll also have opportunity to do some assignment at the end of the lab
session. Upon completion of the hands-on lab you’ll have gained a competency level and a capability to
be able to plan design implement and deploy a website solution using Joomla CMS.
Assumptions
It’s assumed that you have a good knowledge of Linux Ubuntu OS. If not then you can check this article
which discuses how to install Ubuntu 10.04 LTS 64-bit server:
In this Hands-on Labs, it’s assumed that your target computer is connected to the internet. After installing
the operating system, log into your machine and ensure you perform software updates to bring your
systems up-to-date.
1. From the command line, enter the following commands, one at a time.
Note 1: The sudo command is used to run privileged operations on the Ubuntu platform. The first
time 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 to
manipulate the core packages of the operating system, it needs to be run in conjunction with the sudo
command.
3
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
You can install Webmin for your server web interface to configure Apache2, MySQL, FTP, DNS servers
and many more. Now we will see how to install Webmin on Ubuntu 10.04 LTS.
2. Next, get "libmd5-perl" (this is deprecated and not in 10.04 repositories – more on that can be
read here)
wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb
then install
3. Now download the latest Webmin using the following command or from here
4. Now we have webmin_1.441_all.deb package install this package using the following command
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
4
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
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. 1. 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.
5
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
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
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.40).
$ sudo taskel
2. From Fig. 3, select the desired applications to install, e.g., in our case LAMP, DNS & Mail servers.
Tab to select OK and hit Enter to start installation.
6
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 3
3. When done installing Apche2 (LAMP), open your favorite internet browser, and type http://localhost,
and should be rendered as shown in Fig. 3.
Fig. 3
7
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
1. Before setting up DNS server, do ensure that you configure your network interface to static IP
address, in case IP address is set to: 192.168.83.40.
2. Next, Edit "/etc/hosts" file to reflect the correct hostname, as shown in Fig. 4.
Fig. 4
3. Edit "/etc/resolv.conf" file to reflect the correct namesearch, domain and search, as shown
in Fig. 5.
8
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 5
4. Now follow the article’s hands-on lab manual to setup and configure your DNS server.
5. You can also start/stop/restart your DNS server via command-line as follows:
6. Next. fire-up your browser and point it to Webmin admin page: http://localhost:10000. Next click on
Servers link on the left-hand pane and then click BIND DNS Server. On the right pane, scroll down to
the Existing DNS Zones heading, as shown in Fig. 6.
Fig. 6
7. Next, configure the DNS server, and when done, you should have a modified Existing DNS Zones
with two additional icons, as shown in Fig. 7.
9
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 7
8. Now open a new terminal window and test that your DNS server is configured correctly using "dig"
and "nslookup" commands, as shown in Fig. 8 and 9 respectively.
Fig. 8
10
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 9
root@ubuntu: /etc/apache2# ls
apache2.conf envvars mods-available ports.conf sites-enabled
conf.d httpd.conf mods-enabled sites-available
11
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
5. Finally, very that our new site has been set correctly and ready for use.
root@ubuntu:/etc/apache2/sites-available# cd ..
root@ubuntu:/etc/apache2# ls sites-enabled/
000-default joomlagov
root@ubuntu:/etc/apache2#
2. Now we need to create a database for Joomla. To do this, perform the following procedure:
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
The full document has moved to Docstoc.com. You can access and download it from
here:
http://www.docstoc.com/docs/47729174/Step-By-Step-Install-Guide-Alfresco-Community-33g-with-
Google-Docs-on-Windows-v10
-----------------------------------------------
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.
12
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada