Date post: | 22-Dec-2014 |
Category: |
Education |
Upload: | maha-lakshmi |
View: | 884 times |
Download: | 0 times |
XAMMP FOR LINUX
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.
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
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.
Now xampp is installed in your computer
Create a new database for that go to localhost/xampp
Choose phpMyAdmin.
Create your New database
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
/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.
DOWNLOAD WORDPRESS
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.
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.
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.
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