Skip to: site menu |main content

Welcome to my personal site. If You have any question or suggestion please feel free to contact me from contact page.

Advertisements

Contact me to place your Ads Here..

Powered by Drupal, an open source content management system

Syndicate

Syndicate content

module

Enabling / downloading modules and themes using shell or putty in linux

You can directly download module or theme from your ssh or putty.

1) Go to modules directory of your drupal installation. E.g:-
cd sites/all/modules

2). Download archive using wget command:
wget http://ftp.drupal.org/files/projects/image-6.x-1.0-beta5.tar.gz

3). Uncompress archive:
tar zxvf image-6.x-1.0-beta5.tar.gz

4). Delete/Remove archive:
rm -rf image-6.x-1.0-beta5.tar.gz
5)Confirm your module is there:-
ls -a

Note: the module image-6.x-1.0-beta5.tar.gz is taken here as example please check the current

how to Install a module or theme on the Linux shell command line

   1)Copy the module download link. Normaly ending with .gz.  In a Web browser, go to the module's page at drupal.org , right-click the Download link for the version you want, and copy the link location.
   2) In an SSH goto module folder of drupal
      cd www/sites/all/modules

Common method of adding and extracting modules and themes to your drupal installation

Place your custom or downloaded theme folders at:-

sites/{sitename}/themes/{themename} folder
e.g download acquia_marina theme from http://drupal.org/project/acquia_marina and place it at:-
/sites/all/themes/acquia_marina
configure it from
After placing module folder in your modules directory you can see and configure it from
http://localhost/admin/build/themes
you can check new module and enable it from this above admin link.

More Info:-
http://drupal.org/node/120641

Syndicate content

Back to top