Hi
I have just dumped my windows system for a pure Ubuntu OS, so my question is simple i hope how do i install modules on the Ubuntu OS i know this is a lame question but this OS is all new to me.
Thanks
S
Hi
I have just dumped my windows system for a pure Ubuntu OS, so my question is simple i hope how do i install modules on the Ubuntu OS i know this is a lame question but this OS is all new to me.
Thanks
S
Comments
Comment #1
add1sun commentedyou would install them the same way that you do on any other system. you need to put the modules in your sites/default(or all)/modules folder wherever drupal is installed.
if you have drupal installed you should already know where it is on your computer.
Comment #2
anthonylicari commentedYeah I'm not a webmaster but stumbled across this and use Ubuntu quite a bit. I use gFTP to transfer all my files. You can install that with Synaptic Package Manager.
Comment #3
.carey commentedLike add1sun said, you just need to put it in the appropriate folder. You don't need to use gFTP since it's local; just copy and paste the entire module folder where it belongs and then go to your Drupal site and install it.
Comment #4
SHonour commentedThanks everyone but i must be a little dim i did the install of drupal using
SUDO apt-get install drupal-5.1
used the wizard and all is well but i don't knwo where the install folder is i know this is lame but i have been using windows for the last forever and teaching myself Linux is proving a hard task I hope you can help?
Thanks
Stuart
Comment #5
add1sun commentedHuh, I didn't know you could apt-get drupal 5.1. For the record, I wouls ALAWAYS manually install Drupal so you know what is what and how to do your own upgrades. That said, I haven't been on my Ubuntu machine in a while but I believe all your localhost files will be in /var/www.
A handy tip (other than Google) is to do
sudo updatedband then you can use the locate command to find things on Ubuntu, so you can do e.g.locate drupal.Comment #6
SHonour commentedThanks will look at that when i get home tonight
Comment #7
tomthumb99 commentedFolks,
I have been loading new modules into var/www/drupal/modules just fine, but one question on chmode. I have been using root to copy over the files, and all works on the activated from the drupal admin menu. But, what should the file ownership and protection be to avoid later complications.
Thanks,
Comment #8
Simon Naude commentedOn Ubuntu 10+, the command
sudo apt-get install drupal#(where hash is >=5) will install drupal in /usr/share/drupal#. To make it appear in /var/www/drupal#, do this :sudo ln -s /usr/share/drupal#/ /var/www/drupal# && ls -A1hF /var/www. You should see 'drupal#' (sans quotes) listed in /var/www as a link.Comment #9
mpacey commentedThe correct way to install modules (and themes) in Debian and Ubuntu is documented in /usr/share/doc/drupal6/README.Debian.gz.
To view it:
Looking at section 10:
(my emphasis)
You'll need to create the directories in /usr/local/share/drupal:
Then you can put your modules in /usr/local/share/drupal and not worry about them conflicting with system updates.
Hope that helps someone!
Michael