+ All Categories

Web 2.0

Date post: 22-Dec-2014
Category:
Upload: maha-lakshmi
View: 884 times
Download: 0 times
Share this document with a friend
Description:
 
12
XAMMP FOR LINUX
Transcript
Page 1: Web 2.0

XAMMP FOR LINUX

Page 2: Web 2.0

What is XAMPP ?

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl.

XAMPP is really very easy to install and to use – just download, extract and start.

Page 3: Web 2.0

HOW TO INSTALL XAMMP FOR LINUX 1.7.3

First download 1.7.2.tar.gz

After Downloading the files go to terminal

We install XAMPP by extracting its content to a folder named “opt”

Enter the command to extract the Xampp file

The command is sudo tar xvfz xampp-linux-1.7.2.tar.gz -C /opt

Page 4: Web 2.0

Start running the xampp

Enter the following command sudo /opt/lampp/lampp start

In the terminal the line should be displayed:

XAMPP: Starting Apache with SSL (and PHP5)

XAMPP: Starting MySQL…

XAMPP: Starting ProFTPD…

XAMPP for Linux started.

Page 5: Web 2.0

Now xampp is installed in your computer

Create a new database for that go to localhost/xampp

Choose phpMyAdmin.

Create your New database

Page 6: Web 2.0

Important Configuration Files And Directories

opt/lampp/bin/ – The XAMPP commands home. /opt/lampp/bin/mysql calls for example the MySQL monitor.

/opt/lampp/htdocs/ – The Apache DocumentRoot directory.

/opt/lampp/etc/httpd.conf - The Apache configuration file

Page 7: Web 2.0

/opt/lampp/etc/my.cnf - The MySQL configuration file.

/opt/lampp/etc/php.ini – The PHP configuration file.

/opt/lampp/etc/proftpd.conf – The ProFTPD configuration file. (since 0.9.5)

/opt/lampp/phpmyadmin/config.inc.php – The phpMyAdmin configuration file.

Page 8: Web 2.0

DOWNLOAD WORDPRESS

Page 9: Web 2.0

Things You Need to Do to Install WordPress

1. Checking to ensure that you and your web host have the minimum requirements to run WordPress.

2. Download the latest release of WordPress.

3. Unzip the downloaded file to a folder on your hard drive.

4. Be prepared with a secure password for your Secret Key

5. Print this page out so you have it handy during the installation.

Page 10: Web 2.0

HOW TO DOWNLOAD THE WORDPRESS

Download the wordpress from www.wordpress.org/downloads

The version 2.8.6 tar.gz is used to download the wordpress

Download the file in some location

Then go to the terminals enter the proper command.

Page 11: Web 2.0

To extract we use some of the followings steps are given in the following

sudo tar xvfz wordpress 2.8.6 tar.gz -C /opt/lampp/htdocs.

Extract the downladed wordpress in hostdocs

Create a new database in myphp from xampp

In wp-config-sample.php Type the username,password,database name.

Page 12: Web 2.0

http://localhost/wordpress From this create a configuration file.

Click the button let's go

Click run the installation

Text the blog title and email

After that text the username and password and login the page

Finally your localhost wordprocess is created


Recommended