Manual:Running MediaWiki on Solaris 11 / opensolaris

From Linux Web Expert

Installation OpenSolaris

Download Oracle Solaris 11.1 from https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html

Start apache and mysql

look for status
# root@powerbook # svcs -a | grep mysql
  online         12:47:10 svc:/application/database/mysql:version_50
# root@powerbook # svcs -a | grep apa
  online         10:37:05 svc:/network/http:apache22
start services
# svcadm enable svc:/application/database/mysql:version_50
# svcadm enable svc:/network/http:apache22

Setup mysql

create user and grant rights to user
# root@powerbook # /usr/mysql/5.0/bin/mysql -u root --password=??????
create database wikidb;
grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by '???passwd???';

See also