*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 ...
-
22nd May 2007, 08:42 AM #1 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??
-
-
IDG Tech News
-
22nd May 2007, 08:44 AM #2 Re: Ubuntu LAMP Server Install
/var/www 
Apache config is /etc/apache2/sites-enabled/000-default
-
-
22nd May 2007, 08:58 AM #3 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 ;-)
-
-
22nd May 2007, 09:29 AM #4 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 :?
-
-
22nd May 2007, 09:40 AM #5 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.
-
-
22nd May 2007, 09:46 AM #6 Re: Ubuntu LAMP Server Install
Code:
sudo nano /path/to/file
or replace nano with another editor, vi,emacs,jmacs etc
-
-
22nd May 2007, 09:53 AM #7 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.
-
-
22nd May 2007, 10:04 AM #8 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
-
-
22nd May 2007, 10:13 AM #9 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.
-
-
22nd May 2007, 10:15 AM #10 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
-
-
22nd May 2007, 10:18 AM #11 Re: Ubuntu LAMP Server Install
How would I enable my account (on ubuntu) to have root privs??
-
-
22nd May 2007, 10:18 AM #12 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
-
-
22nd May 2007, 11:03 AM #13 Re: Ubuntu LAMP Server Install
Cheers webman worked a treat ;-)
-
-
22nd May 2007, 12:17 PM #14 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.
-
-
22nd May 2007, 01:00 PM #15 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:
Similar Threads
-
Replies: 9
Last Post: 26th November 2007, 08:16 PM
-
By Jenko22 in forum Virtual Learning Platforms
Replies: 4
Last Post: 13th July 2007, 10:33 AM
-
Replies: 2
Last Post: 23rd May 2007, 03:15 PM
-
Replies: 8
Last Post: 9th November 2006, 08:44 AM
-
By OverWorked in forum *nix
Replies: 18
Last Post: 8th July 2006, 12: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
-
Forum Rules