Installing Oxwall completely in Amazon Cloud

Similar documents
Ross Whetten, North Carolina State University

Tutorial 1. Account Registration

Nagios Core AMI Setup Guide

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

Configuring a Palo Alto Firewall in AWS

Installation of Informatica Services on Amazon EC2

Amazon Web Services Hands on EC2 December, 2012

Immersion Day. Getting Started with Linux on Amazon EC2

Sputnik Installation and Configuration Guide

EASYLAMP UBUNTU V1.0 DOCUMENT OWNER: OUDHUIS, JONATHAN INGRAM MICRO CLOUD EUROPE

CHEF MANUAL. Installation and Configuration. SGT, Inc. Innovation Technology Center

Connect using Putty to a Linux Server

Immersion Day. Getting Started with Linux on Amazon EC2

Progress OpenEdge. > Getting Started. in the Amazon Cloud.

Immersion Day. Getting Started with Windows Server on. Amazon EC2. Rev

Launching the SafeArchive Amazon Machine Instance

AWS Quick Start Guide. Launch a Linux Virtual Machine Version

Amazon Web Services Hands On S3 January, 2012

Working With the Amazon Machine Image (v1.3.3)

EdgeConnect for Amazon Web Services (AWS)

Immersion Day. Getting Started with Windows Server on Amazon EC2. June Rev

Pexip Infinity and Amazon Web Services Deployment Guide

Amazon Virtual Private Cloud. Getting Started Guide

Amazon Elastic Compute Cloud

Flexible Engine. Startup Guide

Creating a Yubikey MFA Service in AWS

labibi Documentation Release 1.0 C. Titus Brown

Puppet on the AWS Cloud

Amazon Elastic Compute Cloud

Deploy the Firepower Management Center Virtual On the AWS Cloud

Anvil: HCC's Cloud. June Workshop Series - June 26th

QUICK START: SYMANTEC ENDPOINT PROTECTION FOR AMAZON EC2

DogeCash Masternode Setup Guide Version 1.2 (Ubuntu 16.04)

Deploying the Cisco CSR 1000v on Amazon Web Services

Deploy and Secure an Internet Facing Application with the Barracuda Web Application Firewall in Amazon Web Services

Amazon Web Services EC2 Helix Server

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

Project Presentation

Amazon AppStream 2.0: SOLIDWORKS Deployment Guide

Load Balancing FreePBX / Asterisk in AWS

CloudEdge Deployment Guide

Launching secure-by-default SLES on Amazon EC2 instances with Amazon Virtual Private Cloud (VPC)

EASYLAMP REDHAT V1.0 DOCUMENT OWNER: OUDHUIS, JONATHAN INGRAM MICRO CLOUD EUROPE

ULTEO OPEN VIRTUAL DESKTOP DEBIAN WHEEZY (7.0) SUPPORT

2016 Workshop on Population and Speciation Genomics. Starting Your Amazon Virtual Machine

How to Install Forcepoint NGFW in Amazon AWS TECHNICAL DOCUMENT

F5 BIG-IQ Centralized Management and Amazon Web Services: Setup. Version 5.4

PCoIP Connection Manager for Amazon WorkSpaces

Virtual Machine Connection Guide for AWS Labs

Guide for Attempting an HDP Certification Practice Exam. Revision 2 Hortonworks University

SelectSurvey.NET AWS (Amazon Web Service) Integration

CloudEdge SG6000-VM Installation Guide

QUICK START: VERITAS STORAGE FOUNDATION BASIC FOR AMAZON EC2

AltaVault Cloud Integrated Storage Installation and Service Guide for Cloud Appliances

CPM. Quick Start Guide V2.4.0

Running MESA on Amazon EC2 Instances: A Guide

Workshop on Genomics 2018

SUB1X Masternode Setup Guide: Windows Version

How to set up a WordPress Website on Amazon Web Services (AWS)

Ansible Tower Quick Setup Guide

SSH to your DC/OS cluster on Unix/Linux (macos, Ubuntu, etc) SSH to your DC/OS cluster on Windows

Pexip Infinity and Amazon Web Services Deployment Guide

Buzztouch Server 2.0 with Amazon EC2

1. INTRODUCTION to AURO Cloud Computing

BriCS. University of Bristol Cloud Service Simulation Runner. User & Developer Guide. 1 October John Cartlidge & M.

We want to install putty, an ssh client on the laptops. In the web browser goto:

2014 Harvard University Center for AIDS Research Workshop on Metagenomics and Transcriptomics

LB Cache Quick Start Guide v1.0

PCoIP Connection Manager for Amazon WorkSpaces

Bitnami HHVM for Huawei Enterprise Cloud

Installing MediaWiki using VirtualBox

Amazon Elastic Cloud (EC2): An Easy Route to Your Own Dedicated Webserver

unisys Unisys Stealth(cloud) for Amazon Web Services Deployment Guide Release 2.0 May

SonicWall Web Application Firewall 2.0. AWS Deployment Guide

Azure Marketplace Getting Started Tutorial. Community Edition

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud

Lab 2 Third Party API Integration, Cloud Deployment & Benchmarking

How To Start Mysql Use Linux Command Line Client In Xampp

Deploy ERSPAN with the ExtraHop Discover Appliance and Brocade 5600 vrouter in AWS

Eucalyptus User Console Guide

CIS 76 Ethical Hacking Building an open source Pentest Sandbox, carrying out a Remote Code Execution exploit, and Remediating the RCE vulnerability.

Launch and Configure SafeNet ProtectV in AWS Marketplace

Bitnami JRuby for Huawei Enterprise Cloud

VX 9000 Virtualized Controller INSTALLATION GUIDE

Lab 2: Setting up secure access

Azure Marketplace. Getting Started Tutorial. Community Edition

Deep Learning - Recitation (1/19/2018)

Bitnami Piwik for Huawei Enterprise Cloud

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud

ElasterStack 3.2 User Administration Guide - Advanced Zone

CPM Quick Start Guide V2.2.0

AWS/LAMP/Wordpress/Bootstrap Extravaganza. I am determined to make this shit fun.

Configuring AWS for Zerto Virtual Replication

CIT 668: System Architecture

Sangoma VM SBC AMI at AWS (Amazon Web Services)

Bitnami Dolibarr for Huawei Enterprise Cloud

Using RDP with Azure Linux Virtual Machines

IT STARTED WITH A KICKSTARTER CAMPAIGN

AWS EC2 & VPC CRASH COURSE WHITNEY CHAMPION

It is recommended to complete the tutorial using a web browser from the same operating system as your Putty or SSH client (e.g. Ubuntu terminal).

Transcription:

Contents Installing Oxwall completely in Amazon Cloud... 1 PART 1 Creating AWS Instance... 1 Section 1 Security Group... 1 Section 2 - A LAMP-friendly instance... 2 Section 3 - The Elastic IP... 5 PART 2 - Connect To Amazon EC2 Linux Instance Using PuTTY... 6 PART 3 - Installing LAMP via SSH... 9 PART 4 Installing Oxwall in Linux Server... 11 Installing Oxwall completely in Amazon Cloud PART 1 Creating AWS Instance Section 1 Security Group 1) Login to Amazon AWS Console using the link https://console.aws.amazon.com/console/home. 2) Go to the EC2 tab and click Security Groups section.

3) Now we need to create a Security Group that allows HTTP connections and limited SSH to configure the instance. Click on Security Groups > Create Security Group and complete the following form. 4) Choose an appropriate name and description for the Security Group. We will use the name web_access thorough this tutorial. 5) Once the Security Group is created we need to add the Inbound Rules that allow HTTP and SSH access. Click on the newly created Security Group, the select the Inbound tab. 6) Select HTTP from the Create a new rule drop-down and leave the Source as 0.0.0.0/0 to allow HTTP connections from anywhere. Click on Add Rule. 7) Select SSH from the Create a new rule drop-down and change the Source to your IP address to restrict SSH connections to your computer or network; you don t want anyone to be able to log in to the instance. Or simply use 0.0.0.0/0 for IP address. Again click on Add Rule. 8) Now click on Apply Rule Changes; your changes won t be saved unless you press this button. Section 2 - A LAMP-friendly instance 1) Now we need to create an EC2 instance that provides a very clean and quick LAMP installation. Click on Instances > Launch Instance to initiate the Request Instance Wizard.

2) An instance is created from an AMI, an acronym for Amazon Machine Image. Surprisingly, Amazon s AMIs does not provide the most straightforward LAMP installation. Click on the Quick Start tab and wait until the list loads (might take a while). 3) We will use a 32-bit Ubuntu Server 12.04 LTS boot provided. Click on Select to move to the next step. The star icon represents that it s eligible for Free Tier for new AWS customers. 4) From now on we will mostly use default settings. If you want to save some cents, select Micro from the Instance Type drop-down to choose the lowest-end hardware. Click on Continue.

5) Leave all the default settings in Advanced Instance Options and click Continue. 6) You can safely ignore the tags and click Continue. 7) You will now need to generate a new Key Pair (or use an existing one if you already have one). The Key Pair will allow you to log in to the instance via SSH. Enter a suitable name (we will use mykeypair in this tutorial) and click on Create & Download your Key Pair. 8) A mykeypair.pem file will be downloaded. Save it somewhere easily accessible as you will need it in a few minutes. If you plan on using this instance for production, make sure the file is properly secured. Click on Continue.

9) In Configure Firewall select Choose one or more of your existing Security Groups. Choose the Security Group that we created on step 1 and click on Continue. 10) Review all the settings and click on Launch. The instance has to boot and thus will take a few seconds to be ready. In the meantime, take note of the instance identifier which will be needed to create an Elastic IP for the instance. Section 3 - The Elastic IP 1) Amazon EC2 instances have a public a DNS name which is rather long and cumbersome to use. It is much more practical to use an IP address to reference an instance. Luckily, Amazon provides Elastic IPs which are free as long as they are associated to a running instance. 2) Click on Elastic IPs > Allocate New Address > Yes, Allocate. This will create a new Elastic IP but will not associate it to the instance yet. Write down the IP number as you will need it in a few minutes.

3) Select the newly created IP address and click on Associate Address. Choose the instance created on Step 2 from the drop-down and click on Yes, Associate. 4) By now the instance should be up and running (which you can confirm by returning to the Instances section and checking if the status indicator is green). It s time to connect via SSH to it. Now we have got theprivate Key to connect to SSH of our server instance. Let us see how to login to the server to install Oxwall using this key. PART 2 - Connect To Amazon EC2 Linux Instance Using PuTTY 1) Download the PuTTY resources needed to connect to our instance, PuTTY Download page. Go ahead and download the PuTTY and PuTTYGen executable files to your desktop. 2) Open the PuTTYGen executable and your screen should look like the image below. This is where we are going to take your.pem file and convert it into a putty private key.

3) Select the load button and Windows Explorer should appear for you to select a file. You will have to select the option to view all files as the image shows. From there you will load your.pem file. 4) Once you ve loaded the.pem file your screen will look like the following. Once this is complete select Save private key. It will ask you if you want to save without a pass code. You may choose to use a pass code but it is not necessary. 5) Open PuTTY and enter your Elastic IP address that you got in the previous steps.

6) Select data on the left hand side under auto-login username enter the user ubuntu. 7) Select Auth on the left hand side then under private key for authentication select the.ppk file we just created with PuTTYGen. 8) Now click Open to connect to your instance. It will open the SSH shell for your Linux instance.

PART 3 - Installing LAMP via SSH 1) If the above steps are successful, you will see a command promt like DOS. This is where you will enter all your commands. Before installing LAMP we need to update the package database of the Ubuntu installation. To do this: sudo apt-get update 2) Now we can install LAMP using tasksel, which is already present in this installation. sudo tasksel 3) Scroll down to LAMP server and press space, then Enter. 4) The LAMP installation should run smoothly. You will be only asked to provide and confirm the password of the root user of the MySQL database. 5) Once the installation has finished the Apache server should be up and running. To test it, open a browser and type the IP address of the instance. A webpage stating It works! should load. 6) Finally, we will install phpmyadmin in order to test the PHP and MySQL installation and also to conveniently configure the MySQL database. From the SSH session:

sudo apt-get install phpmyadmin 7) Select apache2 as the web server 8) Leave the database configuration for later (choose No on the second prompt). 9) phpmyadmin should now be running under http://<instance IP>/phpmyadmin. You can log in using the root username and the database password that you provided earlier. Congratulations! You have successfully created an Amazon EC2 instance with LAMP! This tutorial just scratches the surface of what can be done with Amazon AWS; we recommend learning (and breaking) a bit more about EC2 before using instances like these for production.

PART 4 Installing Oxwall in Linux Server Detailed guide is in progress. For time being, I have just provided the link below to install Wordpress. The process is same for Oxwall too. http://tuts.pinehead.tv/2011/12/15/configuring-apache-and-installing-wordpress-on-linux-ec2/