This guide will help you setup WikiMedia on http://<IP or hostname>/wiki .
1] Setup CentOS 6 64-bit as in guide (http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/).
2] "yum update"
3] "vi /etc/sysconfig/selinux" and set "SELINUX=disabled".
4] "setenforce 0"
5] "shutdown -r now"
6] "rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm"
7] "yum install lighttpd lighttpd-fastcgi php-cgi pcre php-mysql php-pear php-pecl-apc mysql-server ImageMagick sendmail php-intl wget system-config-firewall-tui"
8] "service mysqld start"
9] "/usr/bin/mysql_secure_installation"
10] "mysql -u root -p" # Don't forget to substitute your own password for the GiveAPasswordHere text below.

create database wikidb;
grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'mediawiki'@'localhost' identified by 'GiveAPasswordHere';
exit

11] "cd /var/www/lighttpd"
12] "wget http://download.wikimedia.org/mediawiki/1.18/mediawiki-1.18.2.tar.gz"
13] "tar xzpf mediawiki-1.18.2.tar.gz"
14] "mv mediawiki-1.18.2 wiki"
15] "chown -R lighttpd:lighttpd wiki"
16] "vi /etc/lighttpd/lighttpd.conf", and set:
server.use-ipv6 = "disable"
server.bind = "(the installation's IP address or hostname)"
server.max-connections = 512
17] "vi /etc/lighttpd/modules.conf", and uncomment:
include "conf.d/fastcgi.conf"
18] "vi /etc/lighttpd/conf.d/fastcgi.conf", and append:
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/var/run/lighttpd/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi",
"max-procs" => 5,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "10000" ),
"broken-scriptfilename" => "enable"
)
)
)
19] "mkdir /var/lib/php/session"
20] "chmod 770 /var/lib/php/session"
21] "chown root:lighttpd /var/lib/php/session"
22] "chown root:lighttpd /var/lib/php"
23] "chmod 775 /var/www/lighttpd/wiki/images"
24] "vi /etc/php.ini"

post_max_size = 128M
upload_max_filesize = 128M
cgi.fix_pathinfo=1

25] Open ports 80. You may use "system-config-firewall-tui".
26] "service lighttpd restart"
27] Setup MediaWiki by visiting in a browser: http://(IP or hostname of MediaWiki installation)/wiki . I used "wikidb" for the database name, and "mediawiki" for the database username. Please use the password you substituted above. You may also use "PHP object caching" when the option shows up.
28] Save your "LocalSettings.php" file when it becomes available for download. And then put it in your /var/www/lighttpd/wiki MediaWiki installation.
29] To enable file uploads (Warning: Your default directory for uploads /var/www/lighttpd/wiki/images/ is vulnerable to arbitrary scripts execution.):
"vi /var/www/lighttpd/wiki/LocalSettings.php"

$wgEnableUploads = true; # Set this to true
# Append the following:
$wgFileExtensions = array('png','gif','jpg','jpeg','doc','xls','mpp','pdf','ppt','tiff','bmp','docx', 'xlsx', 'pptx','ps','odt','ods','odp','odg','exe');
$wgFileBlacklist = array_diff( $wgFileBlacklist, array ('exe') );

30] "chkconfig lighttpd on"
31] "chkconfig mysqld on"
32] "chkconfig sendmail on"
33] "service sendmail start"
34] Congratulations, you've setup MediaWiki. Test to verify.
Note: Logo is in (Lighttpd server root)/wiki/skins/common/images/wiki.png