Results 1 to 5 of 5

Thread: Apache Tutorial

  1. #1
    Join Date
    Oct 2008
    Location
    North Carolina
    Beans
    36
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Exclamation Apache Tutorial

    I am looking for a very basic Apache Tutorial. I have it installed but I am having trouble getting my website to work. I looking for a simple tutorial. I don't need virtual hosts or directives or whatever. Just something that will help me put up a simple text web page on my LAN.

    Thanks

  2. #2
    Join Date
    Nov 2007
    Location
    Okieville, USA
    Beans
    3,178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apache Tutorial

    The Ubuntu Linux Bible can do that.
    MCP, A+/Linux+ Certified IT Technician
    System Specs | Dress up your "Super Button" FREE
    "If sometimes you can't be good, then be VERY good at being naughty!"

  3. #3
    Join Date
    Oct 2008
    Location
    North Carolina
    Beans
    36
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Apache Tutorial

    Thanks I'll look it up

  4. #4
    Join Date
    Apr 2009
    Beans
    1

    Re: Apache Tutorial

    At what point are you?

  5. #5
    Join Date
    Jan 2008
    Beans
    4,757

    Re: Apache Tutorial

    In a nutshell, you run:
    Code:
    sudo tasksel install lamp-server
    To setup the initial Apache/MySQL/PHP server.

    Then setup your firewall as appropriate (allow port 80), and then setup the ownership on the webserver files directory.
    Code:
    sudo chown -R $USER:admin /var/www
    Note: use only for non-production web servers - this is not the most secure way to do things.

    Then update the index.html and other files in /var/www as fits your website design/intention, then open up a web browser and type in:
    Code:
    http://localhost
    To view it from your own computer, or use the IP address of your computer on the network to view it from another computer on you network.

    If you do not wish for people/computers to connect to your webserver from outside of your network, you do not need to port forward on your router.

    Regards
    Iain

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
  •