Results 1 to 8 of 8

Thread: [SOLVED] Installing Apache Etc. on Ubuntu Desktop (for development)

  1. #1
    Join Date
    Mar 2008
    Beans
    291

    [SOLVED] Installing Apache Etc. on Ubuntu Desktop (for development)

    I have XAMPP for Linux but was recently advised that an updatable collection of packages from Apt would be a better idea, but I want to make sure, as best as I can, that I don't screw anything up. Should I do anything before saving my web directory and uninstalling XAMPP? And what packages should I get other than the obvious ones (Apache, MySQL, PHP)?

    Thanks a bunch!
    Bicycling is the perfect union of driver and engine.
    Code:
    union bicyclist{ struct driver driver; struct engine engine; };

  2. #2
    Join Date
    Dec 2007
    Beans
    373
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)


  3. #3
    Join Date
    Mar 2008
    Beans
    291

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)

    Before you posted, I decided to try on my own and installed a few packages. After the below, I removed them but still get the same result.

    I executed the following command as per the guide and entered my password twice...
    Code:
    $ sudo tasksel install lamp-server
    tasksel: aptitude failed (100)
    What'd I do wrong?
    Bicycling is the perfect union of driver and engine.
    Code:
    union bicyclist{ struct driver driver; struct engine engine; };

  4. #4
    Join Date
    Mar 2008
    Beans
    291

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)

    Well, I found this... http://ubuntuforums.org/showthread.php?t=603326

    I uninstalled as per the above guide and tried again, no dice. So apparently my premature attempt wasn't the problem...

    Help!
    Bicycling is the perfect union of driver and engine.
    Code:
    union bicyclist{ struct driver driver; struct engine engine; };

  5. #5
    Join Date
    Dec 2007
    Beans
    373
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)

    You are not the only one having this problem. Maybe the workaround in the second link can help you.

    https://bugs.launchpad.net/ubuntu/+source/tasksel/+bug/131134

    http://ubuntuforums.org/showthread.php?t=514551

  6. #6
    Join Date
    Mar 2008
    Beans
    291

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)

    RealPSL, I appreciate the links, but I didn't get anywhere with that either. However, I installed KDE and found that XAMPP no longer worked. Come to find out, KDE somehow fixed this problem.

    Now, what can I do about this? (I want to set my new web dir to my old one.)
    Code:
    $ apache2 -d /home/chris/www
    apache2: bad user name ${APACHE_RUN_USER}
    $ echo ${APACHE_RUN_USER}
    
    $ sudo apache2 -d /home/chris/www
    [sudo] password for chris: 
    apache2: bad user name ${APACHE_RUN_USER}
    $ sudo /etc/init.d/apache2 restart
     * Restarting web server apache2                                                apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
    EDIT: I found http://ubuntuforums.org/showthread.php?p=5456941, but wouldn't the cleaner solution be to get the /etc/apache2/envvars file recognized?
    Last edited by Jesdisciple; August 8th, 2008 at 07:10 AM.
    Bicycling is the perfect union of driver and engine.
    Code:
    union bicyclist{ struct driver driver; struct engine engine; };

  7. #7
    Join Date
    Dec 2007
    Beans
    373
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)

    The error you are getting there is likely because there is only a short name in your /etc/hosts file
    127.0.1.1 my-desktop
    If you changed it to be something like
    127.0.1.1 my-desktop my-desktop.example.com
    that error message should disappear.

    Now the other error. Does www-data own the files in your target directory or have read access to them?
    "Mark as Solved" = "Effective Support"

  8. #8
    Join Date
    Mar 2008
    Beans
    291

    Re: Installing Apache Etc. on Ubuntu Desktop (for development)

    I'm sorry... I should have marked this thread as solved and linked it to the solution. I need to learn to keep my questions packaged neatly.

    But thank you for alerting me that the thread fell through the cracks. The solution is at http://ubuntuforums.org/showthread.php?t=886070.
    Bicycling is the perfect union of driver and engine.
    Code:
    union bicyclist{ struct driver driver; struct engine engine; };

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •