installing kv-WebME in CentOS 6

I’m setting up a new server and need to install kv-WebME in it. The previous instructions (for Fedora 16) were fine for an older version of WebME, but the most recent requires more uptodate packages.

So, first, we need to tell CentOS 6 to use more uptodate packages than are provided by default.

[bash]
su –
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
[/bash]

Now we need to install PHP (at /least/ 5.3), Apache, MySQL, etc.

[bash]
yum install httpd mysql-server php php-gd php-mysql php-xml git zip unzip
[/bash]

Add a user account for the website, and download the kv-webme repository

[bash]
adduser webme
su – webme
git clone https://github.com/kaeverens/kvwebme webme
chmod 755 /home/webme
exit
[/bash]

Now add the web configuration to /etc/httpd/conf/httpd.conf

[xml]
NameVirtualHost *:80

AllowOverride All


DocumentRoot /home/webme/kv-webme

[/xml]

And finally, turn it all on.

[bash]
service httpd start
service mysqld start
chkconfig –level 35 mysqld on
chkconfig –level 35 httpd on
[/bash]

That’s it!