Jump to content

Recommended Posts

Posted

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??

Posted

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 :?

Posted

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.

Posted
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.
Posted

Cheers for the replies

 

I will look at putty and winscp

@cybernerd that works a treat :D - i spent ages tryin to find that out yesterday. Post on here answer within 20 mins I have the answer.

 

This place is great :D

 

No doubt I will be back to this thread

Posted

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.

Posted

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

Posted

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

Posted

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.

Posted

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

Posted
I use AD on Server 2003 and have the same settings as Geoff for First name and Surname but use userPrincipleName for email.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...