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 (15 votes, average: 5.00 out of 5)
Loading ... Loading ...

No comments yet.

Respond

get in on the action.

* Required

Rumanian flagItalian flagEnglish flagGerman flagFrench flagSpanish flagRussian flagDutch flagDanish flagFinnish flagSwedish flagNorwegian flagHungarian flag        
By N2H

Random Posts Recent Comments

  • 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 ...

  • 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 ...

  • admin Says:

    Thank you all for your comments. As I was busy latelly, I haven't answer to your posts. I hope you u ...

  • tcpdump Says:

    Hello, I faced the error Also "It appears as though you do have permission to view informational note ...

  • Ali Says:

    awesome! ...

  • Schedule Says:

    You you should make changes to the post subject Split and join files in Ubuntu with lxsplit | EtutsR ...

Tag Cloud