Install apache2 and relevant modules (see http://bzr.sesse.net/pr0n/doc/modules.txt) aptitude install libapache2-mod-perl2 libapache2-request-perl libapache2-mod-apreq2 perlmagick libmime-types-perl libdbd-pg-perl libimage-exiftool-perl libdigest-sha1-perl libdigest-hmac-perl libhtml-tagcloud-perl libjpeg-progs dcraw Configure the apache site (see http://bzr.sesse.net/pr0n/doc/README) danhusan@leda:~$ mkdir pr0n danhusan@leda:~$ cd pr0n/ danhusan@leda:~/pr0n$ bzr init danhusan@leda:~/pr0n$ bzr pull http://bzr.sesse.net/pr0n/ http://bzr.sesse.net/pr0n is permanently redirected to http://bzr.sesse.net/pr0n/ / [====== All changes applied successfully. Now on revision 303. danhusan@leda:~/pr0n$ Place in suitable spot, (/var/www/pr0n) ? fnutt:/etc/perl/Sesse/pr0n# cp Config.pm Config_local.pm edit Config_local.pm (database host, user and password) Install postgres # su postgres # psql -d template1 template1=# ALTER USER postgres WITH PASSWORD 'dasddsad'; Create DB pr0n Create user pr0n with appropriate permissions Run SQL.txt on the DB Populate the users table with your username, hashes and vhost SHA-1(Base64): sha1password (ta bort '=' p slutten) newfnutt:/etc/apache2/sites-available# htpasswd -s -n Fyll bara i detta, det andra gÂr automagiskt. fnutt:/etc/apache2/perl# nano startup.pl #!/usr/bin/perl use lib qw(/var/www/pr0n/perl); use ModPerl::Util (); #for CORE::GLOBAL::exit use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::RequestUtil (); # use Apache::Server (); use Apache2::ServerUtil (); use Apache2::Connection (); use Apache2::Log (); use APR::Table (); use ModPerl::Registry (); use Apache2::Const -compile => ':common'; use APR::Const -compile => ':common'; 1; newfnutt:/etc/apache2# nano mods-enabled/perl.conf PerlRequire "startup.pl"