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

Similar documents
L.A.M.P. Stack Part I

Apache MySQL PHP PHPAdmin Install

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

Installing MediaWiki using VirtualBox

School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University

Installing Oxwall completely in Amazon Cloud

Step By Step Ubuntu (Precise) LAMP Server Setup

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

INTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:

How to Make a Raspberry Pi Web Server

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

OptiRain Open 2 Installation Guide for LInux. This guide provides general instructions for installing OptiRain Open 2 on a Linux based server.

Phpmyadmin Windows Xp

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

Ticketing Service 1 Request Tracker (RT) Installation and Configuration

Installing PHP on Windows 10 Bash and Starting a Local Server

Install Apache Manually Win7 7 Php Mysql Phpmyadmin Ubuntu Server

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

Ubuntu Set Static Ip Address Command Line

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

MySQL: Access Via PHP

Installing an SSL certificate on your server

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

Ubuntu Install Partition Lamp One. Command >>>CLICK HERE<<<

How To Start Mysql Use Linux Command Line Client In Ubuntu

Bitnami HHVM for Huawei Enterprise Cloud

COP Spring 2011 Assignment 4 Working with Servers Due Monday, 28th February in class (17H15)

Installing memcached And The PHP5 memcache Module On Debian Etch (Apache2)

OpenEMR INSTALLATION AND UPGRADE Quick guide

Bitnami JRuby for Huawei Enterprise Cloud

Buzztouch Server 2.0 with Amazon EC2

Linux Network Administration. MySQL COMP1071 Summer 2017

How To Start Mysql Use Linux Command Line Client In Xampp

Apache Manual Install Ubuntu Php Mysql >>>CLICK HERE<<<

Phpmyadmin Ubuntu Server

Kollaborate Server. Installation Guide

Phpmyadmin Ubuntu 10.04

Nagios User Guide. You can use apt-get to install these packages by running the following commands:

KOHA UBUNTU In Compatible With. 1 P a g e

Installing Joomla

Using RDP with Azure Linux Virtual Machines

Windows Subsystem for Linux Guide Documentation

DogeCash Masternode Setup Guide Version 1.2 (Ubuntu 16.04)

Setting up the Master Computer

KOHA 3.4 INSTALLATION ON UBUNTU LINUX. Dibyendra Hyoju August 2011 Madan Puraskar Pustakalaya

2. Installing OpenBiblio 1.0 on a Windows computer

Network Monitoring & Management. A few Linux basics

Setting up a LAMP server

Bitnami MariaDB for Huawei Enterprise Cloud

The Python Mini-Degree Development Environment Guide

Installing FreePBX Official Distro

If you re the administrator on any network,

Manually Password Protect Directories Apache Ubuntu

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

Bitnami MySQL for Huawei Enterprise Cloud

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

Manual Updating Ubuntu Server Command Line

University of Mary Washington. FOC Planning Tool User s Guide Kwadwo Brobbey, Kelly Brown, Rebecca Wright

Bitnami OroCRM for Huawei Enterprise Cloud

How To Start Mysql Using Linux Command Line Client In Ubuntu

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

Setting Up PHPlist (Open-Source Newsletter Manager)

Bitnami Ruby for Huawei Enterprise Cloud

IT STARTED WITH A KICKSTARTER CAMPAIGN

Installing OptiRain Open on Raspbian

Preparing Your Working Environment

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

Linux Systems Security. Logging and Network Monitoring NETS1028 Fall 2016

Communication protocols and services

Experiments 1 How to set up Raspberry Pi B+ The little computer you can cook into DIY tech projects

Mysql Tutorial Create Database Username Password Through Phpmyadmin

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

KVM Guest Management With Virt-Manager On Ubuntu 8.10

Exercises. Cacti Installation and Configuration

Exercises. Cacti Installation and Configuration

Solar Plant Data Acquisition Maintenance

Bitnami ez Publish for Huawei Enterprise Cloud

Recite CMS Web Services PHP Client Guide. Recite CMS Web Services Client

Lab Zero: A First Experiment Using GENI and Jacks Tool

Browser Cookie Settings

Bitnami MEAN for Huawei Enterprise Cloud

The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN).

Created September 2010

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018

Flexible Engine. Startup Guide

Hydra Installation Manual

LOCAL WALLET (COLD WALLET):

PiCloud. Building owncloud on a Raspberry PI

GateDefender Performa updates from a local Web server

Bitnami Coppermine for Huawei Enterprise Cloud

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

INSTALLING RACHEL ON SYNOLOGY GIAKONDA IT

Code::Blocks Student Manual

Code::Blocks Student Manual

Bitnami Pimcore for Huawei Enterprise Cloud

Introduction. 1 of 42

Nextcloud 13: How to Get Started and Why You Should

The Start menu (overview)

ELE409 SPRING2018 LAB0

Transcription:

Installing LAMP on Ubuntu 10.04 and 10.10 (Lucid Lynx, Maverick Meerkat) April 29, 2010 by Linerd If you're developing websites, it's nice to be able to test your code in the privacy of your own computer rather that out in the public internet. In order to do that, you'll need to install a webserver on your development computer. LAMP (Linux, Apache, MySQL, php) is one of the most common web hosting platforms, so it's a perfect environment for you to build and test your website code. If you carefully follow these step by step instructions, you'll have your own LAMP setup running in no time. Install LAMP on Ubuntu The Ubuntu developers have made it easy to install the LAMP server packages with a single command. Simply open a terminal window and enter the following. sudo apt-get install lamp-server^ No, that's not a typo. Please make sure to include the caret (^). The command will not work without it. The apt package manager will show all the packages that need to be installed. Hit <Enter> to confirm that you want to install them. You will then be prompted to change the password for the root user on the MySQL database. Set the MySQL root password Enter the password you want. You'll be prompted to enter it a second time to confirm. After you confirm your password, apt will continue to install the rest of the packages. Congratulations, your LAMP installation is now complete! That was the easy part, now you need to get a few things configured to make your system easy to work with. Page 1

Test Apache Open a web browser and enter the address http://localhost/ You should see a web page that says "It Works!" Testing Apache Test php Now that you know Apache works, you'll want to test the php installation. You'll need to create a file in /var/www called testing.php. Open a terminal and enter: sudo gedit /var/www/testing.php Enter the following line into the text editor, save the file and exit. <?php phpinfo();?> Next, restart Apache with the following terminal command: sudo /etc/init.d/apache2 restart Now go back to your web browser and enter the address http://localhost/testing.php/. You should see a page displaying version information for your php installation. Page 2

Configure MySQL Since I'm installing LAMP for a web development environment, I want the MySQL database to be bound to the localhost IP address. This should be 127.0.0.1 for your system. You can verify it with this terminal command. cat /etc/hosts grep localhost You'll now want to verify that the correct bind address is set up in MySQL's my.cnf file. cat /etc/mysql/my.cnf grep bind-address You should see a line that looks like this:apt bind-address = 127.0.0.1 If the IP address doesn't match the one for your system, you'll need to edit the my.cnf file to correct it. Install phpmyadmin You don't need to install phpmyadmin, but it's a much easier way to get in and adjust things in your MySQL database if you're not familiar with MySQL's commands. You can install phpmyadmin from the command line with: sudo apt-get install libapache2-mod-auth-mysql phpmyadmin The installation will prompt you to select a web server for automatic configuration. This is important! Use the space bar on your keyboard to select apache2. Make sure there's a * next to apache2 like the picture below and then hit <Enter>. (Click the picture to enlarge it and see what I'm talking about.) Page 3

The next screen will explain some information about database configuration. Hit the <Enter> key to move on. Another screen will come up asking if you want to configure a new database called dbconfig-common. Since this is a fresh installation, use the <Tab> key to select Yes and hit <Enter>. You'll be prompted next to enter the MySQL root password. Enter the MySQL root password that you created earlier, hit <Tab> to select Ok and hit <Enter>. You'll then be prompted to enter a MySQL application password for phpmyadmin. You can hit <Enter> and a random password will be generated. I chose to use the same password that I used for the root MySQL password. If you enter your own password, a password confirmation screen will come up. Confirm your password. MySQL application password confirmation Page 4

Your phpmyadmin installation and configuration is now complete. Testing phpmyadmin Open your web browser and enter the address http://localhost/phpmyadmin/ You should see a page like this. You can log in with the username root and the root password that you created earlier. Congratulations, you're now ready to start building your local website. If you're only working on one site you can put all of your files into /var/www Page 5