Jump to content

Recommended Posts

Posted

If you run a Windows based desktop, have you tried WinSCP. I find it helps me a great deal to keep track of where files are.

Have you looked in /var/www?

  • Thanks 1
Posted

i would say var/www as this is where apache sets up a website first time round. if not also look in the apache config file under /etc/apache2/site-available if you look in there it should tell you where apache is looking for the files

 

Toby

  • Thanks 1
Posted

Ok, I have just looked in var/www its not in there...

I have had a look in usr folder not there?

 

it was in the usr/share/moodle??

 

why has it installed there??

 

Thanks

Posted
If you run a Windows based desktop, have you tried WinSCP. I find it helps me a great deal to keep track of where files are.

Have you looked in /var/www?

 

I would also install and use webmin. Very, very useful!

  • Thanks 1
Posted

Thanks for the help.

 

Just one more quick question??

 

How do I move a folder from desktop to the /usr/share/moodle

 

It says its locked

 

 

Thanks

Posted

you need to use root access for this.

 

either 'sudo cp ~/Desktop/myfile /usr/share/moodle' from the cli

 

or

 

'sudo nautilus' from the cli to launch nautlius in root access mode

  • Thanks 1
Posted (edited)
Ok, I have just looked in var/www its not in there...

I have had a look in usr folder not there?

 

it was in the usr/share/moodle??

 

why has it installed there??

 

Thanks

 

Because you've installed it from the package in the official repositories. The package manager has no business poking around in /var/www and potentially publishing material without the administrator even realising, so it is left up to you to symlink from your publish point to /usr/share/moodle.

 

Note: symlink, don't copy or move or any other horror. This is the only way to have the moodle package maintain itself, during security updates for example.

 

If you're really interested, it's in /usr because it's not part of the base system, it's auxillary software, and it's in /usr/share because all the files are architecture-independent, that is they are not compiled for a particular processor. If they were, everything would be in /usr/lib. And finally, you symlink instead of hardlinking because you can't hardlink directories.

 

(powdarrmonkey is a Debian maintainer.)

Edited by powdarrmonkey
it's in /usr, not /var :doh:
  • Thanks 1

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