Web Server Setup Guide

Similar documents
Installing PHP on Windows 10 Bash and Starting a Local Server

Setting Up a Development Server

Sucuri Webinar Q&A HOW TO IDENTIFY AND FIX A HACKED WORDPRESS WEBSITE. Ben Martin - Remediation Team Lead

This is a book about using Visual Basic for Applications (VBA), which is a

How To Upload Your Newsletter

Taskbar: Working with Several Windows at Once

USE QUICK ASSIST TO REMOTELY TROUBLESHOOT A FRIEND S COMPUTER

Unifer Documentation. Release V1.0. Matthew S

We aren t getting enough orders on our Web site, storms the CEO.

Interactive Tourist Map

Things to note: Each week Xampp will need to be installed. Xampp is Windows software, similar software is available for Mac, called Mamp.

Web Design Competition File Upload Tutorial

How to Install and Setup VoIPOffice Communicator for Mac

TOP DEVELOPERS MINDSET. All About the 5 Things You Don t Know.

Your departmental website

Quick Guide to Installing and Setting Up MySQL Workbench

Building a Django Twilio Programmable Chat Application

This guide is intended to help the un-experienced in PHP in particularly Phpvms to easily install and use this freeware software.

Install & First Time Setup Guide

Your First Meteor Application

Instructor s Notes Web Data Management Web Client/Server Concepts. Web Data Management Web Client/Server Concepts

7+ GRAPHICS LIBRARIES TO ENHANCE YOUR EMBEDDED ANALYTICS

Burning CDs in Windows XP

How to make a Work Profile for Windows 10

Advanced Web Tutorial 10

Human-Computer Interaction Design

Authoring World Wide Web Pages with Dreamweaver

Dreamweaver Basics Workshop

Adobe Business Catalyst

Weebly 101. Make an Affordable, Professional Website in Less than an Hour

Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum

Improved Web Development using HTML-Kit

Ruby on Rails Welcome. Using the exercise files

Xchange for Samsung MAC User Guide. Version 2.4

COMPETITION ANALYSIS IF THE SAMURAI SPITS THE DUMMY

How To Get Your Word Document. Ready For Your Editor

Adding content to your Blackboard 9.1 class

4Sight for Mac User Guide. Version 2.4

Access your page by hovering over your campus and then choosing Staff Directory. Click on your name to enter your page.

Launch Store. University

Beginning HTML. The Nuts and Bolts of building Web pages.

Open Source Digitalization Application. Installation Manual

CheckBook Pro 2 Help

Senior Technical Specialist, IBM. Charles Price (Primary) Advisory Software Engineer, IBM. Matthias Falkenberg DX Development Team Lead, IBM

SIS offline. Getting Started

Epicollect5 Reference Guide

Fish Eye Menu DMXzone.com Fish Eye Menu Manual

WordPress Tutorial for Beginners with Step by Step PDF by Stratosphere Digital

Hello! ios Development

THE 18 POINT CHECKLIST TO BUILDING THE PERFECT LANDING PAGE

What Are CSS and DHTML?

Wordpress 101. Christy Costello & Becca Sayre

The Fat-Free Guide to Conversation Tracking

How To Use My Alternative High

Web Hosting. Important features to consider

Welcome Back! Without further delay, let s get started! First Things First. If you haven t done it already, download Turbo Lister from ebay.

How to Stay Safe on Public Wi-Fi Networks

Jump to: Using AAUP Photos AAUP Logos Embedding the AAUP Twitter Feed Embedding the AAUP News Feed CREATING A WEBSITE

Speed Up Windows by Disabling Startup Programs

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

ANNOYING COMPUTER PROBLEMS

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

A Step by Step Guide to Postcard Marketing Success

Basic Uses of JavaScript: Modifying Existing Scripts

Page 1

Free Web Development Tools: The Accessibility Toolbar

Installing Dolphin on Your PC

Step 1: Upload a video (skip to Step 2 if you ve already uploaded a video directly from your ipod, Uploading to YouTube and Posting in Blackboard

Web pages are a complex undertaking. The basic web page itself isn t

WEB DESIGN & DEVELOPMENT

Website Design and Development CSCI 311

a career how and Tuesday, November 8, 2011

Website instructions. 1. Creating a Post

CIS 231 Windows 10 Install Lab # 3

_APP A_541_10/31/06. Appendix A. Backing Up Your Project Files

Hello, welcome to creating a widget in MyUW. We only have 300 seconds, so let s get going.

Using Dreamweaver. 1 Overview. About the Web. About Dreamweaver

Web Host. Choosing a. for Your WordPress Site. What is web hosting, and why do you need it?

Your message in Outlook will look something like the illustration below. Begin by right-clicking on the name of the attachment.

How to Install (then Test) the NetBeans Bundle

ENCM 339 Fall 2017: Editing and Running Programs in the Lab

A Step-by-Step Guide to Survey Success

CIS 086 : Week 1. Web Development with PHP and MySQL

The Benefits of SMS as a Marketing and Communications Channel From The Chat Bubble written by Michael

Workshare Connect. Desktop App

Dreamweaver 3.5 PHP & Dreamweaver

Remote Access Instructions. remote.gpmlaw.com

If you re the administrator on any network,

Furl Furled Furling. Social on-line book marking for the masses. Jim Wenzloff Blog:

Add Your Product to Clickbank

Quick.JS Documentation

STA 303 / 1002 Using SAS on CQUEST

Mobile & More: Preparing for the Latest Design Trends

Setting up a ColdFusion Workstation

AJAX Programming Overview. Introduction. Overview

Introducing Thrive - The Ultimate In WordPress Blog Design & Growth

Computer Concepts for Beginners

Copyright 2000: PictureTel Corporation Printed in U.S.A. PictureTel Corporation, 100 Minuteman Road, Andover, MA

Title and Modify Page Properties

Zoom User Manual. developed. Gary P. Davis. and. David J. Ayersman. for. Students and Employees of New River Community and Technical College

Transcription:

SelfTaughtCoders.com Web Server Setup Guide How to set up your own computer for web development.

Setting Up Your Computer for Web Development Our web server software As we discussed, our web app is comprised of two main parts, the front end and the back end. The front end languages HTML, CSS, and JavaScript are all automatically understood by your web browser. There s nothing special we need to do in order for their code to be properly executed. In order for the back end to function properly, on the other hand, we need to configure our own web server. Without a web server, we wouldn t be able to run any code in the back end s language, PHP, or store any data in a database. There are three major pieces of software we need to install in order to establish our full web server... Apache Apache is our web server software, which will be responsible for allowing us to actually host and serve pages via a web browser. 1

Without it, we wouldn t be able to develop a system of interconnected pages, which make up the true essence of the app, itself. PHP PHP, as we ve discussed, is our back end language. But in order for our computer to be able to understand and interpret PHP code, the PHP software application needs to be installed. MySQL MySQL is the name of the database we ll be using. As was just mentioned previously, our database will be responsible for storing all of the data that we ll be using so we can retrieve it and display it throughout our web app. If you re on Windows......you can simply install WAMP, which stands for Windows, Apache, MySQL, and PHP. It contains all of the software that we need to establish our web server. You can download WAMP directly from SourceForge http://sourceforge. net/projects/wampserver/. 2

If you re on a Mac......you can simply install MAMP, which stands for Windows, Apache, MySQL, and PHP. It contains all of the software that we need to establish our web server. Visit MAMP s Downloads page http://www.mamp.info/en/downloads/ and download the current version of MAMP & MAMP Pro ( MAMP & MAMP PRO 3.0.5 at the time of writing). Installing WAMP/MAMP Once you ve downloaded WAMP or MAMP (depending on your operating system), proceed through the installation, making sure to write down any passwords you need to create throughout the process. They don t have to be insanely secure (and can sometimes even be left blank), as you ll only be accessing these tools on your own computer. You can leave all options set to the defaults as you progress through the installation. Testing everything out Once installed, let s test everything to make sure it s working properly. On Mac If you re on a Mac, make sure the MAMP application is started (it should be located in your Applications directory) and that you see its icon in your menu 3

bar. Clicking the icon should bring up the MAMP control center, as shown in Figure 1. Figure 1: The MAMP control center If the Apache Server and MySQL Server indicators in the Status section are not green, click the Start Servers button to start them. Then, to make sure everything s working properly, click the Open start page button, which should open the MAMP start page within your web browser, similar to the one shown in Figure 2. 4

Figure 2: The MAMP start page Mac only: Aminoradjustment When you opened up the MAMP home/test page, you may noticed that the URL included an ugly :8888. Let s get rid of that. In the MAMP control center (Figure 1), click the Preferences button, then click the Ports button/tab, and then click the Set to default Apache and MySQL ports, as shown in Figure 3. Wait about ten seconds for the new settings to take place and then click the Open start page button again. You start page s URL in your browser should now be shown without the :8888. Success! 5

Figure 3: Setting default Apache and MySQL ports in MAMP preferences On Windows If you re on a PC running Windows, make sure that the WAMP application is started (you should have an icon on your Desktop or within your Start menu) and that you see it s icon at the very bottom of your screen on the right side of your taskbar, as shown in Figure 4. Figure 4: WAMP s taskbar icon (all services started) If the icon in your taskbar is not green, left click on it, and choose Start all services, as shown in Figure 5. From that same menu (Figure 5), you should now be able to click Localhost, which should display the WAMP start page in your browser, similar to the one shown in Figure 6. 6

Figure 5: WAMP control panel menu If you run into any problems......run a quick Google search. It s very likely that someone else has experienced a very similar issue before and has explained how to remedy it. If Googling doesn t turn anything up, feel free to contact me and I ll help point you in the right direction. Your development tools Great! You now have the necessary background applications installed to power your web app. But as with anything other craft, web development requires a set of tools. In our case, the main tool we re concerned with is essentially a fancy text editor, known as a source code editor. It will allow us to easily manage our our app s files, as well as edit our existing files and add any new files, as needed, all within a nicely designed application. 7

Figure 6: The WAMP start page Sublime Text 2 The source code editor that I highly recommend is Sublime Text 2. You can certainly use any number of the other options, but this is the best, most comprehensive source code editor I have ever come across. And it s very easy to get started with don t worry! To get Sublime Text, visit the Sublime Text homepage and download the latest version. Note that it doesn t cost anything to download and install, but if you end up really liking the tool, they recommend you pay a one-time cost of $70. For now, though, you can just give it a try. Go ahead and install Sublime Text, using all of the default options, and open it up. You ll notice that, at first glance, it appears to just be another text editor, really. We won t jump into any of the super-cool features it possesses at the moment, but suffice it to say it s way more to it than meets the eye. 8