Re: [SLE] MySQL Database Setup

From: Terje J. Hanssen (nteknikk_at_monet.no)
Date: 04/13/05

  • Next message: Terje J. Hanssen: "Re: [SLE] MySQL Database Setup"
    Date: Wed, 13 Apr 2005 14:06:38 +0200
    To: suse-linux-e@suse.com
    
    

    MySQL and Apache continued:

    I have made progress and think I have been able to create a basic
    database and get the web server running.
    To clarify, I am installing and setting up a client/server configuration
    on my HomePC (localhost).
    And to not leave out any details about "messing around with apache's
    configuration", I will add to the story for those who have time to read
    it. Others can jump down to paragraph 6).

    1) Initial I had Apache2, MySQL, php installed default with YaST2 from
    the Suse 9.1Pro media. However, but had not used these applications or
    enabled the http server.

    2) Later I installed a tar ball for eZ publish bundled with Apache 1.3,
    MySQL, PHP and ImageMagic, which was installed in a temporary test
    directory according to:
    http://www.ez.no/ez_publish/documentation/installation/bundled_installation
    http://www.ez.no/ez_publish/documentation/installation/bundled_installation/ez_publish_bundle_for_linuxunix_based_systems
    I enabled the http service and added port 8085 with Yast2, but didn't
    get the eZ publish bundle to work.

    3) Then I removed the eZ publish bundle and removed and reinstalled with
    Yast2 the original rpms for MySQL, Apache2, PHP and ImageMagic, to start
    try a normal installations of eZ publish "alone" from schratch.
    And this is where I started this thread.

    I tried several times to test the web server to get it to display the
    Apache Installation test page, but
    http://localhost would not work. However, adding a port number like the
    previous http://localhost:8085 did work.

    4) To be sure to start on a clean installation, I have now also removed
    /etc/Apache2 configuration folder, disabled the http service with Yast2
    and removed and reinstalled the packages another time. Tested with
    http://localhost and http://localhost:8080 which didn't work, neither
    before I enabled the http server nor after I enabled the http server.

    5) Then I added port 8080 to the http server with yast2. Now
    http://localhost still didn't work while http://localhost:8080 did
    display the Apache page.

    6) At last I happened to try "http://localhost:80" and suddenly
    some(thing) (re)setting happened. Mozilla automatically changed this url
    automatically to "http://localhost" and displayed the Apace test page.
    After this also the latter url did work in Opera and Konqueror. Also the
    eZ publish setup wizard in my personal web-folder starts using
    http://localhost/~/ezp

    Now also the eZ publish setup wizard is started and displayed as it
    should, without the previous need to add port number in these
    alternative urls:
    http://localhost/~terje/ezp/index.php
    <http://localhost/%7Eterje/ezp/index.php>
    http://localhost/~terje/ezp <http://localhost/%7Eterje/ezp>

     From this experience it may look like the url "http://localhost"
    doesn't work at once, not at least when another port number has been
    used in the browser previously.

    Any idea or suggestion how and where to set "http://localhost" to work
    directly?

    I had some problems to find and verify the right entries in the long
    file /etc/services. I just wonder if port setting using the Yast2 http
    service tools, also updates both /etc/Apache2/listen.conf and
    /etc/services?

    Terje
    Terje

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Terje J. Hanssen: "Re: [SLE] MySQL Database Setup"

    Relevant Pages

    • Re: [SLE] http server setup problem in suse 10.0
      ... downloaded and installed the apache2 and related packages. ... Nevertheless I checked apache installation in the Software ... HTTP server wizard modult that you and others mention? ...
      (SuSE)
    • MSSQL Server 2008 (Reporting Service) und Apache
      ... Nach Installation von MSSQL Server 2008 Express ... mag mein Apache nicht mehr starten. ... Ich habe das nun nochmal ueberprueft und der IIS ist ...
      (microsoft.public.de.sqlserver)
    • secure web server adn php for openvms 7.3?
      ... I am an openVMS novice and I want to run for testing purposes apache/php ... The installation is openVMS 7.3 ... The error when I try to start apache is: ... Where I can find an older version of the sercure web server and php for ...
      (comp.os.vms)
    • Re: web server installation
      ... I am aware of Apache which is "built " in Red Hat. ... I want IBM HTTP Server because of IBM WebSphere Application Server. ... So I need installation procedure of HTTP Server on Linux but this procedure ...
      (alt.os.linux)
    • Re: [SLE] http server setup problem in suse 10.0
      ... I would like to set up apache http server only for serving ... When it turned to the server configuration (HTTP server wizard) ... I think the localhost interface should be ...
      (SuSE)