+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
*nix Thread, Ubuntu LAMP Server Install in Technical; Hi All, Having never used Ubuntu before I ahve done a standard LAMP install on VMServer and can access the ...
  1. #1
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Ubuntu LAMP Server Install

    Hi All,

    Having never used Ubuntu before I ahve done a standard LAMP install on VMServer and can access the default website.

    I have 4 websites I need to port across so can anyone tell me where the webserver default web directory can be found.....?

    and is it a case of simply adding the folder within that directory and they become visible??

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Ubuntu LAMP Server Install

    /var/www

    Apache config is /etc/apache2/sites-enabled/000-default

  3. #3
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Re: Ubuntu LAMP Server Install

    Many thanks webman, I may come back to you for some more advice as I am installing moodle, wish me luck ;-)

  4. #4

    rush_tech's Avatar
    Join Date
    Jul 2006
    Location
    Nottingham
    Posts
    1,419
    Thank Post
    112
    Thanked 269 Times in 202 Posts
    Rep Power
    194

    Re: Ubuntu LAMP Server Install

    Hi
    I'm a newbie when it comes to ubuntu, i've installed ubuntu server and Xampp . Xampp is installed in /opt/lampp and I'm trying to get joomla up and running. I've put the joomla site in /opt/lampp/htdocs/public, fine with that.

    How do I open a Text Doument in the terminal window to edit the httpd.conf as Root :?

  5. #5
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Re: Ubuntu LAMP Server Install

    For editing any of the files your best bet id to download PUTTY and WinSCP.

    Putty will allow you to remote into the box via a terminal windows and WinSCP will allow you to transfer files back and forth.

  6. #6


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Ubuntu LAMP Server Install

    Code:
     sudo nano /path/to/file
    or replace nano with another editor, vi,emacs,jmacs etc

  7. #7

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Ubuntu LAMP Server Install

    Bare in mind that by default the root account is disabled in Ubuntu, so won't be able to transfer/edit files as root via WinSCP.

  8. #8

    rush_tech's Avatar
    Join Date
    Jul 2006
    Location
    Nottingham
    Posts
    1,419
    Thank Post
    112
    Thanked 269 Times in 202 Posts
    Rep Power
    194

    Re: Ubuntu LAMP Server Install

    Cheers for the replies

    I will look at putty and winscp
    @cybernerd that works a treat - i spent ages tryin to find that out yesterday. Post on here answer within 20 mins I have the answer.

    This place is great

    No doubt I will be back to this thread

  9. #9
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Re: Ubuntu LAMP Server Install

    OK @webman, how do you get it so you can transfer files via WinSCP as root.

    I have checked the WinSCP forums and tried the suggestions but no joy.

  10. #10

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,614
    Thank Post
    747
    Thanked 1,707 Times in 1,520 Posts
    Rep Power
    437

    Re: Ubuntu LAMP Server Install

    In order to use Winscp to transfer files as root you would need to enable the root account or give another account similar priveleges without needing to sudo as you can't sudo with winscp.

    Ben

  11. #11
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Re: Ubuntu LAMP Server Install

    How would I enable my account (on ubuntu) to have root privs??

  12. #12

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,417
    Thank Post
    644
    Thanked 965 Times in 665 Posts
    Blog Entries
    2
    Rep Power
    328

    Re: Ubuntu LAMP Server Install

    You'd need to give the appropriate permissions to the user who you are logging in as on the directory where you want to upload to. Eg,

    $ chmod 770 /var/www
    $ chown www-data:admin /var/www

    Which will give read/write/execute permissions to www-data (apache) and anyone in the 'admin' group - user 'admin' by default.

    Or, to just enable the root account:

    $ sudo passwd root

  13. #13
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Re: Ubuntu LAMP Server Install

    Cheers webman worked a treat ;-)

  14. #14
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    63

    Re: Ubuntu LAMP Server Install

    Right back again,

    I have mooddle installed and working yey!

    Now I want to do the LADP auth thing and wanted to know what LDAP fields people have used to data map to moodle??

    The fields I am looking at are:

    Firstname
    Surname
    Email

    all others are locked out as they are not required.

  15. #15

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Ubuntu LAMP Server Install

    It depends what the LDAP schema is. I use AD here, so have the following values:

    Firstname = givenName
    Surname = sn
    Email address = mail
    Phone 1 = telephoneNumber
    Phone 2 = otherPhone
    Department = physicalDeliveryOfficeName
    Address = streetAddress
    City/town = l
    Country = c
    Description = title
    ID Number = description



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. LAMP - Ubuntu 7.10 Standard Edition
    By Nij.UK in forum *nix
    Replies: 9
    Last Post: 26th November 2007, 08:16 PM
  2. Downloading moodle to a LAMP server
    By Jenko22 in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13th July 2007, 11:33 AM
  3. LAMP Server
    By wesleyw in forum *nix
    Replies: 2
    Last Post: 23rd May 2007, 04:15 PM
  4. Ubuntu Install Taking hours!
    By rael74 in forum *nix
    Replies: 8
    Last Post: 9th November 2006, 08:44 AM
  5. Replies: 18
    Last Post: 8th July 2006, 01:13 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •