Wiki: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
Line 22: Line 22:
  gunzip mediawiki-1.6.8.tar.gz
  gunzip mediawiki-1.6.8.tar.gz
  tar xvf mediawiki-1.6.8.tar
  tar xvf mediawiki-1.6.8.tar
  mv mediawiki-1.6.8 wiki
rm mediawiki-1.6.8.tar
  mv mediawiki-1.6.8 mediawiki-1.6.8_clonwiki


Installation procedure was not recorded - next time ...
Installation procedure was not recorded - next time ...

Revision as of 09:34, 4 January 2008

We are using MediaWiki. Current article describes installation procedure and some useful procedures.

MediaWiki Installation Procedure

Create user 'clonwiki' with private group.

Create database:

ssh root@clondb1
mysql -u root -p
create database wikidb\g
grant create, select, insert, update, delete, lock tables on wikidb.* to boiarino@clonweb.jlab.org identified by    '*********'\g
flush privileges\g
\q

Download and install mediawiki:

su
download 'mediawiki-1.6.8.tar.gz' from web to '/usr/local/download'
cp mediawiki-1.6.8.tar.gz /www/apache2.2.3/htdocs/
cd /www/apache2.2.3/htdocs
gunzip mediawiki-1.6.8.tar.gz
tar xvf mediawiki-1.6.8.tar
rm mediawiki-1.6.8.tar
mv mediawiki-1.6.8 mediawiki-1.6.8_clonwiki

Installation procedure was not recorded - next time ...


NOTE: All WIKI-related documents are stored in subdirectories of /www/apache2.2.3/htdocs/wiki/clondocs/. To access those areas group clonweb must be created locally, and all users who suppose to modify those documents must be in that group. To do so following line must be added to the /etc/group file (list of users could be changed of course):

clonweb:!!:9996:clonweb,clonwiki,nagios,mrtg,boiarino,sergpozd,braydo,nerses,marki

All subdirectories modes and ownership must be set as following:

chmod 775 <dirname>
chown root:clonweb <dirname>