Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from www.mandrake.com www.mandrake.com.

Slides:



Advertisements
Similar presentations
Building Database Relationships
Advertisements

1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 2 Getting Started.
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
Web Application Server Apache Tomcat Downloading and Deployment Guide.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
KX-NS1000 Initial Set Up For step by step : 16 May,
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
SETUP AND CONFIGURATIONS WEBLOGIC SERVER. 1.Weblogic Installation 2.Creating domain through configuration wizard 3.Creating domain using existing template.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
APACHE SERVER By Innovationframes.com »
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
Linux Operations and Administration
Ch 8-3 Working with domains and Active Directory.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Chapter 5 Roles and features. objectives Performing management tasks using the Server Manager console Understanding the Windows Server 2008 roles Understanding.
E-Commerce LAB#1 Samia alblwi1E-Commerce ( IS412) 2011.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
Linux Operations and Administration
Configuring the MagicInfo Pro Display
SIMPLE ROUTER The slide made by Salim Malakouti. Next we will create the Router  What do I we mean by a router?  Routers work similar to a map. It receives.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
Apache, PHP, MySQL Installation and configuration Web Programming with PHP,TITAS PROJECTIICT,BUET.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Copyright 2000 eMation SECURITY - Controlling Data Access with
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
1 Apache. 2 Module - Apache ♦ Overview This module focuses on configuring and customizing Apache web server. Apache is a commonly used Hypertext Transfer.
The In’s and Out’s of the IIS 6.0 Migration Tool The In’s and Out’s of the IIS 6.0 Migration Tool Chris Adams Web Platform Supportability Lead Microsoft.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Tools Menu and Other Concepts Alerts Event Log SLA Management Search Address Space Search Syslog Download NetIIS Standalone Application.
CGI Common Gateway Interface. CGI is the scheme to interface other programs to the Web Server.
Overview Managing a DHCP Database Monitoring DHCP
Apache, MySQL and PHP Installation and Configuration Chapter 1 Apache Installation and Configuration.
Apache Web Server Administration Syed Iqbal Syed Iqbal.
Turning Windows 7 into a Web Server Ch 28. Understanding Internet Information Services.
1 Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG X Cairo, Egypt May 2009 Hervey Allen.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Linux Operations and Administration
Unit 1 – Web Concepts Instructor: Brent Presley.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
Day 15 Apache. Being a web server Once your system is correctly connected to the network, you could be a web server. –When you go to a web site such as.
Joomla Awdhesh Kumar Singsys Pte Ltd. What is Joomla? Joomla is an award-winning content management system (CMS), which enables you to build Web sites.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
LINUX ADMINISTRATION 1
Unix System Administration
Introduction to Programming the WWW I
Lab 1 introduction, debrief
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Configuring Internet-related services
Configuration Of A Pull Network.
APACHE WEB SERVER.
Web Servers (IIS and Apache)
Presentation transcript:

Chapter Apache Installation in Linux- Mandrake

Acknowledgment The following information has been obtained directly from All credit it due to the above

Linux UnixWindows Linux: Where Unix meets Windows GUI based approach to Apache installation.

Apache Configuration Using KDE In this section, Apache will be configured using the available tools and utilities of the KDE desktop. This is not necessarily a recommended way to run a web server, but it does offer a convenient environment to begin learning the first steps of running a web server in the safety of an internal LAN.

Checking for Already Installed Apache

Using ktail to Monitor Installation Alt-F2 will open a mini-command line in KDE, and kdesu -c ktail will launch ktail as the root user. Ktail will be used throughout the following pages to monitor Apache's log files during configurationktail

Launching ktail to Monitor the Installation Alt F2 opens a mini command line

Providing root Password

Accessing the Service Activity

Activating the httpd Service

Starting Stopping and Restarting Apache

Monitoring Start, Stop and Restart

Accessing the Web

Accessing the Web Server Using Localhost

Gain Access as Super User to root

Root Folder(File)

Location of Apache Files

Bookmark the Location

Location of Web Files

Renamed Index.html

Loading Your Own Web A web can now be stored in this folder to become the website on the Apache server Index.html will be the first file that would be accessed first

KDE File Manager as a Limited Web Browser

Accessing the Website from Other Machines Use IP Address

Location of Logs

Drag and Drop Logs into ktail for Viewing

Other Details in Error Log

Event Details Date and time of event What type of event The event itself

Other Details in Access Log

Other Details on Access Log The machine's name or IP address that accessed the server Date and time of access The file that was transferred An access code and the number of bytes transferred The server's name or IP address that was requested The web browser that was used And some info about the visitor's system

Location of conf Files A copy has been made of the conf files folder

Making a Copy of the Conf Files /etc/httpd/conf is where Apache's configuration files are located. You may want to first make a backup copy of the original configuration directory before making edits to the enclosed files. Ctrl-t opens a konsole in the current directory, and cp -r conf confOrigBackup recursively copies the folder & contents with a new name.

Locating Apache’s Main httpd.conf File

Editing httpd.conf Using Kedit

Disabling Some Kedit Options Before Saving Changes to httpd.conf

Section1: Modules

A Note on Modules This first section of Apache's configuration file deals with modules. Modules add extra capabilities to Apache that aren't normally included in its basic set of features. If you install Mandrake's RPM modules for Apache you most likely won't ever need to manually enter any module information yourself, as the required entries will automatically be added with the packages. continued

php3 Module: An Example mod_php3 is a module that enables this popular scripting language to be used with Apache. If mod_php3 is installed on your system, you can test it by creating a simple test page as seen on the next page

Creating index.php3 for Testing of php3 Support

Testing for php3 Support

Success in Testing for php3 You can test Apache by loading the page into Netscape. If php3 wasn't enabled properly, a screen of raw text would appear instead of a normal looking web page as seen here.

A Note on Testing for php3 This is just a quick way to demonstrate if php3 is enabled on a server. php3 is a full- featured, HTML-embedded scripting language used for creating dynamically generated web pages. One common use of php3 is as a replacement for CGI scripts. Unfortunately this topic can't be covered in detail on these pages. For more info on php3, phpbuilder is a good starting point.phpbuilder

Location of Web Documents (Root)

Document Root The document root is where the web pages of the active website are kept –Similar to the home directory of the www server in Windows

Display of Directory Listing

Absence of index File A directory listing is displayed as shown in the previous slide in the absence of an index file

Activating Configuration Changes After every configuration change Apache must be restarted It is usually a good practice to make one change at a time and then check ktail to ensure that the change had been made without any errors before proceeding to make the next change

Starting, Stopping and Restarting Apache Commands –apachetl start, apachetl stop, apachetl restart GUI –Apache may also be started, stopped and restarted through the control services GUI Access the httpd service for this purpose

Redirecting 404 and Other Error Messages

Viewing of Serve Status Other IP addresses may be specified for viewing of server status from other machines.

Display of Server Status From a different machine.

Server Type and Port Numbers

Note on Server Type and Port Numbers Standalone is recommended for server type Information on port numbers can be found in /etc/services Users do not have to enter a port number on the address if default port numbers are maintained –Example is Port 80 used for www service

Phantom User Nobody Apache runs as a phantom user known as nobody with very limited access Anyone exploiting this name to gain access to Apache will severely be restricted from causing any damage

Phantom User

Location of Apache Configuration

Server Name

A Note on Server Name Server name is the one seen by the browsers in the filed “location name” For hosting a name accessible over the Internet, the name must have been registered and it must have a DNS entry on a DNS sever Server name need not relate to the machine’s host name

Access to Local Host Name

Adding a Host Name

The New Name

A Note on Changing Name In general, changing host names should be avoided Certain services are configured based on the host name and they may not function properly after changing the name of the host

Permissions on Folders

Access Given to Folders Permission given to others.

Right Clicking on Folders to Give Permission

Changing Permissions Show entries and change into commands will give public to enter the folder and view its contents

Summary Windows users may still use some of the techniques learned to configure and operate Linux operations However, some command line programming is still inevitable In the long run, more GUI based operations is likely to be introduced in Linux

Giving Permission using the chmod Command