Add

How to install LAMP on Ubuntu


LAMP stands for Linux Apache MySQL PHP (or Perl, Python). There is Also Called the Windows version is WAMP.

Installing LAMP on Ubuntu is relatively easy. First to install Apache:

sudo apt-get install apache2

To test the installation You Can Access: http://127.0.0.1. There is a default Apache page.

The next step is installing PHP5:

sudo apt-get install php5 libapache2-mod-php5

sudo / etc/init.d/apache2 restart

The next step is installing MySQL:

sudo apt-get install mysql-server

Setting the root password for mysql:

mysql-u root

mysql> SET PASSWORD FOR 'root' @ 'localhost' = PASSWORD ('parola_pt_root');

Now We Will install and phpMyAdmin:

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

For PHP to work together with MySQL, You Need to edit php.ini.

sudo gedit / etc/php5/apache2/php.ini

Somewhere in php.ini That Must be a line is commented by default (That begins with ";"). You Need to delete the character "" If There's this line, you must Simply add it.

extension = mysql.so

If you use this tutorial, if you have questions or if you Want to say your Opinion, please do note hesitate to leave a comment Below. Thanks! :)

1 Star2 Stars3 Stars4 Stars5 Stars (16 votes, average: 5.00 out of 5)
Loading ... Loading ...

No comments yet.

Respond

get in on the action.

Email *

Website

* Required

Rumanian flagItalian flagEnglish flagGerman flagFrench flagSpanish flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagSwedish flagNorwegian flagSerbian flagSlovenian flagUkrainian flagTurkish flagHungarian flag
By N2H

Random Posts Recent Comments

  • Gilgit Baltistan Says:

    good work here ...

  • Cromartie Haynes Says:

    I found the tutorial to Be concise and very helpful. I will be sure to recommend it to others. Than ...

  • admin Says:

    Amigo, Please formulated your question in english if you really need help! Cheers! ...

  • Mauricio Gonçalves Says:

    Boa tarde, I nao consigo Amigo add user novo Podere ajudar me? They pride nao é que a commando ...

  • Aniket Says:

    thanks ..................

  • Eitan Says:

    Thanks for sharing. This article is the most practicable for bind! Cheers, Eitan ...

  • Flossy Says:

    Zubao0 That's really thinking out of the box. Thanks! ...

  • Michael Esch Says:

    I used this tutorial to install Komodo Edit 6 on Ubuntu 10.10, I rate your tutorial 5/5 I hope that ...

  • admin Says:

    @ Dan I run applications created in Visual Basic and fox in the wine, so I would not be ...

  • dan Says:

    I want to tell me if a prg to count as Visual Basic running under Ubuntu with wine inscribed wonder ...

Tag Cloud