Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Installing Apache on Ubuntu

  1. #1
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Question Installing Apache on Ubuntu

    I don't mean to sound like a total newbie, but how do you install Apache Web Server on Ubuntu 11.04?

    This thread might be in the wrong forum, not sure. This seemed like the best place.
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  2. #2
    Join Date
    Nov 2008
    Beans
    555
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing Apache on Ubuntu

    sudo apt-get install httpd
    to see the apache2 alternatives
    Get the power Don't dig any deeper.Fight the evil.

  3. #3
    Join Date
    Oct 2010
    Location
    Pikes Peak
    Beans
    1,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing Apache on Ubuntu

    Here are some good links though they describe doing more than your question describes.

    http://vmirgorod.name/11/1/20/drupal...ed-ubuntu-1010
    http://httpd.apache.org/docs/2.1/configuring.html
    http://drupal.org/node/823990
    Jim
    Toshiba Satellite L505-S6946
    Precise, Fedora, Kororaa, Bodhi

  4. #4
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: Installing Apache on Ubuntu

    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package apache2-mpm-worker 2.2.17-1ubuntu1
    E: Couldn't find any package by regex 'apache2-mpm-worker 2.2.17-1ubuntu1'
    What does this mean? I want to use Apache, but it won't let me install it.
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  5. #5
    Join Date
    Oct 2010
    Location
    Pikes Peak
    Beans
    1,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing Apache on Ubuntu

    I followed the instructions in the first page I linked in my post.

    Add repositories
    sudo add-apt-repository ppa:sun-java-community-team/sun-java6
    sudo add-apt-repository ppa:chromium-daily/stable
    sudo apt-get update

    Install web-server software
    sudo apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk tasksel subversion cvs git-core apache2 php5-mysql libapache2-mod-php5 mysql-server php5-dev php-pear libevent-dev memcached curl libcurl3 libcurl3-dev php5-curl postgresql postfix postfix-pcre phpmyadmin phppgadmin
    I've also done it without all of these packages but this is my recommendation.
    Jim
    Toshiba Satellite L505-S6946
    Precise, Fedora, Kororaa, Bodhi

  6. #6
    Join Date
    Sep 2007
    Location
    UK
    Beans
    32
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installing Apache on Ubuntu

    just installed 11.04 workstation on 'fresh' machine and want to do server work as well. couldn't find the server stuff in the software centre, so tried the recipe above and got the following...

    apt-get install sun-java6-jre sun-java6-bin sun-java6-jdk tasksel subversion cvs git-core apache2 php5-mysql libapache2-mod-php5 mysql-server php5-dev php-pear libevent-dev memcached curl libcurl3 libcurl3-dev php5-curl postgresql postfix postfix-pcre phpmyadmin phppgadmin
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'libcurl4-openssl-dev' instead of 'libcurl3-dev'
    Package sun-java6-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    Package sun-java6-jdk is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package 'sun-java6-jre' has no installation candidate
    E: Unable to locate package sun-java6-bin
    E: Package 'sun-java6-jdk' has no installation candidate

    btw, also found (elsewhere) suggestion to use

    apt-get install lamp-server

    that didn't work either... no package found

    ideas... please note, not wanting to install ubuntu server, 'cos I want a desktop for dev work on this machine.

    used to be simple a few releases back <sigh>

  7. #7
    Join Date
    Sep 2007
    Location
    UK
    Beans
    32
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Installing Apache on Ubuntu

    This is almost embarrassing... but the default installation includes the synaptic package manager and... joy... all the stuff is there, just like it used to be. installed apache2, php5, etc and 'it works'

  8. #8
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: Installing Apache on Ubuntu

    I've got a window open here.
    It is for configuring mahara.
    It says
    Code:
    Database type: [postgres8 or mysql5]
    Which one?
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

  9. #9
    Join Date
    Oct 2010
    Location
    Pikes Peak
    Beans
    1,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing Apache on Ubuntu

    Postgre doesn't involve Oracle and is therefore considered a better FOSS player by many. Both work fine though I think mysql is considered to perform somewhat better.
    Jim
    Toshiba Satellite L505-S6946
    Precise, Fedora, Kororaa, Bodhi

  10. #10
    Join Date
    Apr 2011
    Location
    Classified
    Beans
    174
    Distro
    Lubuntu

    Re: Installing Apache on Ubuntu

    How do I get to Apache? When I try it in the CLI I get:
    Code:
    apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Syntax error on line 72 of /etc/apache2/sites-enabled/gforge: Could not open configuration file /etc/gforge/httpd.secrets: Permission denied
    Help, please.
    I'm sorry I'm such a newbie to this.
    CPU: AMD FX 8120 8-Core Black Edition OC'd to 4.3GHz | Motherboard: Gigabyte GA-990FXA-UD3 | Graphics: Twin Radeon 7870's | Memory: 16GB G.SKILL Ripjaw Series DDR3 1600

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •