CTEC1863/2017F Lab #11, Part 1 Page 1 of 11. In this lab, we will be installing a popular solution for database-driven web sites.

Size: px
Start display at page:

Download "CTEC1863/2017F Lab #11, Part 1 Page 1 of 11. In this lab, we will be installing a popular solution for database-driven web sites."

Transcription

1 CTEC1863/2017F Lab #11, Part 1 Page 1 of 11 Lab #11: LAMP In this lab, we will be installing a popular solution for database-driven web sites. This configuration is known as LAMP, an acronym standing for Linux (the operating system), Apache (the web server software), MySQL (the database server), and Programming (the code used to connect the database to a web page.) The "P" usually also stands for Perl, PHP, or Python -- the three most popular programming languages for web sites that are not based on a Microsoft Windows platform. We will be using PHP which stands for (recursively) PHP Hypertext Preprocessor -- consisting of both a programming language and an Apache add-in module. In this lab, we will be building a custom LAMP stack, with the recent versions of Apache and PHP (newer versions may have been released since the time of this writing.) Most Linux distributions offer a complete LAMP stack or components thereof as part of the software installation mechanisms, and will provide updates. However, the distribution updates usually lag behind the Apache and PHP projects slightly. For simplicity, we will be using the CentOS distribution version of MariaDB. Part 1: Apache Web Server The Apache HTTP (WWW) server is a powerful tool for publishing documents, images, forms, and other content on the Internet (or other TCP/IP networks). It is also the most popular web server software on the Internet today, used for over two-thirds of web sites worldwide! Although Apache contains many complex features, setting up and starting a basic Apache Web server in UNIX or Linux is fairly easy. After your web server is up and running, you need to add the web content you want to share and watch log files. Directives in Apache configuration files can continue to be modified to make sure that your server has enough resources to handle the demand and to suit the level of security you are comfortable with. NOTE: The following information (pages 1 to 6) are background material on Apache. You can skip right to the lab procedure on page 7 and read later.

2 CTEC1863/2017F Lab #11, Part 1 Page 2 of 11 Configuring Apache The httpd.conf file (typically located in your /usr/local/apache/conf directory) is the centre of Apache web server configuration. This is a plain text file consisting of about 1000 lines of information. Most of that information is in the form of comments that are either descriptions of a directive or actual lines you could use by removing comment characters (#) from the beginning of each line. NOTE: The current 2.4.x branch of Apache has split httpd.conf into multiple files. The other files are stored in the extra subdirectory. For example, release has the following extra files: httpd-autoindex.conf httpd-languages.conf httpd-ssl.conf httpd-dav.conf httpd-manual.conf httpd-userdir.conf httpd-default.conf httpd-mpm.conf httpd-vhosts.conf httpd-info.conf httpd-multilang-errordoc.conf proxy-html.conf For basic Apache configuration, all of the relevant settings are in httpd.conf., so all of the extra files do not need to be modified. Because httpd.conf is a plain text file, you can change its contents by simply editing that file. Any directives you change take effect when the web service (actually the HTTP daemon -- httpd) restarts. The rest of this part describes ways in which you can change httpd.conf to better suit your needs. It highlights directives that you might need or want to change; however, you should take the time to read through the entire httpd.conf file so you get a more complete understanding of its contents. So, to get started: 1. Make a copy of your httpd.conf file: cp httpd.conf httpd.conf.orig (Also do this for any extra.conf file that you need to change.) 2. Open httpd.conf in a text editor. 3. Step through the following sections on changing the httpd.conf file. Identifying File Locations You can change the location of the files and directories used by the Apache web server. Many of these locations are set using the full path, while others are set relative to the value of the ServerRoot directive. This section shows the default values set for the files and directories that Apache uses.

3 CTEC1863/2017F Lab #11, Part 1 Page 3 of 11 The following is how the ServerRoot directive is set in the httpd.conf file: ServerRoot "/usr/local/apache" This line indicates that any path defined in the httpd.conf file that doesn't begin with a slash (/) has /usr/local/apache prepended to it. The location of the documents that your web server shares with others on the network is set using the DocumentRoot directive. The following value of DocumentRoot causes all documents in the directory (and its subdirectories) to be made available via a URL: DocumentRoot "/usr/local/apache/htdocs" The DocumentRoot directory maps into the "root" (/) directory for the web site i.e., the "top" of the web site. Errors encountered by the Apache web server are copied to the log file identified by the ErrorLog directive. The following global directive is set to cause Apache error messages to be copied to /usr/local/apache/logs/error_log: ErrorLog logs/error_log (because the ServerRoot [/usr/local/apache] is prepended to logs/error_log). You can customize how information from Apache server activities is logged. There is one CustomLog directive set, by default, to output formatted information to a specific log file each time someone accesses content on your web server: CustomLog logs/access_log common Besides those directives that are already noted, there are other directives that set locations of specific types of content within the directory structure that contains the web server content. Take your time and review the entries in the httpd.conf file. Allocating Resource Usage Heavy traffic to your web server can place heavy demands on your system. There are several directives you can use to limit the amount of system resources that can be consumed by Apache processing.

