SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Revision of Installing modules with Piston from Mon, 05/17/2010 - 14:00
Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.
Piston is a utility that eases vendor branch management. This is similar to svn:externals, except you have a local copy of the files, which you can modify at will. As long as the changes are mergeable, you should have no problems.
Install Piston
First, you need to have Ruby installed (even though we aren't doing any programming in Ruby) in order to run Piston:
- On Centos 5.x, the included RPMs worked:
yum install ruby
yum install rdoc - But on Centos 4.x, a source version of Ruby was needed for RubyGems to work:
cd /extra/src
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
#wget http://rubyforge.org/frs/download.php/18421/ruby-1.8.6.tar.gz
tar zxvf ruby-1.8.7-p72.tar.gz
cd ruby-1.8.7-p72
./configure
make
make install
Then you can download a tarball of RubyGems, the package manager for Ruby and install it. For a source install of Ruby, use ruby setup.rb --prefix=/usr/local
.
cd /extra/src
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.6.tgz
tar zxvf rubygems-1.36.tgz
cd rubygems-1.3.6
ruby setup.rb
Installing Piston is easy:
gem install piston
Installing a module with Piston
cd /path/to/your/drupal/website/sites/all/modules
piston import http://<your_drupal_repo>/svn/drupal/modules/<module_name>/current <module_name>
Upgrading a module
cd /path/to/your/drupal/website/sites/all/modules
piston update <module_name>
- Log in to post comments