Hi Piotr,
I did a "clean" install a couple of days ago and after some work have
a mostly functioning system running under Ubuntu Server 8.04 with
Lighttpd Web Server. The only issue I've found so far is a problem
with [[gallery]] and [[image file-name]] not working properly. More
details are on my Wikidot Pro site:
http://my-wd-local.wikidot.com.
I could use some help understanding the purpose of the various
configuration programs and in what order they should be run.
Here are some steps I did to get things working properly (after
checking out Wikidot and configuring Postgresql):
=======================
cp /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.orig
cp files/lighttpd.conf /etc/lighttpd/lighttpd.conf
cp files/lighttpd-wikidot.conf.orig /etc/lighttpd/lighttpd-
wikidot.conf
(I manually edited the above 2 files before copying them)
php bin/configure.php
php bin/generate_om.php
cat files/crontab >> /etc/crontab
cp /usr/share/file/magic* /var/www/wikidot1/lib/magic/
chown www-data:www-data -R .
apt-get install php5-cgi
lighty-enable-mod cgi
/etc/init.d/lighttpd force-reload
php bin/configure.php
/etc/init.d/lighttpd force-reload
=======================
I manually edited the lighty config files, but suspect one of the
configuration php files might have done that for me. I also had to
edit the "no-longer-needed" GlobalProperties.php file so one of the
config scripts would run (I can't remember which one off the top of my
head). I also had to edit /etc/php5/cgi/php.ini so I could get files
larger than 2MB to upload. The other wierd thing is that Ubuntu must
install a basic part of Apache Server automatically because even
though I never installed it, an Apache service was running that caused
a conflict with Lighttpd until I disabled it.
The bottom line is that Wikidot is running pretty well on my server
(other than the images issue), and I can probably do it again. Trying
to document the process so others can do it might be hard for me until
I understand exactly what some of the pieces are doing. Do some of the
config scripts need to be updated to better handle this process, or
does Lighttpd just complicate the process a bit more? More automation
and less manual editing would be a big plus for other users. I'd like
to see a single setup-wikidot.php script handle the bulk of the
configuration. It would be really cool if it could prompt for some of
the wikidot.ini settings as part of the setup. I suspect I still have
some config issues that are causing problems with files and/or images.
If you or anyone else wants to log into the install and give it a test
drive, I do have port 80 forwarded to my server and can provide the
details you need in a private message for editing your hosts file so
you can connect.
One last question: When this is all finally sorted out, I'd like to
make an installable iso file available ("Wikidot in a Box!") to make
it really easy for others to get up and running with the open source
version. Currently, my iso is a bit over 1GB. I can probably cut it
back to fit on a CD (under 700MB) by removing some of the extra stuff
that Ubuntu Desktop installs. Would you have a place to host such a
large file for others to download when I get to that point?
I hope you had fun at Barcamp last weekend!
Thanks,
-Ed
On Sep 20, 2:21 am, Piotr Gabryjeluk <
pi...@wikidev.lastlook.pl>
wrote:
> Hi Ed,
>
> That's really nice that you manage to do such a progress :). Indeed we
> prepared the lighttp*.conf files. PEM files are easy to do (try google:
> "lighttpd SSL howto pem crt"). It's just as easy as concatenating (cat)
> the two files needed for Apache :). Make sure to backup them first,
> though.
>
> Cheers!
>
> Dnia 2008-09-19, o godz. 19:44:36
> Ed Johnson <
edjohnson...@gmail.com> napisał(a):