4 CTEC1863/2017F Lab #11, Part 1 Page 4 of 11 By allowing persistent connections to your web server (i.e., ones that let a client request more than one item with each request) your web server can operate more efficiently. The persistent connection feature is turned on by default with the KeepAlive directive as follows: KeepAlive On With KeepAlive set to On, you can set two directives that impact how persistent connections behave. MaxKeepAliveRequests is set to allow up to 100 requests for content from a single connection. KeepAliveTimeout is set to wait 15 seconds on a connection from the same client for additional requests before dropping the connection. The following shows how those values are set: MaxKeepAliveRequests 100 KeepAliveTimeout 15 The number of httpd server processes that are running on your system can have an impact on its performance. Apache tries to adapt to the demands on your server by dynamically creating more server processes (via the fork() system call) if the load requires more servers to handle the processing. The following are several directives that affect the number of server processes available on your system: MinSpareServers 5 MaxSpareServers 10 StartServers 5 With these settings, if there are fewer than five server processes waiting for a request (MinSpareServers), then a new server process is started. If there are more than ten servers idle (MaxSpareServers), extra server processes are stopped. Five servers are started initially (StartServers). Because the maximum number of servers running indicate the maximum number of clients that can be connected to your server at any one time, having enough server processes is important to prevent access from being denied. Conversely, allowing more servers than your computer can handle can result in too much demand, taking down your server. The following directive can be used to adjust the availability of resources to clients from your server: MaxRequestWorkers 150

5 CTEC1863/2017F Lab #11, Part 1 Page 5 of 11 Up to 150 clients (MaxRequestWorkers) can be served at the same time by default. If your server is under greater demand, you can increase the number, provided that your hardware can handle the additional load. The rule of thumb for configuring Apache is taken from the "Apache Performance Notes" web page ( "The single biggest hardware issue affecting webserver performance is RAM. A webserver should never ever have to swap, swapping increases the latency of each request beyond a point that users consider "fast enough". This causes users to hit stop and reload, further increasing the load. You can, and should, control the MaxRequestWorkers setting so that your server does not spawn so many children it starts swapping. "Beyond that the rest is mundane: get a fast enough CPU, a fast enough network card, and fast enough disks, where 'fast enough' is something that needs to be determined by experimentation." Setting Up Web Server Content Based on values in httpd.conf, there is some structure already in place to contain your web server's content. As noted earlier, the default locations for you to place the content that is made available by your web server are: 1. /usr/local/apache/htdocs - This is the primary location of files served by your web server. This location is set by the value of DocumentRoot in the httpd.conf file. 2. ~user/public_html - Users can create their own public_html directories within their home directories. For example, if someone tries to access a user's personal web page by typing something like then Apache accesses the public_html directory content in user chris's home directory, such as /home/chris/public_html/index.html For users to allow access to their public_html directories, they probably need to change access permissions to their home directory. For example, the user named chris could type chmod 755 $HOME to open her directory for web server access.

6 CTEC1863/2017F Lab #11, Part 1 Page 6 of 11 Though you can set up the structure of your htdocs directory tree as you please, there is some structure already in place. Of course, using directives in the httpd.conf file, you can change the locations of these elements. The following is a list of the default locations used to contain your web server content: /usr/local/apache/cgi-bin/ This directory is set up to contain server CGI (Common Gateway Interface) scripts. /usr/local/apache/icons/ This directory contains icon graphics that are distributed with the Apache server and can be used freely with web content. When a client opens a URL to connect to your web site, instead of seeing a listing of files in the directory requested, the Apache server looks for a file in that directory based on the value of the DirectoryIndex directive. The following is how that directive is set by default: <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> A more flexible setting may allow for alternate names or forms of index documents. For example, DirectoryIndex index.php index.cgi index.html default.htm With the preceding line, if an index.php (a PHP script) file is found, the contents of that file are processed and the output is returned to the client. Otherwise, the server looks for an index.cgi (typically, a Perl CGI script), and index.html (the default for Apache) and default.htm (the default for classic Microsoft IIS) in that order to find a page to display. So, if you are setting up your own web server from scratch, the first file you want to replace is the index.html file in the /usr/local/apache/htdocs directory. Or you can remove that file and replace it with one of the other index files. By default on UNIX, Apache runs as the nobody user and the nobody group. This is to provide security, so that the web server software is not running as root, preventing any crackers from exploiting any security holes. (Because nobody and nobody are very general, we can create a user and group specific to the web server, that have the same lack of privileges.)

7 CTEC1863/2017F Lab #11, Part 1 Page 7 of 11 Installing Apache NOTE: These instructions are intended for CentOS 7. To start, download Apache from the course web site. The latest version can always be downloaded from The three files that are needed: apr tar.bz2 apr-util tar.bz2 httpd tar.bz2 I have bundled all three of these (plus PHP [php tar.xz] for Part 3) into one tarball: lab11src.tar.xz (This tarball uses xz compression, which is presently one of the most compact forms available on Linux.) From the command line, the wget tool is useful: 1a) Download the tarball to the c.w.d.: wget 1b) Extract the contents of the tarball into the c.w.d.: tar Jxf lab11src.tar.xz or 2) Download and extract the tarball in one command: wget -O - tar Jxf - or... continued...

8 CTEC1863/2017F Lab #11, Part 1 Page 8 of Download instructions continued... 3a) Use Firefox (or another web browser) to download the tarball; typically, it will be downloaded into your Downloads directory. 3b) Extract the browser-downloaded tarball into the c.w.d.: tar Jxf ~/Downloads/lab11src.tar.xz All of these tar commands will create and extract lab11 in the c.w.d. Run pwd so you remember what that directory is. su - Become root cd dir/lab11/ cd scripts/ it should be there I have written several shell scripts to save you typing Update CentOS and Install Additional Linux Software Required Before Building./update_centos./install_prereqs Build and Install Apache HTTP Server./build_apache Your Local Installation Before running Apache, for the first time, edit the main Apache configuration file, httpd.conf, found in the /usr/local/apache/conf directory. Since we are not running Apache "live" on the Internet with a fully-qualified domain name (FQDN) and our own DNS server, we need to change the ServerName directive so that Apache does not complain on start up.

9 CTEC1863/2017F Lab #11, Part 1 Page 9 of 11 Uncomment the ServerName line, i.e., remove the # at the start of the line if it is commented out, and change the setting to your current IP address. (The other setting is your address.) For example: Save the file. Whenever you make changes to httpd.conf, you should check to make sure that the changes you made are acceptable: /usr/local/apache/bin/apachectl configtest You should see the "Syntax OK" message. If not, you need to correct your httpd.conf file. Procedure to edit and test Apache configuration; then start, test, and stop Apache: cd /usr/local/apache/conf/ vi httpd.conf (Don't actually use vi, use pico, nano or gedit!)../bin/apachectl configtest../bin/apachectl start ps -ef grep httpd cd../logs/ cat error_log cat access_log

10 CTEC1863/2017F Lab #11, Part 1 Page 10 of 11 wget -q -O - cat access_log../bin/apachectl stop cat error_log../bin/apachectl start Improving the Web Site Content With a text editor, edit the index.html, convert it to proper HTML5, and put your name in the <title> section: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>mike Boldin's Web Site</title> </head> <body> <h1>it works!</h1> </body> </html> Viewing Web Pages Test URLs in Firefox on CentOS using your hostname. (Use your IP address from another computer [Linux or Windows] connected to the CIT network.) You can also use the wget command on Linux. You will see the raw HTML output, as opposed to the processed HTML presentation generated by a web browser: wget -q -O - The -O option (capital O) specifies the output file, -O - combination causes wget to write its output to standard output i.e., to your Terminal window. (The -q switch ["quiet"] suppresses any connection/progress/protocol information output by wget; it turns off any status messages, so you only see the web content.)

11 CTEC1863/2017F Lab #11, Part 1 Page 11 of 11 SUMMARY: To start up Apache: /usr/local/apache/bin/apachectl start SUMMARY: To restart Apache after changing its configuration: /usr/local/apache/bin/apachectl restart SUMMARY: To shut down Apache: /usr/local/apache/bin/apachectl stop Finally, to automatically start and stop Apache as a service: 1) Manually stop Apache (see above) 2) cd back to the lab11/scripts directory 3)./make_apache_service When You Are Done Run the following command: ls -lr /usr/local/apache gzip -9c > ls-lr.gz ls-lr.gz and your /usr/local/apache/conf/httpd.conf file to your professor. (Or post on BB.)

CSN09101 Networked Services. Module Leader: Dr Gordon Russell Lecturers: G. Russell

CSN09101 Networked Services. Module Leader: Dr Gordon Russell Lecturers: G. Russell CSN09101 Networked Services Week 8: Essential Apache Module Leader: Dr Gordon Russell Lecturers: G. Russell This lecture Configuring Apache Mod_rewrite Discussions Configuring Apache Apache Very well known

More information

L.A.M.P. Stack Part I

L.A.M.P. Stack Part I L.A.M.P. Stack Part I By George Beatty and Matt Frantz This lab will cover the basic installation and some configuration of a LAMP stack on a Ubuntu virtual box. Students will download and install the

More information

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh Apache + PHP + MySQL bdnog7 18-22 November 2017 Dhaka, Bangladesh Outline q Introduction to Apache httpd web server q Basic Compilation, Installation and Configuration q Apache File system q Apache Logging

More information

Apache Web Server Administration for Windows

