Você está na página 1de 36

University of Applied Science Flensburg

Business Computing Degree Course


Practical Training Report

Company: My Directory Sdn Bhd

Period: 22.02.2007 – 28.05.2007

Submitted by: Kerstin Niehus


+49 461 1687644
kerstin.niehus@stud.fh-flensburg.de

Supervisor: Mr. Yeak Nai Siew


+603 2070 4278
yeak@md.com.my
Practical Training Report My Directory Sdn Bhd

Table of Contents

TABLE OF CONTENTS.........................................................................................................................2
1 EXECUTIVE SUMMARY...................................................................................................................3
2 REPORT................................................................................................................................................4
2.1 COMPANY...........................................................................................................................................4
2.1.1 General....................................................................................................................................4
2.1.2 Products and Services.............................................................................................................4
2.1.3 Portfolio..................................................................................................................................5
2.2 TRAINING...........................................................................................................................................7
2.3 TASKS...............................................................................................................................................8
2.3.1 Research..................................................................................................................................9
2.3.2 Quotation writing..................................................................................................................14
2.3.3 Documentation......................................................................................................................15
2.4 PROJECT “TAKAFUL”.........................................................................................................................18
2.4.1 Product Research..................................................................................................................18
2.4.2 Proposal Presentation...........................................................................................................23
2.4.3 Result.....................................................................................................................................25
2.5 PROJECT “DRUPAL”...........................................................................................................................25

3 APPENDIX..........................................................................................................................................32
3.1 BRIEF SCALIX AND ZIMBRA COMPARISON TABLE...................................................................................32
3.2 FACTS ON MALAYSIA.........................................................................................................................32

4 REFERENCES....................................................................................................................................34
5 LIST OF FIGURES............................................................................................................................34
6 ACKNOWLEDGEMENT AND APPROVAL..................................................................................36

2
Practical Training Report My Directory Sdn Bhd

1 Executive Summary
The undergoing of a practical training which was compulsory to obtain the
bachelor degree in business computing at the University of Applied Science
Flensburg was done in My Directory Sdn Bhd (MD), located at Kuala Lumpur,
Malaysia. Though the practical training was done in my home country, I
certainly had gained a lot of new knowledge in the IT and business field and
finally got the taste of the working life.

While pursuing the training, I was constantly briefed about the on going
projects and the approach towards it. This was for me to understand the
whole process of a project. My role in the projects was to assist clerically, ex.
System documentation, and technically, ex. Software testing. A number of
trainings referring the TCP/IP and OSI model were also held, meant for the
new staffs. This was for us to be technically aware of the tasks that will be
given to us.

During the practical training at MD, I certainly achieved a lot of valuable


experience and knowledge. I have gained knowledge in the Unix system
theoretically and practically as MD is an open source solution company.
Besides that, having to follow meetings which were associating with large
companies such as Air Asia and IBM, it allows me to be exposed to the
manner how these companies deal and I also get to meet new acquaintances.

Overall, undergoing the practical training has widened my future career


perspective and it has made me alert with current issues in the IT business
world, ex. Globalisation. I definitely learned a lot and had the chance to apply
my knowledge from my university education. The working environment was
easy-going between employees and they were helpful to support me during
the whole period of the practical training.

3
Practical Training Report My Directory Sdn Bhd

2 Report
This report is about the practical training at MD. It is divided in 3 sections. The
first section is the introduction of the company and its services. The second
section covers about the trainings given during the practical training. The last
section covers about the tasks given and the approach to complete the tasks.

2.1 Company

2.1.1 General
MD is an internet solution company which consult, deploy, support and
develop open source softwares. MD is a team of 5 people, respectively 2 of
them are Red Hat certified engineers, Mr. Yeak Nai Siew and Mr. Liew Toh
Seng. MD is located in the capital of Malaysia, Kuala Lumpur which is also
known as the golden triangle of Kuala Lumpur, the commercial hub of the city.
Their major business partners are Red Hat and IBM.

2.1.2 Products and Services


MD offers consultancy and system integration on open source software,
server and storage technologies. They also offer support and maintenance for
the integrated system either on scheduled maintenance basis or on level 2
incident support basis1*.

MD products vary from softwares to server and storage hardware. Their main
products are:

• Enterprise Email Solution - they offer email hosting, single email


server application and also high availability email system which runs
under several servers. Common applications used are QmailToaster
and Bynari email server.

1
The support is not done on site, but through email or telephone calls. Usually guideline manuals to solve common
problems are given to clients.

4
Practical Training Report My Directory Sdn Bhd

• Server and Storage - MD is recognized partner for IBM Malaysia


which offers server and storage consoles.

• Server Operating System - MD mainly offers Red Hat Enterprise


Linux. However, they also offer CentOS, a free community version of
Red Hat Linux.

2.1.3 Portfolio
Mainly focusing on large enterprises they also provide their services to
government organizations and various smart schools in Malaysia. Currently
MD has already serves 250 customers throughout the region and within Asia
pacific. Following are 3 examples of their customers and the services
provided to them.

Air Asia

Figure 1: Air Asia logo

Air Asia is a low-cost airline based in Kuala Lumpur with subsidiaries in


Thailand and Indonesia. Air Asia operates about 200 flights a day, to 48
destinations in 10 countries in Asia.

Services provided to them:


• Web server setup with redundancy and clustering for Internet booking
solutions.
• E-Commerce infrastructure setup with 3D Secure2* implementation.
• Email solutions for all offices around Asia region.
• Itinerary processing to fax, printer and email.

2
3-D Secure is a XML-based protocol to allow authentication of cardholders of credit card companies in e-payment
transactions.

5
Practical Training Report My Directory Sdn Bhd

• System maintenance for Web and Email services.

Kolej Tuanku Ja'afar

Figure 2: Kolej Tuanku Ja'afar logo

Kolej Tuanku Ja’afar is a royal boarding school that uses the English
education system.

Services provided to them:


• Consult and design the campus-wide networking using fibre and UTP
cables.
• Setup the network services for firewall, mail, web server and file server.

BTP, Ministry of Education

Figure 3: BTP logo

BTP is the technology department in the Ministry of education. Present, their


functions are to publish educational material in different forms (CD-ROM,
print, television and radio programmes), manage government school libraries
throughout the country and support the setups of smart schools.

Services provided to them:


• Training and deployment of Qmail solutions in data center.
• Consultancy on all aspects of Internet systems and designs.

6
Practical Training Report My Directory Sdn Bhd

2.2 Training
A formal training was conducted every Saturday for the first 4 weeks by our
CEO, Mr. Yeak Nai Siew who was previously an IT teacher before starting his
business. The purpose of the training was to accomplish the technical know-
how needed to solve the day to day tasks at MD. Referring to the OSI model3*
and the TCP/IP model4*, the training was divided into 3 categories:

1. Network:
a) Ethernet: cable types, socket types, cross-over and straight
through wiring.
b) Fibre: SC (LED) and LC (Laser) transmission, socket types.
c) Wireless: standards, security, Antenna, Speed.
d) Structured cabling: design guideline, model, organizing, star
topology.
e) Switch/Hub: media, management, mode, type, VLAN.
f) Router: technology, function
g) Ipv4: properties, class, ports, private network, cousins, usage.
h) Firewall: zones, NAT, design, inspection, technology.
2. Server:
a) Hardware: rack, disk, RAID, processor, memory, PCI, power,
fan, servicing, performance.
b) Storage: disk type, raid type, connection method, storage type,
expansion to host connection.
c) Management: console, disk, server management,
d) Blade: design, power, cable, form factor, KVM.
3. Operating System:
a) Components: kernel, disk, network, display, memory, process,
security, Inodes, File system for Linux, windows and Mac OS.
b) Booting Process: hardware OS, boot device, boot loader,
kernel, ram disk, init scripts, console, grub.
c) Network configuration: IP address, routing, DNS resolver,
network scripts, host file, name service.
3
OSI model stands for Open System Interconnection model.
4
TCP/IP model stands for Internet reference model.

7
Practical Training Report My Directory Sdn Bhd

d) Service configuration: system run level, init scripts, init


command.

Besides that, I was sent to several IBM product trainings where they
introduced server hardware such as blades, servers, storages and also tapes.
I also followed an IBM meeting with our client Air Asia where they discussed
their needs for their IT environment. In the discussion, the IBM representative
specifies the Air Asia current environment by asking following questions:

1. Number and location of sites where Air Asia place their servers.
2. The functions of each site.
3. Numbers of servers installed.
4. Applications running on each site.
5. Operating Systems used on each sites.
6. Storage equipments.

They then suggest a solution to consolidate the Air Asia environment with a
blade server5*. Another solution was the virtualization6* technology.

2.3 Tasks
During the practical training at MD, my tasks involved the management and
the technical part of the company. The technical tasks were doing research on
softwares and their implementation and writing documentation on how to
handle the applications. Some examples of tasks of the management side
were writing quotations for the customers and preparing proposal
presentations. Below are the detailed explanations for the tasks:

5
A blade server is a server chassis housing multiple thin, modular electronic circuit boards, known as server blades.
Each blade is a server in its own right.
6
Server virtualization is the masking of server resources, including the number and identity of individual physical
servers, processors, and operating systems, from server users.

8
Practical Training Report My Directory Sdn Bhd

2.3.1 Research

2.3.1.1 CentOS
The first task was to install CentOS on a server meant for testing. This was to
get familiar with the installation process and the operating system itself as
many of the clients are using it too. CentOS is a fully compatible rebuild of the
Red Hat Enterprise Linux, in full compliance with Red Hat's redistribution
requirements. CentOS is for people who need enterprise class operating
system stability without the cost of certification and support.

During the installation process, it was required to set 3 partitions:


• /boot - the boot partition is the primary partition where all of the boot
information will be kept. The ext37* file system is chosen for this
partition.
• Swap - The usual method for doing this is to create a partition that is
double the amount of RAM on the machine in size. The swap partition
is used by the system in the event of a system crash to store the Linux
Kernel Crash Dump (the LKCD -- the contents of main memory). The
file system must be set to swap otherwise the CentOS can’t use it as a
swap partition.
• / - The root partition is to host applications on the machine. The usual
file system for this partition is also ext3.

The standard firewall setup was not needed because a firewall has been
installed on every server we host.

To update the operating system, the command “yum” was used. “Yum” is a
software package manager which has the ability to list, download and install
available open source softwares.

During the time with MD, a few server installation using CentOS via HTTP,
NFS (network file system) and also with the usual CD-ROM method was

7
The ext3 file system is a journalled file system that is commonly used by the Linux operating system. It is the
default file system for many popular Linux distributions.

9
Practical Training Report My Directory Sdn Bhd

performed. All these installation methods have to be boot up with a CD-ROM


first. During the installations, things that had to be particular on were the
software raid which was done in the BIOS configuration and the partitioning.

In the mid April, CentOS came out with the latest release, CentOS 5.0.
Virtualization and the clustering are some of their new features. A test
installation on MD’s test server “Granny” was conduct. A virtual machine with
the virtualization utility Xen was set.

Setting up a virtual machine on CentOS 5.0


A virtual machine can be set on CentOS with the virsh or the xm application. I
have set up a virtual machine with the xm application. One can find the
detailed documentation of the installation and the managing of the virtual
domain at their website: http://www.centos.org/docs/5/html/Virtualization-en-US/index.html.

Excursion: On CentOS virtualization, the operating system installed on the


machine is called “host domain” while the virtual machines which runs on the
host is called “guest domains”.

Create a domain using the Snapshot method/dd method


I was given the exercise to copy a guest domain which was installed earlier.
The objective was to save the effort to go through many installation steps for
the same installation configuration. There are 2 methods to go about it. One is
the snapshot method and the other method is to use the “dd” command.

Guest Guest
Domain 1 Domain 2

via snapshot via Snapshot

Guest
Domain 0

Figure 4: Snapshot Concept

10
Practical Training Report My Directory Sdn Bhd

LVM Snapshots can only be use for partitions that have been created using
LVM. An LVM snapshot is an exact copy of an LVM partition that has all the
data from the LVM volume from the time the snapshot was created. As shown
in the figure above, Guest domain 1 and 2 have been created via LVM
snapshot from a guest domain 0 which was created manually.

Guest Guest
via „dd“
Domain 0 Domain 1

Figure 5: "dd" command method

