RSS
 

Starting WordPress Development In Ubuntu 10.10 in 10 Minutes Part 1 – Installing LAMP

19 Mar

LAMP(Linux, Apache, MySQL & PHP/Python) is a free software bundle used by Web-developers to generally develop using all open source technology.It is a great viable alternative to paid development softwares and with the power of few Development Tools you can really beat the paid ones too :) . LAMP developed web applications are easy to code, develop & compatible with their Apple or Windows counterparts and hence a provide a great flexibility.LAMP is commonly used for WordPress development which is out next goal after this article.So lets get going.

INSTALLATION

With Ubuntu 10.10 installing LAMP is very simple

  1. Just open the Terminal and Type

    (This installs TaskSel which is a Multiple Related Packages Installer)

  2. Then you can run it using
    • sudo tasksel (Enter The Password If Required)
  3. Then Select The LAMP Server from the GUI and select OK
    Wait for the download to Finish and then in the configuration of MySQL enter password for root user

We are done with the Step 1 and LAMP is successfully installed now.

TESTING

Testing if everything is correctly installed is most crucial part and even though we are done with installation we still need to make sure that everything works fine which starts are next step

Testing Apache2 Installation :

Open up your Web-Browser and visit Localhost (or http://localhost/index.php)

Preparing for WordPress Installation

Now comes the bit tricky part..since we intend to use this Installation as basis for WordPress Development hence we need to change the permission of the www directory located at /var/www
We are doing it here since we want this to be ready for the later stage.(You can skip ahead to Testing MYSQL and PHP installation part if you intend to do this later)
We can easily do it by command

sudo chown username:users /var/www (Replace username with your user-name(Refer screenshot))

sudo chown geekg:users /var/www

Testing MySQL and PHP Installation:

To check the MYSQL and PHP installation create a new file in www directory (located at /var/www)

    sudo gedit /var/www/test.php

Add the following text to the file

<?php

phpinfo();

?>

Last but not the least just restart your apache2 webserver

    sudo /etc/init.d/apache2 restart

Fireup your web browser last time to check the PHP and MySQL installation and open test.php just created and scroll down the page to see if correct MySQL version is installed

For queries regarding LAMP installation or any other regarding Mint/Ubuntu, ask here.
Enjoyy..!!!

 
Author :  
Geekier Than You....!!! A PC Addict Who Believes In Winning n Practicality. Free Tech Consultant | Blogger | Entrepreneur | FOSS Newbie | Critic | Visionary | Loading...

Tags: , , , , , , , , , , , , , , ,

  • Rudi

    I have done all this. What program must I open/get to start wordpress dev.?

    Thanks.

  • http://www.linoob.com Linoob.com’s Admin

    Soon be posting part-2 for starting wordpress development

  • Re Ardestani

    hi. thanks for your great help.
    i have a Q.
    when i open mysql administrator, it needs server hostname, username and password. what should i enter in these boxes?