Wiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 25: | Line 25: | ||
mv mediawiki-1.6.8 wiki | mv mediawiki-1.6.8 wiki | ||
Installation procedure | Installation procedure (we assume machine name is 'clonwiki'): | ||
* open browser at http://clonwiki/wiki/; click on link 'Please setup the wiki first' | |||
Revision as of 09:51, 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/downloads' cp /usr/local/downloads/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 wiki
Installation procedure (we assume machine name is 'clonwiki'):
- open browser at http://clonwiki/wiki/; click on link 'Please setup the wiki first'
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>