As shown above, the “dd” command simply copies the files of guest domain 0
into guest domain 1. Generally, the “dd” can copy a CD to an ISO file, copy
one partition to another, or restore an image file to a disk.

2.3.1.2 FPX
Task: FPX plug-in test installation for Air Asia.

What is FPX?
The Financial Process Exchange (FPX) is a service that offers multi-bank
Internet-based online payment gateway for any b2b or b2c or organizational
transactions. This system is an Internet-based payment hub that switches and
requests routing payment transaction from buyers/users to sellers with the
capability to store debit/credit entries and support other accounting functions.

11
Practical Training Report My Directory Sdn Bhd

1. Get installation bundle

2. Extract the installation bundle

3. Edit the configuration script

4. Run the installation tool

5. Run the certadmin tool for key


creation and exchange certificate
setup

6. Submit CSR to MSCTrustgate

7. Receive signed certificate from


MSCTrustgate

8. Import signed certificate

Figure 6: Installation and Configuration Steps for FPX

The figure above shows the full installation and configuration steps of FPX.
We (MD) though, are only assigned to conduct the first 4 steps.

These 4 steps follow the sequence below:


1. A Java platform is required, so it must be installed.
2. Uncompress the install.zip file. Note the directory when this is
executed. This is the base directory into which the seller plugin's
resultant directory structure is created.
3. Initiate the configuration program with the install.sh console command.
4. Next step is to configure the installation, fpx-install.ini, which will create
the plugin.xml file. This file must be in the same location from where
the script is executed.

Below is a sample of the fpx-install.ini and the parameters that needed to be


edited.

12
Practical Training Report My Directory Sdn Bhd

Figure 7: fpx-install.ini

My task was to test the integration of the application on our client server,
which was a non-gui CentOS. It was important to have the right version of the
java application in order for FPX plug-in to function. To solve this assignment,
I needed a good command of the Unix language. Therefore I was given the
System Administration manual for the RedHat Certified Engineer as
reference.

2.3.1.3 Cost effective clustering solutions


While setting up a new server site for Air Asia in Sydney. We were given the
contract to create a high availability server system for the FAX server. FAX is
an airline subcontracted by Air Asia. The task was to find a low cost solution
for FAX.

There were a few applications that came into consideration. My task was to
learn and test those applications on our test server. Those applications were
IP Virtual Server (IPVS), Balance, CentOS clustering suite and DRBD
Heartbeat.

13
Practical Training Report My Directory Sdn Bhd

While IPVS and Balance only behave as a load balancer, CentOS clustering
suite and DRBD Heartbeat has the same function and also replicates data.
That means no data gets lost. However DRBD & Heartbeat is preferable
because no cost is involved in obtaining these softwares. These 2 packages
drbd.i386 and heartbeat.i386 are available to any UNIX system via the “wget”
command.

What is DRBD & Heartbeat?


DRBD is a data replication software, which runs real time backup. Heartbeat
on the other hand is a cluster manager which works by sending a "heartbeat"
between 2 machines either over a serial cable, Ethernet, or both. If the
heartbeat fails, the secondary machine will assume the primary machine has
failed, and take over services that were running on a primary machine.

In detail, the DRBD takes over the data, writes it to the local disk and sends it
to the other host. On the other host, it takes it to the disk there. Each device
has a state, which can be 'primary' or 'secondary'. On the node with the
primary device the application is supposed to run and to access the device
(/dev/nbX). Every write is sent to the local 'lower level block device' and to the
node with the device in 'secondary' state. The secondary device simply writes
the data to its lower level block device. Reads are always carried out locally.

If the primary node fails, heartbeat is switching the secondary device into
primary state and starts the application there. If the failed node comes up
again, it is a new secondary node and has to synchronise its content to the
primary.

2.3.2 Quotation writing


Writing quotation is basically a straight forward task. Prices of products are
referenced either on our price list for our products or our partners pricelist.
Then the quotation writing is then followed with the “Filemaker” application.
Below is a sample of a blank quotation which has already be numbered and

14
Practical Training Report My Directory Sdn Bhd

dated automatically. The application also saves the list of customer which deal
with us before.

Figure 8: Quotation writing with Filemaker

2.3.3 Documentation

2.3.3.1 Air Asia System


Air Asia has a large network environment, and it is expanding rapidly. Due to
this expansion, new servers must always be setup for various functions and
the increasing data entry volume. It is important to keep track with all of the
network elements (server, storage, switch etc.). My task was to do the
documentation for the system setup for Air Asia base in Sydney, updating the
network diagrams and their hardware list, also for their sites in Malaysia (in
Kuala Lumpur and in Cyberjaya) when changes were made, documenting
server configuration and preparing guidelines for managing their servers in
Sydney.

Air Asia Sydney System Setup’s documentation consists of:


1. Server description – Basic UNIX knowledge was needed to obtain the
information below. Besides that, applications are mostly located at the
/opt folder. They are main applications that needed to be documented.

15
Practical Training Report My Directory Sdn Bhd

a. Hardware Specification
b. Raid configuration
c. Function (payment server or data base server)
d. Information (IP, Hostname, Netmask, Gateway, DNS, OS
version)
e. Partition information
f. Application (location, configuration file location)
2. Application manual for managing server – The internet and some of
the documentation that comes together with the applications are use
for writing the manual for managing the server:
a. Installation, configuration, administration.
b. Application: Jboss, CentOS Cluster Suite, CentOS GFS, QLogic
SANblade® host bus adapter (HBA), IBM DS4200 Storage
Manager.

2.3.3.2 Wildcard SSL Certificate Installation Manual


The task was to prepare a draft manual on how to install a wildcard SSL
certificate. This manual is mainly meant for one of our client, BTP, but it could
later be use for other customers.

What is a wildcard SSL certificate?

SSL is a protocol for transmitting private documents via the Internet. It uses a
cryptographic system that uses two keys to encrypt data − a public key known
to everyone and a private or secret key known only to the recipient of the
message. Many Web sites use the protocol to obtain confidential user
information, such as credit card numbers. SSL certificate secures only one
domain. The wildcard SSL certificate on the other hand secures any host
under the same domain (ex. *.example.com).

The manual is written for 2 types of installation: installation on Linux and the
installation on Windows. But before the certificate could be installed it must
first be generated.

16
Practical Training Report My Directory Sdn Bhd

In this case, we have produced a wildcard private key and a wildcard


certificate in BTP web server, specifically in the following directory:
/etc/httpd.conf. In this folder, a “Makefile” service exists. This service is use to
generate the ssl private key and certificate. Following are the commands to
generate the mentioned certificate and key:

#make filename.key – this command generates a key.


#make filename.csr – with this command a “csr” file is generated. During the
generating process, one must enter following information: country name,
state, organization, server name, email and password.

With these files generated, you can proceed with buying the certificate online.
In our case we did it at www.trustico.com. The files generated will be
requested to be submitted. Once the payment was done, we received an
email from trustico.com with the wildcard SSL certificate, in a PEM file format.
The wildcard certificate and its private key had been compiled and bundled
into a pk12 file to deliver to customer. It is encrypted with a password.

To use the SSL wildcard, the certificate has to be installed on our client web
server. Following are the summary of the Linux installation documentation I
did for our client.

Wildcard SSL Certificate Installation summary for Linux


• Upload the wildcard.moe.edu.my.p12 file to the web server and save it
in the following directory: /etc/httpd/conf
• Type the following command to create the Wildcard SSL key and enter:
# cd /etc/httpd/conf
# openssl pkcs12 –nodes –nocerts –in wildcard.moe.edu.my.p12 –
out wildcard.moe.edu.my.key
# chmod 600 wildcard.moe.edu.my.key
• Type the following command to create your Wildcard SSL certificate
and enter:

17
Practical Training Report My Directory Sdn Bhd

# cd /etc/httpd/conf
# openssl pkcs12 –nodes –nokeys –in wildcard.moe.edu.my.p12 –
out wildcard.moe.edu.my.crt
• Edit the /etc/httpd/conf.d/ssl.conf with the VI editor.
• Change the following parameters. Add the directory of the created
Wildcard SSL key or certificate:
o SSLCertificateFile /etc/httpd/conf/wildcard.moe.edu.my.crt
o SSLCertificateKeyFile /etc/httpd/conf/wildcard.moe.edu.my.key
• Save and quit the VI editor.

2.4 Project “Takaful”

