Setup Media Wiki
yum install gcc openssl-* mysql mysql-server httpd php-* httpd php pcre php-mysql php-pear php-pecl-apc mysql-server ImageMagick sendmail php-intl wget system-config-firewall-tui
cd /var/www/
wget http://dumps.wikimedia.org/mediawiki/1.17/mediawiki-1.17.0.tar.gz
tar -zxvf mediawiki-1.17.0.tar.gz
mv mediawiki-1.17.0 wiki
vi /etc/httpd/conf/httpd.conf
Alias /wiki /var/www/wiki/
<Directory /var/www/wiki/>
Options Indexes
AllowOverride none
DirectoryIndex index.php
Order allow,deny
allow from all
</Directory>
/etc/init.d/httpd restart
mysql -uroot -p
mysql> CREATE DATABASE my_wiki;
mysql> grant index, create, select, insert, update, delete, alter, lock tables on my_wiki.* to 'wikiuser'@'localhost' identified by 'wiki@123';
mysql> FLUSH PRIVILEGES;
mysql> quit
Goto Browser & access the Media Wiki & Follow The Instruction
See This Video :http://www.youtube.com/watch?v=Ku-vuy0d5po
########## Setup Media Wiki ##########
yum install gcc openssl-* mysql mysql-server httpd php-* httpd php pcre php-mysql php-pear php-pecl-apc mysql-server ImageMagick sendmail php-intl wget system-config-firewall-tui
cd /var/www/
wget http://dumps.wikimedia.org/mediawiki/1.17/mediawiki-1.17.0.tar.gz
tar -zxvf mediawiki-1.17.0.tar.gz
mv mediawiki-1.17.0 wiki
vi /etc/httpd/conf/httpd.conf
Alias /wiki /var/www/wiki/
<Directory /var/www/wiki/>
Options Indexes
AllowOverride none
DirectoryIndex index.php
Order allow,deny
allow from all
</Directory>
/etc/init.d/httpd restart
mysql -uroot -p
mysql> CREATE DATABASE my_wiki;
mysql> grant index, create, select, insert, update, delete, alter, lock tables on my_wiki.* to 'wikiuser'@'localhost' identified by 'wiki@123';
mysql> FLUSH PRIVILEGES;
mysql> quit
Goto Browser & access the Media Wiki & Follow The Instruction
See This Video :http://www.youtube.com/watch?v=Ku-vuy0d5po
########## Setup Media Wiki ##########
No comments:
Post a Comment