Apache Web Server Administration for Windows or tri N s di IO n tio AT uc od pr re U ed AL riz ho ut na EV U is i ib d tie PY oh pr O n C io t bu Apache Web Server Administration for Windows Apache Web Server Administration for Windows (AWS101 version

More information

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU 14.04 BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE SERVER AND UBUNTU 14.04 THE SET UP This may be a little rough in some places because not all the terms

More information

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool.

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool. Outline q Introduction to Apache httpd web server q Basic Compilation, Installation and Configuration q Apache File system q Apache Logging & Status q Security & Performance Features q Virtual Hosting

More information

[UNIT 1 <Continued>]: <Understanding Apache>

[UNIT 1 <Continued>]: <Understanding Apache> [UNIT 1 ]: Directives DocumentRoot This directive specifies the root directory of the server s content hierarchy, Syntax DocumentRoot dir Where dir is the directory s

More information

Securing Apache: Step-by-Step by Artur Maj last updated May 14, 2003

Securing Apache: Step-by-Step by Artur Maj last updated May 14, 2003 Infocus < http://www.securityfocus.com/infocus/1694 > Securing Apache: Step-by-Step by Artur Maj last updated May 14, 2003 This article shows in a step-by-step fashion, how to install and configure the

More information

Configuring Multiple Instances of Railo on Linux

Configuring Multiple Instances of Railo on Linux Configuring Multiple Instances of Railo on Linux The purpose of this guide is to explain how to set up multiple instances of Railo on a single instance of Linux. The instances can then be used for redundancy,

More information

Apache Install Instructions Win7 7 Php Mysql. Phpmyadmin Linux >>>CLICK HERE<<<

Apache Install Instructions Win7 7 Php Mysql. Phpmyadmin Linux >>>CLICK HERE<<< Apache Install Instructions Win7 7 Php Mysql Phpmyadmin Linux sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin. And in particular Yeah, Test PHP instructions are still, or perhaps again

More information

Configure Wildcard-Based Subdomains

Configure Wildcard-Based Subdomains Configure Wildcard-Based Subdomains Apache s virtual hosting feature makes it easy to host multiple websites or web applications on the same server, each accessible with a different domain name. However,

More information

HTTP HyperText Transfer Protocol

HTTP HyperText Transfer Protocol HTTP HyperText Transfer Protocol Miguel Leitão, 2012 1 HTTP HTTP is the protocol that supports communication between Web browsers and Web servers. From the RFC: HTTP is an application-level protocol with

More information

LAMP Stack with VirtualHosts On Centos 6.x

LAMP Stack with VirtualHosts On Centos 6.x LAMP Stack with VirtualHosts On Centos 6.x This article illustrates how to install the Apache Mysql PHP Stack on Centos 6.x. Additionally, with this configuration, you can serve Multiple Domains using

More information

DEPLOYMENT GUIDE Version 1.0. Deploying F5 with Apache Web Servers

DEPLOYMENT GUIDE Version 1.0. Deploying F5 with Apache Web Servers DEPLOYMENT GUIDE Version 1.0 Deploying F5 with Apache Web Servers Table of Contents Table of Contents Deploying the BIG-IP LTM with the Apache web server Prerequisites and configuration notes... 1 Product

More information

Apache Httpd Manual Conf Virtualhost Redirect

Apache Httpd Manual Conf Virtualhost Redirect Apache Httpd Manual Conf Virtualhost Redirect Most linux distributions setup Apache with set of Note that it used to be named httpd.conf, if you In an Apache config file you will likely have a VirtualHost

More information

Fachgebiet Technische Informatik, Joachim Zumbrägel

Fachgebiet Technische Informatik, Joachim Zumbrägel Computer Network Lab 2017 Fachgebiet Technische Informatik, Joachim Zumbrägel Overview Internet Internet Protocols Fundamentals about HTTP Communication HTTP-Server, mode of operation Static/Dynamic Webpages

More information

Install WordPress 3.X In Multi Blog / Multi user mode On localhost

Install WordPress 3.X In Multi Blog / Multi user mode On localhost Install WordPress 3.X In Multi Blog / Multi user mode On localhost In this tutorial, we will cover how to setup WordPress as a Multi User /Multi Blog. We ll start by downloading and installing a new version

More information

Mac OS X Server Web Technologies Administration. For Version 10.3 or Later

Mac OS X Server Web Technologies Administration. For Version 10.3 or Later Mac OS X Server Web Technologies Administration For Version 10.3 or Later apple Apple Computer, Inc. 2003 Apple Computer, Inc. All rights reserved. The owner or authorized user of a valid copy of Mac OS

More information

Global Servers. The new masters

Global Servers. The new masters Global Servers The new masters Course so far General OS principles processes, threads, memory management OS support for networking Protocol stacks TCP/IP, Novell Netware Socket programming RPC - (NFS),

More information

Linux Network Administration. Apache Web Server COMP1071 Summer 2017

Linux Network Administration. Apache Web Server COMP1071 Summer 2017 Linux Network Administration Apache Web Server COMP1071 Summer 2017 Overview Apache2 is a software package which provides the infrastructure to deliver web services It is flexible, fast, open source, scalable,

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

This material is based on work supported by the National Science Foundation under Grant No

This material is based on work supported by the National Science Foundation under Grant No This material is based on work supported by the National Science Foundation under Grant No. 0802551 Any opinions, findings, and conclusions or recommendations expressed in this material are those of the

More information

Preparing Your Working Environment

Preparing Your Working Environment A Preparing Your Working Environment In order to avoid any headaches while going through the case studies in this book, it's best to install the necessary software and configure your environment the right

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

Apache, Php, MySql Configuration

Apache, Php, MySql Configuration 1.0 Introduction Apache, Php, MySql Configuration You will be guided to install the Apache web server and PHP and then configure them with MySQL database. There are several pre-requisite tasks MUST be

More information

IBM Education Assistance for z/os V2R2

IBM Education Assistance for z/os V2R2 IBM Education Assistance for z/os V2R2 Item: IBM HTTP Server move from Domino to Apache Element/Component: IBM HTTP Server Material current as of September 2015 Agenda Trademarks Presentation Objectives

More information

How to Create a NetBeans PHP Project

How to Create a NetBeans PHP Project How to Create a NetBeans PHP Project 1. SET UP PERMISSIONS FOR YOUR PHP WEB SITE... 2 2. CREATE NEW PROJECT ("PHP APPLICATION FROM REMOTE SERVER")... 2 3. SPECIFY PROJECT NAME AND LOCATION... 2 4. SPECIFY

More information

LING 408/508: Computational Techniques for Linguists. Lecture 20

LING 408/508: Computational Techniques for Linguists. Lecture 20 LING 408/508: Computational Techniques for Linguists Lecture 20 Today's Topic Did everyone get their webserver (OS X or Ubuntu or both) up and running? Apache2 Last time: we configured the root site http://localhost/

More information

Illustrated Steps to create greggroeten.net with AWS

Illustrated Steps to create greggroeten.net with AWS Illustrated Steps to create greggroeten.net with AWS Screenshots of each step Table of Contents 1. CREATE VPC 10.10.0/16.... 3 2. CREATE 1 PUBLIC SUBNET IN DEFAULT AZ, EX BELOW... 4 3. CREATE IGW, ATTACH

More information

Introduction to Linux

Introduction to Linux Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions

More information

macos High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers

macos High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers macos 10.13 High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers Andy Miller posted on 10/22/2017 in macos + sierra + apache + homebrew + php 14 mins

More information

Managing Xen With Xen-Tools, Xen-Shell, And Argo

Managing Xen With Xen-Tools, Xen-Shell, And Argo By Falko Timme Published: 2006-10-21 20:35 Managing Xen With Xen-Tools, Xen-Shell, And Argo Version 1.0 Author: Falko Timme Last edited 10/21/2006 This guide describes how

More information

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common All steps as root, unless mentioned otherwise. First of all, configure your Apache server to use combined, instead of common as log format, in /etc/httpd/conf/httpd.conf. In Section 1: CustomLog logs/access_log

More information

MassTransit Enterprise Web Configuration

MassTransit Enterprise Web Configuration MassTransit Enterprise Web Configuration Version: 2.1.1 Date: 03/04/2008 Group Logic, Inc. 1110 N. Glebe Road, Suite 450 Arlington, VA 22201 Phone: (703) 528-1555 Fax: (703) 527-2567 Email: info@grouplogic.com

More information

Setting Up PHPlist (Open-Source Newsletter Manager)

Setting Up PHPlist (Open-Source Newsletter Manager) By Oliver Meyer Published: 2008-05-25 18:48 Setting Up PHPlist (Open-Source Newsletter Manager) Version 1.0 Author: Oliver Meyer Last edited 04/23/2008 This document

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Introduction to the shell Part II

Introduction to the shell Part II Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility

More information

Big Brother HowTo robin 12apr2001

Big Brother HowTo robin 12apr2001 Big Brother HowTo robin 12apr2001 How BB works...1 A. Installation...1 1. BB Server setup... 1 BB server configuration... 2 2. Set up client machines :... 2 3. On all clients and server, create a startup

More information

Read Source Code the HTML Way

Read Source Code the HTML Way Read Source Code the HTML Way Kamran Soomro Abstract Cross-reference and convert source code to HTML for easy viewing. Every decent programmer has to study source code at some time or other. Sometimes

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Installing mod_perl 1.0 in Three Steps

Installing mod_perl 1.0 in Three Steps ,ch02.21082 Page 25 Thursday, November 18, 2004 12:34 PM Chapter 217 CHAPTER 2 Getting Started Fast This chapter is about getting started with mod_perl, for the very impatient. If all you want is to run

More information

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

Install Apache, PHP And MySQL On CentOS 7 (LAMP) Install Apache, PHP And MySQL On CentOS 7 (LAMP) Version 1.0 Authors: Till Brehm , Falko Timme Updates: Srijan Kishore Follow Howtoforge

More information

VCP-DCV5, OCP (DBA), MCSA, SUSE CLA, RHCSA-7]

