cd /etc/yum.repos.d/
wget http://www.go-mono.com/download-stab...i386/mono.repo
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-pear php-mysql php-gd php-curl php-mbstring ImageMagick wv links pdftohtml mysql-client
pear install Cache_Lite
/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
apache:x:48:48:Apache:/var/www:/sbin/nologin
to:
apache:x:48:48:Apache:/var/www:/bin/bash
mkdir /source
cd /source
wget http://www.mindtouch.com/s/source.php
tar xvzf Deki_Wiki_1.8.2b_Hayes_source.tar.gz
mkdir /var/www/deki-hayes
cd Deki_Wiki_1.8.2b_Hayes_source
cp -r web/* /var/www/deki-hayes/
service httpd restart
Change the following values to match your configuration:
# path to your wiki
DEKI_PATH=/var/www/deki-hayes
# this should match your Apache ServerName directive
DEKI_SERVERNAME=dekiwiki.example.com
# Then change the start() and stop() functions so they look like this:
start(){
su apache $DEKI_PATH/bin/mindtouch.host.sh start
}
stop(){
su apache $DEKI_PATH/bin/mindtouch.host.sh stop
}
cp config/dekihost /etc/init.d/
ln -s /etc/init.d/dekihost /etc/rc3.d/S86dekihost
ln -s /etc/init.d/dekihost /etc/rc5.d/S86dekihost
Modify
/etc/httpd/conf/httpd.conf (or wherever your virtual servers are
configured) to include:
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
ServerName dekiwiki.example.com
DocumentRoot "/var/www/deki-hayes"
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/$ /index.php?title= [L,NE]
RewriteCond %{REQUEST_URI} !/(@api|editor|skins|config)/
RewriteCond %{REQUEST_URI} !/(redirect|texvc|index|Version).php
RewriteCond %{REQUEST_URI} !/error/(40(1|3|4)|500).html
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>
mkdir -p /usr/local/var
chown apache /usr/local/var
After the web configuration has finished instead of the proposed course use this slightly modified one:
cd /var/www/deki-hayes/config
mkdir /etc/dekiwiki
chown apache /etc/dekiwiki
cp mindtouch.deki.startup.xml /etc/dekiwiki
cp LocalSettings.php /var/www/deki-hayes/
cp AdminSettings.php /var/www/deki-hayes/
cp mindtouch.host.sh /var/www/deki-hayes/bin/
/etc/init.d/dekihost start
***********************************
[utterramblings]
name=Jasons Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL4/$basearch/
enabled=1
gpgcheck=0
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka"
**********************************
This will let you upgrade your mysql to 2.0.48 edited 22:27, 13 Oct 2007
pdf2text
html2text
ppthtml
wvText
http://rpm.pbone.net/index.php3/stat/4/idpl/4910896/com/wv-1.2.4-2.fc8.x86_64.rpm.html
you may install rpmforge to enhance your yum repos. edited 16:20, 15 Oct 2007
setsebool -P httpd_can_network_connect=1
This allows apache to make network connections. That cost me a couple hours of troubleshooting!