Debian/Ubuntu-based systems
If you have Debian or Ubuntu you may try our brand new Debian packages.
Dependencies
Wikidot runs on Unix system including GNU/Linux (like Ubuntu) and Mac OS X. There is no Windows port.
Wikidot relies on the following software (that you need to install first):
- PostgreSQL 8.3
- PHP 5.2+
- Lighttpd 1.4 or 1.5
- ImageMagick
- LaTeX
- PHP gd extension
- PHP tidy extension
- PEAR
- file program
- Git to retrieve the source
On Ubuntu this means:
$ sudo aptitude install postgresql-8.3 php5-cgi php5-cli php5-pgsql lighttpd imagemagick tetex-bin tetex-extra gs-gpl php5-gd php5-tidy php-pear file git-core
Cheat sheet for geeks
Unless you are a geek, jump to the next section.
If you are a geek and have all the dependencies installed, all you need is this few commands.
git clone git://github.com/gabrys/wikidot.git wikidot
cd wikidot
git submodule init
git submodule update
sudo sudo -u postgres make prepare_db
make
./wikidotctl start
Obtaining Wikidot
To get the latest Wikidot source clone our git repository:
$ git clone git://github.com/gabrys/wikidot.git wikidot
$ cd wikidot
$ git submodule init
$ git submodule update
Our project at GitHub: http://github.com/gabrys/wikidot
Prepare PostgreSQL database
Wikidot needs a database created in PostgreSQL. You can create it yourself and skip to the next point. You need to note the user, password and database (you can use remote database as well, then note the host too).
Set PostgreSQL credentials in configuration file
Edit conf/wikidot.ini file. Localize [db] section (it should be the first). If you created database and user, fill in the proper values. If you want Wikidot to create database and user for you, keep the default wikidot/wikidot/wikidot settings, unless you can only connect as user with the same name as your system user (this is especially true on Ubuntu).
NOTE FOR UBUNTU USERS: you need to set user setting in wikidot/conf/wikidot.ini to your current user, since Ubuntu enables authorizing local users with PAM by default.
make prepare_db
Don't forget to start PostgreSQL:
$ sudo /etc/init.d/postgresql start
or
$ sudo /etc/init.d/postgresql-8.3 start
To create the user and database, you need to run make prepare_db as user postgres.
On Ubuntu, this should do it:
$ sudo sudo -u postgres make prepare_db
This should ask you for your password. If you don't use sudo just
$ su postgres
Password: (enter postgres password)
$ make prepare_db
$ exit
Install Wikidot database and generate configuration files
Once you prepare the database (either manually or automatic), just issue make as normal user.
$ make
The command should print a long URL at the very end. You will need it to configure your first super-user account.
From time to time, make crashes in the middle of saving pages. This is caused by PHP process running out of memory. Re-run make and this should succeed.
Run Wikidot
Wikidot runs its own instance of Lighttpd with a separate lighttpd.conf file. It uses :8080 port by default to not conflict with the default installation and to be able to be run by a regular user.
$ ./wikidotctl start
To stop use ./wikidotctl stop
Configure super user
Go to the URL make prints at the end to configure your wiki superuser password http://127.0.0.1:8080/admin:superadmin/key/...
I have just gone trough this line "…host big farms of wikis on a regular Linux computer." on wikidot's home page .
I know HTML and php .Does anybody have Idea that What knowledge does it needed to install and make it work ?
Im sure some kind of experience with linux and web servers is definitely going to be a big help. Nevertheless what stops you from trying, since it is so easy these days to install ubuntu to a usb hard disk and have it both ways
I have VPS and would need some guidelines to get started with the installation .Could any one help me with the guidance?
Thanks !
Could you please provide more information? I don't want to google "VPS".
Hello!
i tried to install wikidot on my home server - running a somewhat current debian squeeze version.
First thing I noted is that the git submodule spyc from
could not be fetched. Therefore I downloaded the version directly from sourceforge http://code.google.com/p/spyc/.
Then i used the postgresql-8.4 version to install tetex-bin tetex-extra seemed already be outdated and i did not use them. When running make the error occurs that the function set_curcfg does not exist. After some searching i found that this function is part of the tsearch2 module which is part of the postgresql-contrib package. After installing the package and running the sql file on the database (psql wikidot < tsearch2.sql) the next error occured -
Uncaught exception 'OzoneDatabaseException' with message 'error: ERROR: invalid value for parameter "default_text_search_config": "default".
/var/log/postgresql/postgresql-8.4-main.log dumps errors like that:
So i was wondering if the Open Source version is still supported and if anyone has a solution to the problem?
Best Regards
Christian
I think the Open Source project is dead. Rather than re-type everything from a post I made almost a year ago, you can read it here:
http://www.wikidot.org/forum/t-304073/postgresql-8-1-wikidot#post-989994
The short version is that I have been successfully running an older version of WDOS for a few years, but the current version seems to be difficult/impossible to install cleanly. I haven't messed with it in a long while and I'm just enough of a Linux noob that I have trouble problem-solving issues when I run into them.
Since the version I'm running as well as the current version here are both far, far behind the current feature set of wikidot.com, I have a hard time recommending WDOS to anyone at this point.
Ed
Community Admin