Results 1 to 7 of 7

Thread: Need help on LAMP server

  1. #1
    Join Date
    Jan 2008
    Location
    Detroit
    Beans
    121
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Need help on LAMP server

    Hello unbuntu community,
    i have been working on a Lamp server and had no luck getting it online. I need some info on this, if i need to i will start from scratch. I have a simple html page for testing. i am completely new to this. Please help the newbie!
    Alway expect something good to happen

  2. #2
    Join Date
    Jul 2007
    Location
    Davao
    Beans
    291
    Distro
    Ubuntu Development Release

    Re: Need help on LAMP server

    Open a terminal, and type:

    sudo apt-get install apache2 php5 php5-mysql mysql-server

    The location of the web pages will be at /var/www
    Dominique Gerald M. Cimafranca
    Ubuntu Living

  3. #3
    Join Date
    Mar 2008
    Beans
    464
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need help on LAMP server

    There is also an installation option when installing Ubuntu Server to set up a LAMP server automatically.

  4. #4
    Join Date
    Sep 2007
    Location
    North Ft. Myers, FL USA
    Beans
    477
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Need help on LAMP server

    You might need to change the ownership of /var/www.
    Last edited by jamesrfla; June 29th, 2008 at 07:07 PM.

  5. #5
    Join Date
    May 2008
    Location
    NJ
    Beans
    87

    Re: Need help on LAMP server

    for lampp, in the terminal type:
    sudo /opt/lampp/lampp start

    I also *suggest* typing:
    sudo chmod 777 /opt/lampp/htdocs/*
    to easily modify files in your web folder
    Ubuntu user #22693
    --SIGNATURE SPACE FOR RENT--

  6. #6
    Join Date
    Jan 2008
    Location
    Detroit
    Beans
    121
    Distro
    Ubuntu 9.10 Karmic Koala

    Talking Re: Need help on LAMP server

    thanks guys for helping. the server was auto maticaly installed but its all line command and I'm a little rusty, is there a way that I can man the command to help me copy the html files, is there a web site with some commands,and last how do I test to see if the server is working correctly. thanks for all the help
    Alway expect something good to happen

  7. #7
    Join Date
    Feb 2007
    Beans
    160
    Distro
    Gutsy Gibbon Testing

    Re: Need help on LAMP server

    http://www.google.com/search?q=linux+basic+commands shows a lot of websites that can show some basic linux commands.

    To copy a file type:
    Code:
    cp src dest
    where src is the file you want to copy and dest is where you want to copy it to. i.e.

    Code:
    cp /home/user/index.html /var/www/index.html
    If you find a command you know you need to use you can type
    Code:
    man command
    in the console to get a manual for it.


    To test if the server is working, go to another computer and type in the ip address of the server. Or you can go the following at the server itself:
    Code:
    sudo apt-get install lynx
    ...
    lynx localhost
    Lynx is a terminal-based webbrowser. localhost is the computer you're working on, so lynx localhost will open up a webbrowser to the localhost and test to see if the webpage is working.
    Dell XPS M1530
    Core 2 Duo T8100 @ 2.10GHz | 4GB RAM
    320GB HDD | 256MB nVidia GeForce Go 8600M GT
    Registered Linux User: #441660 | Registered Ubuntu User: #11700

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
  •