Install Apache MySQL PHP phpmyadmin (LAMP) on Open SUSE 11.3

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 4.00 out of 5)

Installing Apache MySQL, PHP and phpmyadmin on Open SUSE 11.3 is very easy, and in fact a one step procedure.

Step 1: Launch the Software manager by clicking on Install/Remove Software from the start menu. Now type in lamp, select the package that shows up in search result and click Apply to continue with the installation. Wait till the installation finishes.

Click Apply again to accept the changes.

Step 2: Once installation is over, we need to start apache2 by running the following command (you need to be root)

/etc/init.d/apache2 start

Now to check if apache is running successfully launch a browser window with the following address http://localhost/ you should see a page like this

To ensure that it starts automatically at each restart run the following command at terminal

chkconfig apache2 on

Step 2: Lets test if php is working properly.  Create a test php file called info.php, using a text editor of your choice (say gedit) by doing this

gedit /srv/www/htdocs/info.php

and paste the following content and save the file


Now open the following page http://localhost/info.php and you should see something like what is shown below (instead of the code you typed in the file above). This implies that apache is running with php support.

Step 4: Now we need to create a root password for the MySQL. But first start the MySQL server by this command

/etc/init.d/mysql start

Now to change the password do the following, replace your_selected_password with password of your choice.

mysqladmin   -u  root password your_selected_password

Now to ensure that mysql starts with every reboot, do this

chkconfig mysql on

To double check that your created password works for mysql, login to your account using

mysql  -u root  -p

Enter root password that you supplied earlier when prompted for and this would open a mysql > prompt. You can quit it by typing quit.

Step 5: Now only phpmyadmin is remaining. This has to be installed manually (surprise surprise). But that easy, don’t worry. Download the latest version of phpmyadmin from here and move it to the folder below Or you can wget it from the /srv/www/htdocs folder by doing this

cd /srv/www/htdocs

Don’t forget to replace the link below with that for the latest version:


Now unzip it and them move the folder to phpmyadmin and you should be done

unzip phpMyAdmin-*.zip
mv phpMyAdmin-* phpmyadmin

Now point your bowser to http://localhost/phpmyadmin and you should get the login prompt like this

This was even easier than doing it on Ubuntu (almost :P)

You might also like

Install Apache MySQL PHP phpmyadmin (LAMP) on Ubuntu 10.04 or Mint Linux 9 Installing...
Install Apache MySQL PHP phpmyadmin (LAMP) on Linux Mint 11 Katya Installing...
Install Apache MySQL PHP phpmyadmin (LAMP) on Ubuntu 11.04 Installing...
Install Apache MySQL PHP phpmyadmin (LAMP) on Linux Mint 13 Maya Installing...

About the Author

has written 346 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

2 Comments on “Install Apache MySQL PHP phpmyadmin (LAMP) on Open SUSE 11.3”

  • JCarlos wrote on 11 May, 2011, 1:39

    Thak you for the clear and fast way to get phpmyadmin.

    Like or Dislike: Thumb up 0 Thumb down 0


  • JCarlos wrote on 1 August, 2011, 0:02

    Qué chulada de página!

    Cada que configuro mysql y apache, vengo a esta página!

    Gracias nuevamente!

    Like or Dislike: Thumb up 0 Thumb down 0


Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!


Copyright © 2020 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes