you're reading...
Linux, linux server

How to install LAMP and Phpmyadmin in opensuse 11.3

LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language.
In this Simple tutorial we will explain you how to install LAMP server on your Opensuse 11.3

1- Install LAMP

First Open the software manager “YAST” and search for LAMP the click apply to install

The  packages  that  will  be  installed  are:

apache2, mysql-community-server, apache2-mod_perl, apache2-prefork, php5-dom, php5-ctype, php5-iconv, php5-mysql, apache2-mod_php5, apache2-example-pages, apache2-mod_python, apache2-doc, yast2-http-server

  • After LAMP is installed start apache :
linux-aminesoft:~ # /etc/init.d/apache2   start
Starting httpd2 (prefork)                                done
linux-aminesoft:~ # chkconfig  apache2 on
linux-aminesoft:~ #

To check if apache has been installed correctly, open your browser and type localhost

  • Now check if  php  is  working.

Open terminal and create this file

vi  /srv/www/htdocs/file.php

and add this code :


Now open http://localhost/file.php or http://ip/file/php if you got something like in the screenshot bellow that means php is working :

  • Create MySQL password:

Open terminal and type :
mysqladmin   -u  root password XXX

Check now if its working with
mysql  -u root  -p


Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.1.46-log SUSE MySQL RPM

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

Now start Mysql from daemon with

/etc/init.d/mysql start

2- Install phpMyadmin

First download the final version from phpmyadmin.net and save it to /srv/www/htdocs

now extract and change the folder name to phpmyadmin:

mv  phpMyAdmin-3.3.4-all-languages  phpmyadmin

cp config.sample.inc.php config.inc.php

NB : If you got an error check if you have these dependencies installed : php5-mbstring and php5-mcrypt

Now restart your apache and open the page http//ip/phpmyadmin and login with mysqladmin username : root and password

Enjoy 😉 Aminesoft


About abdessemed mohamed amine



3 thoughts on “How to install LAMP and Phpmyadmin in opensuse 11.3

  1. Thank you for the nice read, even if it did take quite a large time to understand. (English is not my native tongue) May I ask where you got your information from? Thankyou! Derick

    Posted by Derick | August 14, 2010, 20:59
  2. nice share!!!

    Posted by antic0de | October 17, 2010, 17:19


  1. Pingback: How to install LAMP and Phpmyadmin in opensuse 11.3 « Am!NeS0Ft's blog | Linux Affinity - August 14, 2010

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


August 2010
« Mar   Sep »


Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • 367,669 Visit !
%d bloggers like this: