Results 1 to 9 of 9

Thread: installing apache on ubuntu 12.04

  1. #1
    Join Date
    Aug 2010
    Beans
    171

    installing apache on ubuntu 12.04

    I want to install wordpress 3.5 on my computer.
    I do not want the local host to be a website server for the internet.
    I want to use the server to develop wordpress websites locally on my computer.

    I found this probably outdated website
    http://gerry.ws/2008/12/436/how-to-i...x-desktop.html
    I could not find a lamp in synaptic package manager.
    How can I install apache mysql and php using synaptic package manager?
    If you know how, is there any security settings I should make?

    Thanks.

  2. #2
    Join Date
    Oct 2007
    Beans
    338

    Re: installing apache on ubuntu 12.04

    This should install everything your looking for if your installing into an existing OS
    sudo apt-get install php5 mysql-server apache2
    And to secure things I suggest using UFW or directly configure iptables for local only access
    http://ubuntuforums.org/showthread.php?t=1046738
    Or the preferred method would be to download the server iso and install it from CDROM
    Last edited by chadk5utc; January 12th, 2013 at 11:10 AM.
    To err is human - and to blame it on a computer is even more so.
    Author: Robert Orben

  3. #3
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: installing apache on ubuntu 12.04

    Code:
    sudo apt-get install lamp-server^
    Remember the hat at the end of the command.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: installing apache on ubuntu 12.04

    Quote Originally Posted by mörgæs View Post
    Code:
    sudo apt-get install lamp-server^
    Remember the hat at the end of the command.
    I think you'll find it's called a caret

    For more information read the relevant sections in the official server documentation...
    https://help.ubuntu.com/12.04/serverguide/index.html
    Last edited by Cheesemill; January 12th, 2013 at 11:50 AM.
    Cheesemill

  5. #5
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    13,647
    Distro
    Xubuntu

    Re: installing apache on ubuntu 12.04

    Indeed it does:
    http://en.wikipedia.org/wiki/Caret

    Thanks for pointing put.
    Bringing old hardware back to life. About problems due to upgrading.
    Please visit Quick Links -> Unanswered Posts.
    Don't use this space for a list of your hardware. It only creates false hits in the search engines.

  6. #6
    Join Date
    Aug 2010
    Beans
    171

    Re: installing apache on ubuntu 12.04

    Thank you for the answers.

    I used this instruction
    http://tuxtweaks.com/2012/04/install...cise-pangolin/
    Testing phpMyAdmin
    it says
    log in with the username root and the root password that you created earlier.
    Q what is the username root or where do I find it?

    If I want to remove lamp how do I do it?

    Thanks.

  7. #7
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: installing apache on ubuntu 12.04

    When you installed mysql you were asked for a password for the mysql root user.
    Cheesemill

  8. #8
    Join Date
    Aug 2010
    Beans
    171

    Re: installing apache on ubuntu 12.04

    cheesemill
    thank you for answering. The psswd I knew, and I figured out,
    that user name was root.

    Do you know how to remove lamp?

  9. #9
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: installing apache on ubuntu 12.04

    moved so server platforms
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

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
  •