2.4.1 Product Research


The task was to research all available open source email servers for a
potential prospect, Takaful Malaysia. Takaful Malaysia is an Islamic insurance
company having about 100 branches throughout Malaysia. Their
requirements for the email server were:

• Open source software


• Able to use 2 mail store or more using a single domain
• Supports Outlook GAL (Global Address List) and Share Calendar
• Offline support, i.e. using Outlook cached address list, mail and
calendaring
• Online web mail
• Not exceeding RM 300k of cost
• Handle the load of 2000 users

I started the research with searching every possible email server product
available on the internet. Among them are Bynari, Scalix, Zimbra, Kerio and
Merak. Yet only Scalix and Zimbra are the truly open source software
available in the market. Therefore a thorough testing was done on these 2
products. They were installed on a test server and their functionality was

18
Practical Training Report My Directory Sdn Bhd

brought to test. Refer to the appendix for the brief comparison table done for
Scalix and Zimbra. Below are the screen-shots for the 2 email servers.

Figure 9: Choosing email server profile in Outlook

Figure 10: Outlook view for Zimbra

19
Practical Training Report My Directory Sdn Bhd

Figure 11: Zimbra web admin tool

Figure 12: Zimbra webmail

20
Practical Training Report My Directory Sdn Bhd

Figure 13: Shared Calendar in Zimbra

Figure 14: Outlook view for Scalix

21
Practical Training Report My Directory Sdn Bhd

Figure 15: Scalix web admin tool

Figure 16: Scalix webmail

22
Practical Training Report My Directory Sdn Bhd

Figure 17: Scalix calendar

2.4.2 Proposal Presentation


A proposal presentation slide was then prepared. Following are stated in the
presentation:

1. MD’s introduction – their products and services and prospects.


2. MD’s general email server architecture design – The figure below
shows the setup of a high availability email server where it break into 3
components:

a. Inbound – the functions are for ex. to handle incoming mails,


filter virus and spam, check recipients validity, mail routing to
correct Mail Store, spoofing check etc.
b. Outbound – the functions are for ex. To handle outgoing mails,
add disclaimer, preventing from using domain key and SPF,
queue mail retry and bounce control.

23
Practical Training Report My Directory Sdn Bhd

c. Mailstore – Provide mail storage with quota and backup, mail


client’s support and Web Access, intranet portal, groupware and
collaboration.

Internet

Inbound Outbound

“Mailguard” “Postman”

Mail Store
“Postbox”

Figure 18: General MD's Email Server Architecture

This solution is meant for easy upgrade for each component without
affecting other components and also easy system management to
support and troubleshoot problems.
3. Current Takaful’s email server situation – The information of
Takaful’s current system was obtained through the questionnaire we
sent to them. Generally, Takaful’s email users have the difficulty to
check email at home and facing delay to send and receive email.
4. MD’s Solution – the figure below shows the solution design for
Takaful. For the software, we have recommended Scalix over Zimbra,
although Zimbra offers more “nice-to-have” functions and cost cheaper.
This is because Scalix is more established compare to Zimbra.
Therefore we believed it is more reliable.

24
Practical Training Report My Directory Sdn Bhd

Internet

Mail Relay 1 Mail Store Mail Relay 2

HQ Backup

Branches

Figure 19: Proposed Takaful Email Server architecture

2.4.3 Result
Unfortunately, our proposal was turned down. We got the information that a
Scalix representative from USA came personally to Takaful Malaysia.

2.5 Project “Drupal”


The task was to build a new company website template using Drupal. Later on
the correct contents will be edited from a senior staff.

What is Drupal?
Drupal is a free open source content management software distributed under
the GPL and is maintained and developed by a community of thousands of
users and developers. It is written in PHP, Drupal has a basic layer which
supports pluggable modules that enable additional behaviours. The modules
available for Drupal provide a wide assortment of features, including e-
commerce systems such as the Amazon Items module, work-flow, photo
galleries, mailing list management, and CVS integration. Drupal's modular
design and well-documented, clean code base make it easier for individuals
with knowledge of PHP to write code for additional features.

25
Practical Training Report My Directory Sdn Bhd

To use Drupal I had to train myself to get use with the software. There are
many things to learn about for example the installation procedure, the content
types and the modules. The essential knowledge that I needed was PHP and
CSS to troubleshoot the themes and modules.

Figure 20: MD’s website template

A testing server “pepe” is use to host this website temporarily. I used SSH
client “Putty” the build website remotely from another pc. In order to install
Drupal a web server and a PHP supported database has to be installed
first. Therefore Apache 2 web server and MySQL database was installed.
Following are the steps for installing Drupal:
• Download Drupal – One can simply use the “wget” command to
obtain the latest release of Drupal which comes in the tar.gz format
and decompressed it with the “tar” command. This was done in the
/var/www/html directory where all the web applications where
locate at, e.g. Web Calendar and Sugar CRM.

26
Practical Training Report My Directory Sdn Bhd

• Create Database - create a new database for the Drupal site with
MySQL using the “mysqladmin” commands. Then set the access
database rights: SELECT, INSERT, UPDATE, DELETE, CREATE,
DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK
TABLES. If database user doesn’t have all of these privileges, she
will not be able to run Drupal. Then the “flush privileges” command
is used to activate the new permissions.
• Installation Script – The browser is pointed to the base url:
pepe.md.com.my to run the install script. The Database
Configuration page then appears. The install script will attempt to
write-protect the settings.php after updating it with the information
you provide in the installation routine.
• Configuration – The first account (administrator account) is then
created. After login as the administrator, a few initial configuration
steps have to be followed on the “Welcome” page.
• Cron task - any Drupal modules (such as the search functionality)
have periodic tasks that must be triggered by a cron job. To
activate these tasks, I manually insert a command line in the
/etc/crontab file which activated the cron tasks automatically on
every hour.

The administration panel allows user to configure and enable services, such
as the General Settings, Modules, set user permissions, configure themes.
The theme used for MD is the “Pushbutton” theme as shown in figure 1. To
change the size and colours of the fonts, background or the block size, one
have to tweak the theme’s php or the css script. Following are some of the
modules used and its features:
• Contact - Enables the use of both personal and site-wide contact
forms.
• Search - Enables site-wide keyword searching.
• Bookmark Us - allows visitors to quickly and easily bookmark the site,
and the current page.

27
Practical Training Report My Directory Sdn Bhd

• Printer friendly version - Allows users to create printer-friendly pages


for nodes and profile pages.
• Sitemap - Display a site map.

Figure 21: Result using the Sitemap module

• Aggregator - Aggregates syndicated content (RSS, RDF, and Atom


feeds).

Figure 22: Result using the Aggregator

• Captcha - Implements a captcha to registration, comment, contact and


node entry forms.

28
Practical Training Report My Directory Sdn Bhd

Figure 23: Result using the Captcha module

Figure 24: style.css

29
Practical Training Report My Directory Sdn Bhd

Figure 25: node.tpl.php

Figure 26: files contained in the theme’s folder

Figure 27: modules used

30
Practical Training Report My Directory Sdn Bhd

Figure 28: files contained in the website folder

31
Practical Training Report My Directory Sdn Bhd

3 Appendix

3.1 Brief Scalix and Zimbra Comparison Table

Product Admin Scalability Security Support

Scalix GUI setup ActiveDirectory authentication Commercial


Remote Built-in proxy Forum
Internal user access scheme
LDAP authentication
SSL

Zimbra GUI setup 64-bit port ActiveDirectory authentication Commercial


Remote Cluster support Antispam Forum
SNMP* Antivirus
Built-in proxy
Internal user access scheme
LDAP authentication
SSL

3.2 Facts on Malaysia

Figure 29: Malaysian Flag

32
Practical Training Report My Directory Sdn Bhd

Malaysia is a Southeast Asian country of about 330,000 sq km, or slightly


larger than the State of New Mexico. The Federation of Malaysia comprises
Peninsular Malaysia and the states of Sabah and Sarawak on the island of
Borneo. It borders the nations of Thailand, Indonesia, Brunei, and Singapore.

Malaysia has a population of 27 million, comprised of Malays, Chinese,


Indians and other indigenous populations. It has a majority Muslim population
as well as many other religious groups, including Buddhist, Taoist, Hindu,
Sikh, and Christian. Malaysia takes pride in its ethnic and religious diversity
and works to promote an environment of pluralism, tolerance and harmony
among the various groups.

Malaysia has an educated workforce with a literacy rate of nearly 90 percent.


The Malaysian Government has been successful in its efforts to reduce the
number of those living below the poverty line, now at 5 percent.

Malaysia is an upper middle income country with a diverse labor force. Nearly
50 percent of the labour force works in services, 37 percent in industry, and
13 percent in agriculture.

Over the past 30 years, Malaysia’s economy has diversified considerably.


From one based primarily on mining and agriculture, the manufacturing
sector, principally electronics and electrical products, is now the major engine
of growth. Other industries include plastics and chemicals, food processing,
tin, palm oil processing, wood, rubber and petroleum production and refining.

Malaysia’s trade policy focuses on greater integration into the world economy
and enhancing its global position as a trading nation. Its policies are aimed at
developing higher value-added activities in manufacturing, improving services
delivery and increasing human capital to support the development of a
knowledge-based economy.

33
Practical Training Report My Directory Sdn Bhd

4 References
Facts on Malaysia
• http://www.ustr.gov/assets/Document_Library/Fact_Sheets/2006/asset_upload_file43
4_9120.pdf

What is DRBD & Heartbeat?


• http://www.slackworks.com/~dkrovich/DRBD/
• http://en.wikipedia.org/wiki/DRBD
• http://en.wikipedia.org/wiki/Heartbeat_%28program%29

What is Drupal?
• http://drupal.org/handbooks

5 List of Figures
FIGURE 1: AIR ASIA LOGO................................................................................................................5
FIGURE 2: KOLEJ TUANKU JA'AFAR LOGO................................................................................6
FIGURE 3: BTP LOGO..........................................................................................................................6
FIGURE 4: SNAPSHOT CONCEPT...................................................................................................10
FIGURE 5: "DD" COMMAND METHOD........................................................................................11
FIGURE 6: INSTALLATION AND CONFIGURATION STEPS FOR FPX..................................12
FIGURE 7: FPX-INSTALL.INI...........................................................................................................13
FIGURE 8: QUOTATION WRITING WITH FILEMAKER...........................................................15
FIGURE 9: CHOOSING EMAIL SERVER PROFILE IN OUTLOOK.........................................19
FIGURE 10: OUTLOOK VIEW FOR ZIMBRA...............................................................................19
FIGURE 11: ZIMBRA WEB ADMIN TOOL.....................................................................................20
FIGURE 12: ZIMBRA WEBMAIL.....................................................................................................20
FIGURE 13: SHARED CALENDAR IN ZIMBRA...........................................................................21
FIGURE 14: OUTLOOK VIEW FOR SCALIX.................................................................................21
FIGURE 15: SCALIX WEB ADMIN TOOL......................................................................................22
FIGURE 16: SCALIX WEBMAIL......................................................................................................22
FIGURE 17: SCALIX CALENDAR....................................................................................................23
FIGURE 18: GENERAL MD'S EMAIL SERVER ARCHITECTURE...........................................24
FIGURE 19: PROPOSED TAKAFUL EMAIL SERVER ARCHITECTURE................................25
FIGURE 20: MD’S WEBSITE TEMPLATE......................................................................................26
FIGURE 21: RESULT USING THE SITEMAP MODULE..............................................................28

34
Practical Training Report My Directory Sdn Bhd

FIGURE 22: RESULT USING THE AGGREGATOR......................................................................28


FIGURE 23: RESULT USING THE CAPTCHA MODULE.............................................................29
FIGURE 24: STYLE.CSS.....................................................................................................................29
FIGURE 25: NODE.TPL.PHP.............................................................................................................30
FIGURE 26: FILES CONTAINED IN THE THEME’S FOLDER..................................................30
FIGURE 27: MODULES USED...........................................................................................................30
FIGURE 28: FILES CONTAINED IN THE WEBSITE FOLDER..................................................31
FIGURE 29: MALAYSIAN FLAG......................................................................................................32

35
Practical Training Report My Directory Sdn Bhd

6 Acknowledgement and Approval

Practical Trainee Supervisor

Kerstin Niehus Yeak Nai Siew

28 May 2007, Kuala Lumpur

36

Você também pode gostar