Cloud Homework instructions for AWS default instance (Red Hat based)



Similar documents
How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

LAMP Quickstart for Red Hat Enterprise Linux 4

LAMP : THE PROMINENT OPEN SOURCE WEB PLATFORM FOR QUERY EXECUTION AND RESOURCE OPTIMIZATION. R. Mohanty Mumbai, India

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

GestióIP IPAM v3.0 IP address management software Installation Guide v0.1

OS Installation: CentOS 5.8

Installing Booked scheduler on CentOS 6.5

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU (TRUSTY TAHR)

Cassandra Installation over Ubuntu 1. Installing VMware player:

ULTEO OPEN VIRTUAL DESKTOP UBUNTU (PRECISE PANGOLIN) SUPPORT

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

CPE111 COMPUTER EXPLORATION

Server Installation/Upgrade Guide

Ulteo Open Virtual Desktop Installation

Setup a Virtual Host/Website

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

Moving Drupal to the Cloud: A step-by-step guide and reference document for hosting a Drupal web site on Amazon Web Services

A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of

Partek Flow Installation Guide

BF2CC Daemon Linux Installation Guide

OpenPro ERP Software Installation Guide REDHAT LINUX

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

AWS Schema Conversion Tool. User Guide Version 1.0

Installation documentation for Ulteo Open Virtual Desktop

AWS Schema Conversion Tool. User Guide Version 1.0

Document Freedom Workshop DFW 2012: CMS, Moodle and Web Publishing

Contents. 1. Infrastructure

Cybozu Garoon 3 Server Distributed System Installation Guide Edition 3.1 Cybozu, Inc.

INSTALLATION GUIDE VERSION

Kollaborate Server Installation Guide!! 1. Kollaborate Server! Installation Guide!

Providing an Effective Intranet Knowledge Base Using Linux and Open Source Software

SETTING UP A LAMP SERVER REMOTELY

Expresso Quick Install

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

Install Cacti Network Monitoring Tool on CentOS 6.4 / RHEL 6.4 / Scientific Linux 6.4

Develop and Test Your PHP Applications on the IBM cloud

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

Computer Science and Engineering Linux Cisco VPN Client Installation and Setup Guide

Local Caching Servers (LCS): User Manual

How to Create, Setup, and Configure an Ubuntu Router with a Transparent Proxy.

EZblue BusinessServer The All - In - One Server For Your Home And Business

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

Cacti complete network graphing solution. Oz Melamed E&M Computing Jun 2009

Contents Set up Cassandra Cluster using Datastax Community Edition on Amazon EC2 Installing OpsCenter on Amazon AMI References Contact

How to install IntronBase on your computer. Alexander Leow

Extending Remote Desktop for Large Installations. Distributed Package Installs

Creating a DUO MFA Service in AWS

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

Dell Proximity Printing Solution. Installation Guide

EZblue BusinessServer The All - In - One Server For Your Home And Business

Single Node Hadoop Cluster Setup

OpenCATS Documentation

Simbirsk Technologies Ltd.

vtiger CRM 4.2 Installation Guide for Linux OS

Fermilab Central Web Service Site Owner User Manual. DocDB: CS-doc-5372

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

VERSION 9.02 INSTALLATION GUIDE.

JAMF Software Server Installation Guide for Linux. Version 8.6

Installing and Configuring MySQL as StoreGrid Backend Database on Linux

owncloud 8 and DigitalOcean Matthew Davidson Bluegrass Linux User Group 03/09/2015

Host your websites. The process to host a single website is different from having multiple sites.

Building Website with Drupal 7

Installation Manual Product of

System and Network Monitoring With Zabbix

Wolfr am Lightweight Grid M TM anager USER GUIDE

Of Penguins and Wildebeest. Anthony Rodgers VA7IRL

USB HSPA Modem. User Manual

Quick Start Guide Joomla!: Guidelines for installation and setup. Why Joomla!

ProjectPier v Getting Started Guide

JobScheduler - Amazon AMI Installation

Installing SQL-Ledger on Windows

Rancid Server Build and Operation Overview (v0.3) (This is being done from memory so expect some errors)

How to Install MediaWiki on Windows Server 2003

Project management integrated into Outlook

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

1. Product Information

CO Web Server Administration and Security. By: Szymon Machajewski

CentOS. Apache. 1 de 8. Pricing Features Customers Help & Community. Sign Up Login Help & Community. Articles & Tutorials. Questions. Chat.

Online Backup Client User Manual Linux

See the installation page

Software Collections

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

FirstClass Synchronization Services Install Guide

