cd /etc/yum.repos.d/
wget http://www.go-mono.com/download-stab...i386/mono.repo
The above link is broken - instead, try the RHEL5 instructions at Installing Deki Wiki package on RedHat EL 5 / Fedora 8 / CentOS 5 - which are
Create the file "/etc/yum.repos.d/mono.repo" with the following content :
[Mono] name=Mono Stack (RHEL_5) type=rpm-md baseurl=http://download.opensuse.org/repositories/Mono/RHEL_5/ gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/Mono/RHEL_5/repodata/repomd.xml.key enabled=1
As of 23/10/2007 CentOS 5 mysql is < than 5.0.43 and therefore has a bug (please see this thread in the forums)
As suggested by howlym add a new file utterramblings.repo in /etc/yum.repos/
Put below content to this new file:
***********************************
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$r...ver/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
**********************************
You will also need to import the RPM GPG Key:
**********************************
rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
**********************************
This will let you upgrade/install your mysql to 5.0.48+ (5.0.54 as-of 2008-01-18)
Be
aware that this Repo contains updates to other packages, also, (httpd,
etc). More info on what it may contain can be found at the authors
site: http://www.jasonlitka.com/yum-repository/
yum install httpd mysql-server php php-mysql php-gd php-curl php-mbstring ImageMagick wv links pdftohtml mysql-client
/etc/init.d/mysqld start/etc/init.d/httpd start
/sbin/chkconfig --level 35 httpd on
/sbin/chkconfig --level 35 mysqld on
memory_limit = 128M
post_max_size = 64M
upload_max_filesize = 64M
mkdir /source cd /source wget http://www.mindtouch.com/s/source.php tar xvzf Deki_Wiki_1.9.0_Itasca_source.tar.gz mkdir /var/www/dekiwiki cd Deki_Wiki_1.9.0_Itasca_source cp -r web/* /var/www/dekiwiki
cp config/dekiwiki-init.redhat /etc/init.d/dekiwiki chmod +x /etc/init.d/dekiwiki /sbin/chkconfig --level 35 dekiwiki on
mkdir /var/log/dekiwiki touch /var/log/dekiwiki/deki-api.log chown apache /var/log/deki-api.log
Edit the config/deki-apache.conf and change the VirtualHost, ServerName, DocumentRoot, ErrorLog, and CustomLog to match your servers configuration. For example:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName wiki.example.com
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common
DocumentRoot "/var/www/dekiwiki"
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ /index.php?title= [L,NE]
RewriteCond %{REQUEST_URI} ^/@gui/[^.]+$
RewriteRule ^/@gui/(.*)$ /proxy.php?path=$1 [L,QSA,NE]
RewriteCond %{REQUEST_URI} !^/(@api|editor|skins|config|@gui)/
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !^/favicon\.ico$
RewriteCond %{REQUEST_URI} !^/robots\.txt$
RewriteCond %{QUERY_STRING} ^$ [OR] %{REQUEST_URI} ^/Special:Search
RewriteRule ^/(.*)$ /index.php?title=$1 [L,QSA,NE]
# deki-api uses encoded slashes in query parameters so AllowEncodedSlashes must be On
AllowEncodedSlashes On
# mod_proxy rules
ProxyPass /@api http://localhost:8081 retry=1
ProxyPassReverse /@api http://localhost:8081
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
</VirtualHost>
- Marc