VCP-DCV5, OCP (DBA), MCSA, SUSE CLA, RHCSA-7] Alternate Titles: APACHE V-HOST SETUP Author: Muhammad Zeeshan Bhatti [LPI, VCP-DCV5, OCP (DBA), MCSA, SUSE CLA, RHCSA-7] (http://zeeshanbhatti.com) (admin@zeeshanbhatti.com) APACHE V-HOST SETUP [root@zeeshanbhatti

More information

Certification. The HTTP Service

Certification. The HTTP Service Certification The HTTP Service UNIT 5 The HTTP Service 1 Objectives Learn the major features of the Apache HTTP server Be able to configure important Apache parameters Learn per-directory configuration

More information

Chapters. Web-Technologies I 1

Chapters. Web-Technologies I 1 Web-Technologies Chapters Server-Side Programming: Methods for creating dynamic content Web-Content-Management Excurse: Server Apache Client-Side Programming (Next Lesson) Web-Services (Next Lesson) Search

More information

1 Installation 2 "Add New Printer"... Window 3 "Device for" Window "Device URI for"... Window. 7 Specify Printer... Model

1 Installation 2 Add New Printer... Window 3 Device for Window Device URI for... Window. 7 Specify Printer... Model Contents I Table of Contents Part I Document Overview 2 Part II Linux Installation Options 3 Part III CUPS Installation 4 1 Installation... 4 2 "Add New Printer"... Window 6 3 "Device for" Window... 6

More information

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH ViMP 2.0 Installation Guide Verfasser: ViMP GmbH Table of contents About this document... 3 Prerequisites... 4 Preparing the server... 5 Apache2... 5 PHP... 5 MySQL... 5 Transcoding... 6 Configuration...

More information

CSCI 201 Lab 1 Environment Setup

CSCI 201 Lab 1 Environment Setup CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated

More information

WA2572 Introduction to Responsive Web Development for Mac. Classroom Setup Guide. Web Age Solutions Inc.

WA2572 Introduction to Responsive Web Development for Mac. Classroom Setup Guide. Web Age Solutions Inc. WA2572 Introduction to Responsive Web Development for Mac Classroom Setup Guide Web Age Solutions Inc. 1 Table of Contents Part 1 - Minimum Hardware Requirements...3 Part 2 - Minimum Software Requirements...3

More information

User Manual. version 1.6-r1

User Manual. version 1.6-r1 User Manual version 1.6-r1 Contents 1 What is Confixx? - General Information 4 1.1 Login................................ 4 1.2 Settings Lag............................ 5 2 The Sections of the Web Interface

More information

Bitnami OroCRM for Huawei Enterprise Cloud

Bitnami OroCRM for Huawei Enterprise Cloud Bitnami OroCRM for Huawei Enterprise Cloud Description OroCRM is a flexible open-source CRM application. OroCRM supports your business no matter the vertical. If you are a traditional B2B company, franchise,

More information

CS101 Lecture 04: How the Web Works Publishing Web pages. What You ll Learn Today

CS101 Lecture 04: How the Web Works Publishing Web pages. What You ll Learn Today CS101 Lecture 04: How the Web Works Publishing Web pages Aaron Stevens 28 January 2011 1 What You ll Learn Today How does the WWW work? What are web servers, anyway? So I got some HTML pages and stuff.

More information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System

More information

Course Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1

Course Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1 Today s Topics Web Resources Amazon EC2 Linux Apache PHP Workflow and Tools Extensible Networking Platform 1 1 - CSE 330 Creative Programming and Rapid Prototyping Course Wiki Extensible Networking Platform

More information

Bitnami Ruby for Huawei Enterprise Cloud

Bitnami Ruby for Huawei Enterprise Cloud Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components

More information

[ Due: N.A ] [ Points: PRICELESS ] [ Date: 2/9/2016] [ Goings, Jesse ] Computer Network Specialist Center For Arts and Technology College Kelowna BC

[ Due: N.A ] [ Points: PRICELESS ] [ Date: 2/9/2016] [ Goings, Jesse ] Computer Network Specialist Center For Arts and Technology College Kelowna BC [UNIT 1]: This course will be implemented strictly with Linux operating systems Upcoming Topics: MySQL PHP Apache Books required for classes LPICK Foundations of CentOS Apache Apache

More information

Princess Nourah bint Abdulrahman University. Computer Sciences Department

Princess Nourah bint Abdulrahman University. Computer Sciences Department Princess Nourah bint Abdulrahman University Computer Sciences Department 1 And use http://www.w3schools.com/ PHP Part 1 Objectives Introduction to PHP Computer Sciences Department 4 Introduction HTML CSS

More information

Apache MySQL PHP PHPAdmin Install

Apache MySQL PHP PHPAdmin Install Apache MySQL PHP PHPAdmin Install Installing Apache 2 To only install the apache2 webserver, use any method to install apache2 It requires a restart for it to work sudo /etc/init.d/apache2 restart Checking

More information

Apache Web Server Administration for Linux

Apache Web Server Administration for Linux or tri N s di IO n tio AT uc od pr re U ed AL riz ho ut na EV U is i ib d tie PY oh pr O n C io t bu Apache Web Server Administration for Linux Apache Web Server Administration for Linux (AWS201 version

More information

TPF : Support : Tools : SOAP

TPF : Support : Tools : SOAP Page 1 of 8 SOAP Module for Apache on TPF: mod_tpf_soap (c) Copyright International Business Machines Corporation, 2003. All Rights Reserved. Note to US Government Users Restricted Rights - Use, duplication

More information

Your Apache ssl.conf in /etc/httpd.conf.d directory has the following SSLCertificate related directives.

Your Apache ssl.conf in /etc/httpd.conf.d directory has the following SSLCertificate related directives. If you ever need to use HTTPS or SSL with your website, you will need to have an SSL certificate created, which your Apache web server would use to hand out to the web browsers of the site visitors. The

More information

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

More information

Introduction to Lab Practicals (Lab Intro 3) Access Control, Synchronisation and Remote Access

Introduction to Lab Practicals (Lab Intro 3) Access Control, Synchronisation and Remote Access Introduction to Lab Practicals (Lab Intro 3) Access Control, Synchronisation and Remote Access 1 Introduction This practical is intended to familiarise you with the file access control mechanisms of Linux

More information

SELinux Workshop Redux Jamie Duncan, Red Hat RVaLUG 19 April 2014

SELinux Workshop Redux Jamie Duncan, Red Hat RVaLUG 19 April 2014 SELinux Workshop Redux Jamie Duncan, Red Hat RVaLUG 19 April 2014 Introduction The expectation is that you will either have a virtual machine to use, or that you will revert any changes made to your machine

More information

SOFTWARE INSTALLATION README

SOFTWARE INSTALLATION README SOFTWARE INSTALLATION README This software uses two directories for its installation. One is a public directory, and one is a private, or secure directory. Kryptronic software installs in two different

More information

Aware IM Version 8.1 Installation Guide

Aware IM Version 8.1 Installation Guide Aware IM Version 8.1 Copyright 2002-2018 Awaresoft Pty Ltd CONTENTS 1 INSTALLATION UNDER WINDOWS OPERATING SYSTEM... 3 1.1 HARDWARE AND SOFTWARE REQUIREMENTS... 3 1.2 USING THE INSTALLATION PROGRAM...

More information

VERITAS Volume Manager Installation Guide

VERITAS Volume Manager Installation Guide VERITAS Volume Manager Installation Guide Release 3.0.4 PLEASE READ THIS BEFORE INSTALLING THE SOFTWARE! Solaris April, 2000 P/N 100-001634 1999-2000 VERITAS Software Corporation. All rights reserved.

More information

9.2 Linux Essentials Exam Objectives

9.2 Linux Essentials Exam Objectives 9.2 Linux Essentials Exam Objectives This chapter will cover the topics for the following Linux Essentials exam objectives: Topic 3: The Power of the Command Line (weight: 10) 3.3: Turning Commands into

More information

Lab 3.4.2: Managing a Web Server

Lab 3.4.2: Managing a Web Server Topology Diagram Addressing Table Device Interface IP Address Subnet Mask Default Gateway R1-ISP R2-Central Eagle Server S0/0/0 10.10.10.6 255.255.255.252 N/A Fa0/0 192.168.254.253 255.255.255.0 N/A S0/0/0

More information

Zend Core TM. Installation and Maintenance Guide. Zend Core for Oracle. By Zend Technologies, Inc. w w w. z e n d. c o m

Zend Core TM. Installation and Maintenance Guide. Zend Core for Oracle. By Zend Technologies, Inc. w w w. z e n d. c o m Zend Core TM Installation and Maintenance Guide Zend Core for Oracle By Zend Technologies, Inc. w w w. z e n d. c o m Disclaimer The information in this document is subject to change without notice and

More information

GMU Specifications And Installation Procedures Page 1 04/04/08. JBM Gateway Management Utility Server Specifications And Installation Procedures

GMU Specifications And Installation Procedures Page 1 04/04/08. JBM Gateway Management Utility Server Specifications And Installation Procedures And Installation Procedures Page 1 04/04/08 JBM Gateway Management Utility Server Specifications And Installation Procedures And Installation Procedures Page 2 04/04/08 GMU Specifications... 3 Recommended

More information

How To Start Mysql Use Linux Command Line Client In Xampp

How To Start Mysql Use Linux Command Line Client In Xampp How To Start Mysql Use Linux Command Line Client In Xampp It also assumes that you're familiar with the MySQL command-line client and that you And since both Amazon and Bitnami have a free tier, you can

More information

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance What is OVH Public Cloud Public Cloud Instances provides a choice of two types of virtual machines: the RAM instances are

More information

Lab #10: Using Linux with Microsoft Windows

Lab #10: Using Linux with Microsoft Windows CTEC1863/2017F Lab #10 Samba Page 1 of 11 Lab #10: Using Linux with Microsoft Windows In this lab, we turn Linux into a Microsoft Windows network server using Samba, "the free SMB and CIFS client and server

More information

K-RATE INSTALLATION MANUAL

K-RATE INSTALLATION MANUAL K-RATE INSTALLATION MANUAL K-Rate Installation Manual Contents SYSTEM REQUIREMENTS... 3 1. DOWNLOADING K-RATE... 4 STEP 1: LOGIN TO YOUR MEMBER ACCOUNT... 4 STEP 2: ENTER DOMAIN NAME... 5 STEP 3: DOWNLOAD

More information

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242 Index A Advanced Linux Sound Architecture (ALSA) device, 214 Airplay amixer command, 252 boot, 255 build script, 254 Build.PL script, 254 central controlling system, 251 lsmod command, 252 make command,

More information

FUJITSU Cloud Service S5 Installation and Configuration of MySQL on a CentOS VM

FUJITSU Cloud Service S5 Installation and Configuration of MySQL on a CentOS VM FUJITSU Cloud Service S5 Installation and Configuration of MySQL on a CentOS VM This guide details the steps required to install and configure MySQL on a CentOS VM Introduction The FUJITSU Cloud Service

More information

Observium Enable your new virtual host 4

Observium Enable your new virtual host 4 Observium Contents 1 Introduction 1 1.1 Goals................................. 1 1.2 Notes................................. 1 2 Observium installation 2 2.1 1. Installation based on offical instructions.............

More information

Xcalar Installation Guide

Xcalar Installation Guide Xcalar Installation Guide Publication date: 2018-03-16 www.xcalar.com Copyright 2018 Xcalar, Inc. All rights reserved. Table of Contents Xcalar installation overview 5 Audience 5 Overview of the Xcalar

More information

D x R. nursing INSTRUCTOR MANUAL STUDENT MANUAL TECHNICAL APPENDIX

D x R. nursing INSTRUCTOR MANUAL STUDENT MANUAL TECHNICAL APPENDIX D x R nursing INSTRUCTOR MANUAL STUDENT MANUAL TECHNICAL APPENDIX Contents SETTING UP THE DXR NURSING SITE...2 DIRECTORY STRUCTURE AND INSTALLATION PROCESS...3 CONFIGURATION OF IIS WEBSITES...4-6 APACHE

More information

(Worth 50% of overall Project 1 grade)

(Worth 50% of overall Project 1 grade) 第 1 页共 8 页 2011/11/8 22:18 (Worth 50% of overall Project 1 grade) You will do Part 3 (the final part) of Project 1 with the same team as for Parts 1 and 2. If your team partner dropped the class and you

More information

The Unix Shell & Shell Scripts

The Unix Shell & Shell Scripts The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises

More information

CentOS 6.7 with Vault MySQL 5.1

CentOS 6.7 with Vault MySQL 5.1 CentOS 6.7 with Vault MySQL 5.1 OS Middleware Installation Web Server, MySQL and PHP Other Middleware Middleware Setup and Configuration Database PHP NetCommons2 Before Install Preparation Installation

More information

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1 Linux Essentials Smith, Roderick W. ISBN-13: 9781118106792 Table of Contents Introduction xvii Chapter 1 Selecting an Operating System 1 What Is an OS? 1 What Is a Kernel? 1 What Else Identifies an OS?

More information

3 Installation from sources

3 Installation from sources 2018/02/14 10:00 1/11 3 Installation from sources 3 Installation from sources You can get the very latest version of Zabbix by compiling it from the sources. A step-by-step tutorial for installing Zabbix

More information

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr.

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr. Preface This installation guide explains how to install the "ETERNUSmgr for HP-UX" storage system management software on an ETERNUS DX400 series, ETERNUS DX8000 series, ETERNUS2000, ETERNUS4000, ETERNUS8000,

More information

Setting up a Chaincoin Masternode

Setting up a Chaincoin Masternode Setting up a Chaincoin Masternode Introduction So you want to set up your own Chaincoin Masternode? You ve come to the right place! These instructions are correct as of April, 2017, and relate to version

More information

Installing MyDNS And The MyDNSConfig Control Panel On Fedora 8

Installing MyDNS And The MyDNSConfig Control Panel On Fedora 8 By Falko Timme Published: 2007-12-06 19:24 Installing MyDNS And The MyDNSConfig Control Panel On Fedora 8 Version 1.0 Author: Falko Timme Last edited 12/03/2007 In this tutorial

More information

CHAPTER 2. Troubleshooting CGI Scripts

CHAPTER 2. Troubleshooting CGI Scripts CHAPTER 2 Troubleshooting CGI Scripts OVERVIEW Web servers and their CGI environment can be set up in a variety of ways. Chapter 1 covered the basics of the installation and configuration of scripts. However,

More information

Providing HTTP Service on a Port

Providing HTTP Service on a Port http://www.candelatech.com sales@candelatech.com +1 360 380 1618 [PST, GMT -8] Network Testing and Emulation Solutions Providing HTTP Service on a Port Goal: Configure and activate a http server bound

More information

Installing and Upgrading Cisco Network Registrar Virtual Appliance

Installing and Upgrading Cisco Network Registrar Virtual Appliance CHAPTER 3 Installing and Upgrading Cisco Network Registrar Virtual Appliance The Cisco Network Registrar virtual appliance includes all the functionality available in a version of Cisco Network Registrar

More information

IBM z Systems Development and Test Environment Tools User's Guide IBM

IBM z Systems Development and Test Environment Tools User's Guide IBM IBM z Systems Development and Test Environment Tools User's Guide IBM ii IBM z Systems Development and Test Environment Tools User's Guide Contents Chapter 1. Overview......... 1 Introduction..............

More information

Install latest version of Roundcube (Webmail) on CentOS 7

Install latest version of Roundcube (Webmail) on CentOS 7 Install latest version of Roundcube (Webmail) on CentOS 7 by Pradeep Kumar Published December 14, 2015 Updated August 3, 2017 Roundcube is a web browser based mail client & also known as webmail. It provides

More information

Apparo Fast Edit. Installation Guide 3.1

Apparo Fast Edit. Installation Guide 3.1 Apparo Fast Edit Installation Guide 3.1 Linux & IBM AIX / Standalone version [1] Table of content 1 Prior to Installation 4 1.1 Hardware requirements... 4 1.2 Supported operating systems... 4 1.3 Supported

More information

User authentication, passwords

User authentication, passwords User authentication, passwords User Authentication Nowadays most internet applications are available only for registered (paying) users How do we restrict access to our website only to privileged users?

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

This document is intended for use by Nagios XI Administrators who need a boost in I/O performance.

This document is intended for use by Nagios XI Administrators who need a boost in I/O performance. Purpose This document describes how to use a RAM disk to boost performance on a server. Target Audience This document is intended for use by Administrators who need a boost in I/O performance. Summary

More information

Apache Httpd Manual Conf Listen Ipv6 >>>CLICK HERE<<<

Apache Httpd Manual Conf Listen Ipv6 >>>CLICK HERE<<< Apache Httpd Manual Conf Listen Ipv6 8.1 Squid 2.6 Configuration Settings, 8.2 Apache 2.x-Logfile Settings section if IPv6 is not of concern to you and skip to the common ACL configuration. Note that,

More information

4 Installation from sources

4 Installation from sources 2018/07/12 20:48 1/10 4 Installation from sources 4 Installation from sources Overview You can get the very latest version of Zabbix by compiling it from the sources. A step-by-step tutorial for installing

More information