itgeek Posted March 17, 2010 Posted March 17, 2010 Hi I have installed ubuntu 9.10. I am having problems finding where it has installed moodle. I followed the instructions Installing Moodle on an Ubuntu Workstation . Thanks
mwnci Posted March 17, 2010 Posted March 17, 2010 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? 1
glennda Posted March 17, 2010 Posted March 17, 2010 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 1
itgeek Posted March 17, 2010 Author Posted March 17, 2010 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
clarky2k3 Posted March 17, 2010 Posted March 17, 2010 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! 1
itgeek Posted March 17, 2010 Author Posted March 17, 2010 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
danbuntu Posted March 17, 2010 Posted March 17, 2010 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 1
glennda Posted March 17, 2010 Posted March 17, 2010 if you install the midnight commander you will find that looking for files/copying stuff is alot easier Toby 1
itgeek Posted March 17, 2010 Author Posted March 17, 2010 Thanks I have it now installed and working!!! Thanks for all your help
powdarrmonkey Posted March 18, 2010 Posted March 18, 2010 (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 March 18, 2010 by powdarrmonkey it's in /usr, not /var :doh: 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now