Install & Configure LAMP (Apache/MySQL/PHP) in openSUSE 11.0

75 Comments

  1. spiranha – i think there’s a line missing from the tutorial… either that or it was assumed that we’d know what “edit” Means.

    opensuse11:~ # vi config.inc.php

    Although… i can get intot he file to edit it, but i can’t seem to save and close this file… am i missing something?

    I am also a newbie to Linux/SUSE so please… be gentle!

  2. @netwrkspider

    I had the same error and after uninstalling and reinstalling apache2 all was fine. One of your packages must not have installed correctly.

  3. tips for newbies (suse 11.x) (where I got stuck)

    opensuse11:~ # yast2 –install php5 php5-mysql apache2-mod_php5 …

    did not work for me. But did work using the softwaremanagement, selecting php5, php5-mysql, mysql mysql-tools and apache2-mod_php5 individualy (did the next step as well)

    opensuse11:~ # mysqladmin -u root -p rootpassword

    did not work for me (I lost some linux experiance) , but installed the mySQL Administrator package and changed the password from there.

    opensuse11:~ # yast2 –install phpMyAdmin

    did not work for me. because phpMyAdmin was not in the downloaded suse distribution. But downloaded it from the Suse site which installed perfectly, which upgraded dependency files in php5

    LAMP works!

    Nice tutorial!

  4. Excelente! Just followed it using OpenSuse 11.2 and worked like a charm 🙂 Thanks!

  5. available:
    MySQL Administration Tool
    MySQL Database Design Tool
    MySQL Database Design Tool

    root pass enter: admin tool – connect localhost/root

  6. My first problem was Toni’s problem, but after installation of apache modules appears a second one:
    linux-az9s:/ # rcapache2 start
    Starting httpd2 (prefork) Syntax error on line 14 of /etc/apache2/conf.d/mod_qos.conf:
    Invalid command ‘QSC_WorkingDirectory’, perhaps misspelled or defined by a module not included in the server configuration

    The command line was:
    /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

    Any help;;

  7. Just installed it on openSUSE 11.2. It all worked fine except the part of adding the password to mysql

    opensuse11:~ # mysqladmin -u root -p rootpassword {didn’t work for me}

    instead try which worked

    opensuse11:~ # mysqladmin -u root password rootpassword

  8. Installing MySQL 5.0.67 on openSuSE 11.1 using “Yast2 –install mysql mysql-tools” (that’s always 2 hyphens before the spelled-out option; one hyphen before the abbreviated option: -i) didn’t turn out as described above.
    * rcmysql status reported “dead” rather than “unused”
    * setting root p/w failed because the socket /var/lib/mysql/mysql.sock doesn’t exit
    * remysql start seemed to work, but the status test again was “dead, No groups to be reported (Check your GNRs)”

    [side rant: HTML is awful in it’s handling of typography.]

    Looking at the process list in SysMonitor, there’s no MySQL even though I ran rcmysql start. In Yast System Services, mysql is not running until I enable it: /etc/init.d/mysql start returned 0(success). However, SysMon doesn’t list mysql as a process, and rcmysql status still shows “dead” as a response.

    Tis a puzzlement! Hints appreciated.


  9. just amaging i have a lamp server running in 10min ty man 😀

  10. why my open suSE 11.3, there is no phpMyAdmin??
    it cannot be download at yast..the error is the package haven’t been found??
    anybody can help me??please..

  11. on my phpMyAdmin..there is run successful, but there have some error, which is ‘mcrypt’ cannot be load..why??




  12. When I try to access http://localhost or http://127.0.0.1 to test if apache can serve pages I get the following:

    Error 403
    You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

    Please help!!


  13. this doesn’t work anymore … some commands aren’t the same anymore and phpmyadmin isn’t in the yast2 repositories anymore. suse 11.4 x64 .

  14. Perfect – except for one thing…
    You need to enable PHP in the server modules through Yast2 -> Network Services -> HTTP Server -> Server modules

    Thanks

  15. hi,thanks you work.
    when i try the last step,
    yast2 –install phpMyAdmin
    No such client module –install
    The search path follows. It does not include the current directory.
    /y2update/clients
    /root/.yast2/clients
    /usr/share/YaST2/clients
    is phpMyAdmin needed download alone?thanks a lot

  16. Hi friends, I have installed the Lampp in opensuse. it runs everything perfectly. That is the start. In any case xampp is running now.

    Console tells me:

    Starting XAMPP for Linux 1.5.5a …
    XAMPP: Starting Apache with SSL (and PHP5) …
    XAMPP: Starting MySQL …
    XAMPP: Starting ProFTPD …
    XAMPP for Linux started.

    I get no error message, but when I viewed via a browser http://localhost or http://127.0.0.1 I get the page not found “can not display the webpage”. what is wrong?


Leave a Reply

Your email address will not be published. Required fields are marked *