Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

83 lines (47 sloc) 1.913 kb
#!/usr/bin/perl -w
=head1 Name - installation script to give the user some final instructions
=head1 Description
This script is called at the end of "make install" to give the user some
final instructions.
=head1 Author
Sam Tregar <>
=head1 See Also
use strict;
use File::Spec::Functions qw(:ALL);
# read in user config settings
our $CONFIG;
do "./config.db" or die "Failed to read config.db : $!";
our $AP;
do "./apache.db" or die "Failed to read apache.db : $!";
my $url = "http://$AP->{server_name}" .
($AP->{port} == 80 ? "" : ":$AP->{port}");
my $ctl = "bric_apachectl";
$ctl = catfile($CONFIG->{BIN_DIR}, $ctl)
unless grep { $_ eq $CONFIG->{BIN_DIR} } path();
unless $CONFIG->{BRICOLAGE_ROOT} eq '/usr/local/bricolage';
my $error_log = catfile($CONFIG->{LOG_DIR}, "error_log");
print <<END;
Bricolage Installation Complete
You may now start your Bricolage server with the command (as root):
$ctl start
If this command fails, look in your error log for more information:
Once your server is started, open a web browser and enter the URL for
your server:
Login in as "admin" with the default password "change me now!". Your
first action should be changing this password. Click "Logged in as
Bricolage Administrator" in the top right corner of the browser window
and change the password.
Pointers for documentation and lots of getting started advice are in
the main README file in the unpacked distribution directory.
exit 0;
Jump to Line
Something went wrong with that request. Please try again.