Electric Sheep
From Jon's Wiki
Whizzy Electricsheep videos.
Installing the Electric Sheep server
1. Install the dependencies:
apt-get install libapache2-mod-perl2 graphviz netpbm libjpeg-progs mjpegtools electricsheep
2. Untar the server tarball somewhere.
3. Edit cgi/config.pl
4. Edit cgi/global.pl
5. Edit etc/rc.fsd
6. Do this from the base directory:
cd src make pnmmultipaste cd .. cp src/pnmmultipaste bin cp /usr/bin/flam3-genome bin cp /usr/bin/dot bin
7. Configure apache to point at the server, with configured Perl cgi:
Alias /sheep/cgi/list "/home/sheep/docroot/v2.6/cgi/list.txt"
ScriptAlias /sheep/cgi/get "/home/sheep/docroot/v2.6/cgi/get.cgi"
ScriptAlias /sheep/cgi/put "/home/sheep/docroot/v2.6/cgi/put.cgi"
ScriptAlias /sheep/cgi/ "/home/sheep/docroot/v2.6/cgi/"
Alias /sheep/ "/home/sheep/docroot/v2.6/"
<Directory "/home/sheep/v2.6/cgi">
SetEnv PERL5LIB /home/sheep/docroot/v2.6/cgi
Order allow,deny
Allow from all
# stop access to perl and backup files
<FilesMatch "(.pl|~)$">
Deny from all
</FilesMatch>
</Directory>
<Directory "/home/sheep/docroot/v2.6">
# need this as mpgs are links
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>