1. Slash Notes
Notes on how I've installed
Slash. These notes may not be generally useful, unless you're using my system.
-
Install vpkg-slash. This is a special package that is just a list of dependencies for Slash--mostly Perl modules, but also my perl-httpd, which is an RPM of Apache with mod_perl statically built-in.
apt-get install vpkg-slash
-
Connect to MySQL as root, create a new user, and test it:
# mysql mysql mysql> insert into user (Host, User, Password) values ('localhost', 'slashuser', password('PASSWORD')); mysql> insert into db (Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv ) values ('localhost', 'slash', 'slashuser', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y'); # mysqladmin reload # mysql -u slashuser -p slashThese are probably more priviledges than necessary. -
Check slash out of CVS.
-
Edit /usr/lib/perl5/site_perl/XXX/DBIx/Password.pm. This very obnoxious module stores your site passwords and such. Why you would put variable, sensitive data into a Perl module is beyond me. $virtuser1 should look something like this:
my $virtual1 = { 'slashuser' => { 'driver' => 'mysql', 'username' => 'slashuser', 'attributes' => {}, 'port' => '', 'database' => 'slash', 'password' => 'PASSWORD', 'host' => 'localhost', 'connect' => 'DBI:mysql:database=slash;host=localhost' } }; -
Install the slashsite.
cd /usr/local/slash bin/install-slashsite -u slashuser
