INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT

Slides:



Advertisements
Similar presentations
Secure File Transfer Protocol (SFTP) With Secure Copy (SC) What is a Secure File Transfer Protocol with Secure Copy???
Advertisements

Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy.
Student Getting Started Guide Updated June Ensure that you are connected to the Internet. 2. Launch your web browser (Internet Explorer, Firefox,
DNR-322L & DNR-326.
NetAcumen ActiveX Download Instructions
George Blank University Lecturer. Creating A Web Site at NJIT Professor Blank.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
Domain Name Server © N. Ganesan, Ph.D.. Reference.
Creating and Publishing Your own website
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Hands-On Microsoft Windows Server 2008 Chapter 8 Managing Windows Server 2008 Network Services.
Linux Operations and Administration
Guide to MCSE , Enhanced 1 Activity 10-1: Restarting Windows Server 2003 Objective: to restart Windows Server 2003 Start  Shut Down  Restart Configure.
Ch 8-3 Working with domains and Active Directory.
NORTEL NETWORKS CONFIDENTIAL CallPilot 150 Modem Access Jan 03, 2005 Version 1.5.
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
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.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Thrive Installation.
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Scoring Program Updates & XML upload to the NSRCA web site July 2013.
Copyright 2000 eMation SECURITY - Controlling Data Access with
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
Installing and Using Active Directory Written by Marc Zacharko.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
MathXL ® for School Student Training Series Enrolling in Your MathXL ® for School Class & Setting Up Your Computer for MathXL ® for School.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
How to configure DNS for a Windows 2000 domain? 1.Start the Install/Remove Programs Control Panel Applet (Start - Settings - Control Panel - Add/Remove.
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 MSE Virtual Appliance Presenter Name: Patrick Nicholson.
Copyright © 2008 Pearson Education MathXL ® for School Teacher Training Series Setting Up Your Computer for MathXL ® for School.
How to Deploy and Configure the Smart Net Total Care CSPC Collector
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Outlook Web Access (OWA) is a web mail service of Microsoft Exchange; allow users to connect remotely via a Web browser OWA is used to access ,
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Your EC2 Instance. How to Connect to your EC2 Instance?
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
WordPress and Etherpad with BlueMix and Docker. Our aim is to run on BlueMix containers (now in beta) these two famous services In the BlueMix dashboard,
1 E-Site - FTP Services Setup / install guide. 2 About FTP services can run on any desired port(s) Runs as a windows service Works for all sites installed.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
beas group AG Beas sql guide Martin Heigl CTO
Holland Computing Center STAT802 Create and access Anvil Windows 10 SAS instance 01/23/2017.
bitcurator-access-webtools Quick Start Guide
Data Virtualization Demoette… ODBC Clients
WikID installation/training
Remote Access: Guide for Windows
Lab 1 introduction, debrief
Bomgar Remote support software
Microsoft FrontPage 2003 Illustrated Complete
NetAcumen ActiveX Download Instructions
Dynamic DNS support for EGI Federated cloud
Web Programming Essentials:
Getting Started: Amazon AWS Account Creation
LING 408/508: Computational Techniques for Linguists
CGS 3175: Internet Applications Fall 2009
Configuration Of A Pull Network.
Install MySQL Community Server and MySQL Workbench
bitcurator-access-webtools Quick Start Guide
Planning a Group Policy Management and Implementation Strategy
How to install and manage exchange server 2010 OP Saklani.
Presentation transcript:

INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT (a user guide)

PROVISION/ CREATE 2 VIRTUAL MACHINES WITHIN MICROSOFT AZURE: Windows 2012 R2 server (setup as a Domain Controller). a Linux Ubuntu 14.04 Server (for installing and setting up apache2 server).

CREATING A LINUX UBUNTU SERVER (CONSIDERING YOU ALREADY HAVE KNOWLEDGE AND HAVE SET UP YOUR WINDOWS 2012 R2 SERVER, FOR YOUR DOMAIN CONTROLLER*): Click “new”, as indicated by the arrow below. Click “from gallery”, as indicated by the arrow below.

VIRTUAL MACHINE (VM) CREATION: (A QUICK WALK THROUGH GUIDE) Select the ubuntu 14.04 server vm: Add the following vm name, user name, and password.

VIRTUAL MACHINE (VM) CREATION: (A QUICK WALK THROUGH GUIDE CONTINUED*) Only change the cloud service, in this section. Select your domain controller (the other fields will population automatically*):

VIRTUAL MACHINE (VM) CREATION: (A QUICK WALK THROUGH GUIDE CONTINUED*) Finish the VM creation process: in the future, start your machine after the DC is active.

IMPORTANT: ENSURE YOU HAVE YOUR DOMAIN CONTROLLER RUNNING, BEFORE YOU START YOUR UBUNTU SERVER (OTHERWISE, YOU WILL GET AN ERROR, SIMILAR TO THE FOLLOWING SLIDE):

YOU WILL GET “FAILED TO START” ERROR, IF YOU ATTEMPT TO START THE LINUX UBUNTU SERVER BEFORE THE DOMAIN CONTROLLER:

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (DOWNLOAD THE SSH PROGRAM “PUTTY” FROM A SITE LIKE FROM THIS LINK): HTTP://WWW.CHIARK.GREENEND.ORG.UK/~SGTATHAM/PUTTY/DOWNLOAD.HTML It should bring you to this site, download and run the exe, after saving the program. Enter your VM name (for instance, cardc01.cloudapp.net)

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (CONTINUED) you may get a prompt like the following; simply click Yes to continue. Log in with username (the password will not show, as you enter it).

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (INSTALLING AN UPDATE AND INSTALLING APACHE2): Enter the command “sudo apt-get update”. look at the end of the list, to ensure some packages were “fetched”.

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (INSTALLING AN UPDATE AND INSTALLING APACHE2 CONTINUED): run the command “sudo apt-get install apache2”, to install apache2: Select “y” for yes to download the required packages:

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (INSTALLING AN UPDATE AND INSTALLING APACHE2 CONTINUED): Carry on with new installed packages: run the command cd /etc, then run a ‘ls’.

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (INSTALLING AN UPDATE AND INSTALLING APACHE2 CONTINUED): We are about to edit the files “hostname & hosts”. Run the command Sudo nano /etc/hostname (it should be blank, as shown).

CONFIGURE NETWORKING AND TEST CONNECTIVITY WITH OTHER COMPUTERS ON THE NETWORK: Edit the text file with the following IPv4 information. you can edit the name with your “machine name”; as indicate by the arrow.

INSTALL THE APACHE2 WEB SERVER ADMINISTRATION SOFTWARE: (INSTALLING AN UPDATE AND INSTALLING APACHE2 CONTINUED): We are about to edit the file “ hosts” (sometimes this file has auto updated from your hostname changes*). Run the command Sudo nano /etc/hosts (it should be blank, as shown).

CONFIGURE NETWORKING AND TEST CONNECTIVITY WITH OTHER COMPUTERS ON THE NETWORK: Edit the text file with the following IPv4 information. again, edit the name to whatever is suitable for your setup; as indicate by the arrow.

CONFIGURE NETWORKING AND TEST CONNECTIVITY WITH OTHER COMPUTERS ON THE NETWORK (CONTINUED): Save and exit (press the ‘Ctrl’ key, and then the “x” key, and press enter). Restart Ubuntu, to ensure the changes are applied.

CONFIGURE NETWORKING AND TEST CONNECTIVITY WITH OTHER COMPUTERS ON THE NETWORK (CONTINUED): After the machine has restarted, simply log back into the terminal, via PuTTY.

Confirm the setup is functioning, by running a ‘nslookup 127.0.0.1’ CONFIGURE NETWORKING AND TEST CONNECTIVITY WITH OTHER COMPUTERS ON THE NETWORK (CONTINUED): Confirm the setup is functioning, by running a ‘nslookup 127.0.0.1’

CONFIGURE APACHE2 USING PUTTY, AND CREATE A NEW VIRTUAL HOST: (ENSURE YOU CAN HOST A SIMPLE WEB PAGE AND ACCESS IT FROM YOUR WINDOWS WORKSTATION/ THE DC). Run the following commands: It will look like the following, within your terminal:

We modify our permissions, run the command sudo chmod -R 755 /var/www CONFIGURE APACHE2 USING PUTTY, AND CREATE A NEW VIRTUAL HOST: (ENSURE YOU CAN HOST A SIMPLE WEB PAGE AND ACCESS IT FROM YOUR WINDOWS WORKSTATION/ THE DC). We modify our permissions, run the command sudo chmod -R 755 /var/www

CREATING A DEMO WEBSITE PAGE: Run the command nano /var/www/epru.com/public_html/index.html (this will be the web page you will later see in you dc*). enter the following html script, within your ”index.html” text file.

CREATING A DEMO WEBSITE PAGE (CONTINUED) & SETTING UP THE CONFIGURATION FILE (.CONF): Press “Ctrl + x” to save & exit. Run the command sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/epru.com.conf

CREATING A DEMO WEBSITE PAGE (CONTINUED) & SETTING UP THE CONFIGURATION FILE (.CONF): run the command Sudo nano /etc/apache2/sites-available/epru.com.conf Edit the serverName and the DocumentRoot with your details.

CONCLUSION: ENSURING THAT YOU CAN ACCESS YOUR LINUX SERVER USING AN SFTP CLIENT ON YOUR WORKSTATION: Enter into your Domain Controller (DC). Enter: Machine name\username & password.

CONCLUSION: ENSURING THAT YOU CAN ACCESS YOUR LINUX SERVER USING AN SFTP CLIENT ON YOUR WORKSTATION: Click yes. open the server Manager/local server, Tools, then DNS to open the DNS Manager. once the popup appears, click on New Zone; form the forward lookup zones folder.

CONCLUSION: ENSURING THAT YOU CAN ACCESS YOUR LINUX SERVER USING AN SFTP CLIENT ON YOUR WORKSTATION: Enter the appropriate details and at the end; select “allow both non secure and secure dynamic updates”. enter into your forward lookup zone new folder created; after the wizard has finished (select New Host ):

CONCLUSION: ENSURING THAT YOU CAN ACCESS YOUR LINUX SERVER USING AN SFTP CLIENT ON YOUR WORKSTATION: Enter the appropriate details and click “add host”. Finally, we simply need to open a browser and enter the address details (for instance, I entered www.epru.com and in another tab, 192.168.70.10 to ensure both were setup and functioning correctly*).

CONCLUSION (SUMMARY): What we have achieved: Created a new Linux Ubuntu 14.04 server virtual machine . Updated packages for the Linux server. Installed apache2 Linux server on ubuntu. Created and edited hosts and configuration files as per setup requirements. Created html web page and saved the script (ready to view via a browser in the domain controller*). Finally, confirmed the Linux ubuntu/ apache2 server web page was accessible and viable, via another workstation (the Windows 2012 R2 server DC).