Embedded Based Web Server for CMS and Automation System

SNPsyn documentation. Release 1.1b. Tomaž Curk Gregor Rot Davor Sluga Uroš Lotrič Blaž Zupan

RecoveryVault Express Client User Manual

insync Installation Guide

Step One: Installing Rsnapshot and Configuring SSH Keys

AzMERIT Secure Browser Installation Manual For Technology Coordinators

Avira Update Manager User Manual

Modelling with R and MySQL. - Manual - Gesine Bökenkamp, Frauke Wiese, Clemens Wingenbach

Online Backup Client User Manual

Online Backup Linux Client User Manual

Online Backup Client User Manual

Tibbr Installation Addendum for Amazon Web Services

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

Ubuntu Linux Server Tutorial February 16, and its semi uncomplicated organization. We are also going to install an OpenSSH server.

How to Install SMTPSwith Mailer on Centos Server/VPS

Installation of the Shibboleth-Apache Authorisation Module. 2. Obtain and compile the Apache server software

Transcription:

Cloud Homework instructions for AWS default instance (Red Hat based) Automatic updates: Setting up automatic updates: by Manuel Corona $ sudo nano /etc/yum/yum-updatesd.conf Look for the line that says Do_update = no And change it to Do_update=yes Save the file with ctrl + o And restart the update service $ sudo /sbin/servide yum-updatesd restart For more details: http://fedoraproject.org/wiki/autoupdates NTP Update: This instance already came with NTP; no changes are needed though if you want to check the configuration: 1

$ cat /etc/ntp.conf For the cron entry: $ cat /etc/cron.daily/tmpwatch This script will update the time each day. In the file provided with Francisco they show how to use the ntp servers from Ubuntu, I recommend using the ones provided by amazon as they have lower latencies. The list is the following: 0.amazon.pool.ntp.org 1.amazon.pool.ntp.org 2.amazon.pool.ntp.org 3.amazon.pool.ntp.org LAMP (Linux Apache MySQL PHP): In fedora the web server although being apache has a different package name in this case httpd (or http daemon) To install this package use the following commands: $ sudo yum install httpd and say yes when asked. To start the service: $ sudo /sbin/service/httpd start In the document provided by Francisco several configuration flags appear, none of this are essential, unless special requirements are needed, opening unusual files, or using a non-default port for http. 2

For PHP the commands are similar: $ sudo yum install php And agree for the requirements with yes: To make these changes apply we must restart the httpd service: $ sudo /sbin/service/httpd restart To test if php is running create a file named php-test.php: $ sudo nano /var/www/html/php-test.php And add the following code: <?php phpinfo();?> To see if this command worked use your public dns name and the path in a browser: http://<mypublicdns>/php-test.php If a page with lots of information in displayed instead of the code typed then php was setup correctly. For security reasons is recommendable to delete this webpage afterwards as it provides useful information to a potential attacker. To do this: $ sudo rm /var/www/http/php-test.php Save the file with ctrl+o and exit with ctrl+x 3

To install MySQL: Issue the following command: $ sudo yum install mysql mysql-server php-mysql Agree with the dependencies with yes. This command will also install the dependencies required to make PHP work with MySQL. To start MySQL issue the following command: $ sudo /sbin/service mysqld start By default MySQL instance is insecure (root password is blank) we can secure it by issuing the following command: $ sudo /usr/bin/mysql_secure_installation Answer yes to all the questions and use [enter] for the root password at the beginning, afterwards use a secure password that you can remember when the new root password is asked. To make this daemons start at when the instance is booted we must issue this commands: $ sudo /sbin/chkconfig httpd on $ sudo /sbin/chkconfig mysqld on Now a LAMP server is installed in your instance. Installing Mediawiki: One of the LAMP applications described in the manual is Mediawiki, this application provides a wiki application, to install this we must download and extract the latest version first, as there is no package in the repositories 4

$ cd /opt $ sudo wget http://download.wikimedia.org/mediawiki/1.17/mediawiki- 1.17.0.tar.gz $ sudo tar xzvf mediawiki-1.17.0.tar.gz Once the files are extracted you must make a symbolic link that point to this folder in your web folder: $ cd /var/www/html/ $ sudo ln -s /opt/mediawiki-1.17.0/ wiki After the symbolic link has been created you must restart httpd $ sudo /sbin/service httpd restart Once this steps are finished you just need to type the address of your wiki in a web browser to continue the setup: http://<mypublicdns>/wiki/ Remember your MySQL root password as it is needed in the wiki configuration. Congratulations, you now have a wiki installed in your instance! This concludes the instructions to set up your instance. 5