X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/39e5de4e336d261cd370b24395f6a25f585b0a2e..5b381e7fd157c0e381a87b386996485d6c7067c8:/doc/tips/DreamHost.mdwn?ds=sidebyside diff --git a/doc/tips/DreamHost.mdwn b/doc/tips/DreamHost.mdwn index 7e483962a..95b46a68d 100644 --- a/doc/tips/DreamHost.mdwn +++ b/doc/tips/DreamHost.mdwn @@ -1,3 +1,5 @@ +[[!meta date="2008-05-05 14:14:08 -0400"]] + # Introduction I had some trouble installing ikiwiki on to a shared hosting service (DreamHost) and figured I'd post the results, since it was pretty rough to get installed. These instructions should work for Perl generally (some of the docs are borrowed from Catalyst's docs), but are tailored for Ikiwiki. There are a few items I'll file as bugs, as well, to aid future installation, but frankly the problems appear to be with installing perl as a non-root user, not anything specific to iki. @@ -150,7 +152,7 @@ Next, add your installed Perl module directory to the *libdir* parameter. It sh libdir => "/home/.server/user/site/perl/lib/perl5/", # CGI Wrapper -The CGI wrapper file will be created automatically by "ikiwiki --setup path/to/setup", as long as you have inserted a valid filename to be created. On DreamHost, be careful about putting the ikiwiki.cgi file in a directory that has different owner/group than the file itself (such as the main site.domain.tld/ directory): this will cause suexec to fail. +The CGI wrapper file will be created automatically by "ikiwiki --setup path/to/setup", as long as you have inserted a valid filename to be created into the setup file. On DreamHost, be careful not to put the ikiwiki.cgi file in a directory that has different owner/group than the file itself (such as the main site.domain.tld/ directory): this will cause suexec to fail. The wrapper mode of "06755" doesn't seem to work. "755" appears to. However, this may be completely insecure and/or buggy, so if you know better than I, edit this doc and add it here. @@ -176,6 +178,7 @@ Then you'll have to add a few variables to your path [referenced by your compile export C_INCLUDE_PATH=YOUR_INSTALL_PATH_HERE/include/ export LIBRARY_PATH=YOUR_INSTALL_PATH_HERE/lib/ + export LD_LIBRARY_PATH=YOUR_INSTALL_PATH_HERE/lib/ Then you should be able to install the module, and it'll be faster.