Announcement

Collapse
No announcement yet.

Setting up an apache server.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Setting up an apache server.

    I am very new to kubuntu/linux and I want to setup an apache server with php, mysql and apache so in otherwords L.A.M.P. I have browsed for hours searching for a result but haven't found anything and when trying the commands suggested like:
    Code:
    sudo apt-get install apache
    or

    Code:
    aptitude install apache
    all it comes up with is
    Code:
    Reading package lists...Done
    Building dependancy tree...Done
    E: Could not find package "apache"
    Please help if you can, and thanks in advance.

    #2
    Re: Setting up an apache server.

    http://www.howtoforge.com/ubuntu_debian_lamp_server

    You can also poke around howtoforge.com and see some of their other great tutorials.
    Richard Johnson (nixternal)<br />Core Developer :: MOTU :: MOTU Council :: Community Council<br />https://launchpad.net/~nixternal<br />http://www.nixternal.com

    Comment


      #3
      Re: Setting up an apache server.

      I tried it but it still comes up with the package missing, I am reinstalling kubuntu as last time I was not connected to the internet when I installed it so I believe this might have restricted access to a few packages.

      Comment


        #4
        Re: Setting up an apache server.

        Reinstalling will not add access to any package.

        Ok, first the easy answer.

        Type:

        Code:
        $ sudo apt-get install apache2
        Notice the 2 at the end .

        If you really want to install the apache (without 2) package, you need to enable the universe repository. Reinstalling will not do it. Please read:

        https://help.ubuntu.com/6.10/kubuntu...ositories.html

        The important facts are in enabling additional repositories section. But the whole chapter will be an useful read.

        But, anyway, you probably want to install apache2.

        Comment


          #5
          Re: Setting up an apache server.

          I managed to reinstall kubuntu and apache is working but when I type
          Code:
          apt-get install phpmyadmin
          It says that the package phpmyadmin could not be found, is there a way to install it manually or am I doing the command wrong?

          Comment


            #6
            Re: Setting up an apache server.

            Have a look at this site. Pick your version and then server install (HTML or PDF).
            These are all very good guides.

            https://help.ubuntu.com/6.06/
            ~$sudo make me a sandwich

            Comment


              #7
              Re: Setting up an apache server.

              Have you enabled universe ?

              Do you understand how package management work?

              Did you read the above link?

              phpmyadmin is in the Universe repositorie.

              Javier.

              Comment

              Working...
              X