media_wiki_installation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| media_wiki_installation [2005/12/30 04:37] – _seth | media_wiki_installation [2026/09/27 00:52] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ====== Installing MediaWiki on Reaper ====== | ||
| - | |||
| - | A short story, as written by seth. | ||
| - | |||
| - | Mostly in note form so I can work out what I've done at a later date. | ||
| - | |||
| - | |||
| - | ====== Zone Installation ====== | ||
| - | |||
| - | |||
| - | create the db zone | ||
| - | | ||
| - | reaper:~# zonecfg -z db | ||
| - | db: No such zone configured | ||
| - | Use ' | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | | ||
| - | | ||
| - | reaper:~# zoneadm -z db install | ||
| - | Preparing to install zone <db>. | ||
| - | Creating list of files to copy from the global zone. | ||
| - | Copying < | ||
| - | |||
| - | ... make a nice cup of tea (this will take a few minutes (15-20))... | ||
| - | | ||
| - | Initializing zone product registry. | ||
| - | Determining zone package initialization order. | ||
| - | Preparing to initialize < | ||
| - | Initialized < | ||
| - | Zone <db> is initialized. | ||
| - | Installation of <1> packages was skipped. | ||
| - | Installation of these packages generated warnings: < | ||
| - | The file </ | ||
| - | a log of the zone installation. | ||
| - | | ||
| - | reaper:~# zoneadm -z db boot | ||
| - | reaper:~# zlogin -e] -C db | ||
| - | |||
| - | |||
| - | (tra la la) | ||
| - | |||
| - | accept the obvious settings | ||
| - | * term is xterms | ||
| - | * domain reaper.tardis.ed.ac.uk | ||
| - | * naming service is dns | ||
| - | * nameserver1 193.62.81.14 | ||
| - | * nameserver2 129.215.200.7 | ||
| - | * search reaper.tardis.ed.ac.uk | ||
| - | * search tardis.ed.ac.uk | ||
| - | |||
| - | //FIXME: set zone to autoboot// | ||
| - | |||
| - | |||
| - | ====== Set up MySQL ====== | ||
| - | |||
| - | |||
| - | (from http:// | ||
| - | | ||
| - | # / | ||
| - | # groupadd mysql | ||
| - | | ||
| - | # useradd -g mysql -d /var/mysql mysql | ||
| - | # chgrp -R mysql /var/mysql | ||
| - | # chmod -R 770 /var/mysql | ||
| - | | ||
| - | # / | ||
| - | | ||
| - | # / | ||
| - | | ||
| - | # ln / | ||
| - | # ln / | ||
| - | # ln / | ||
| - | # ln / | ||
| - | # ln / | ||
| - | | ||
| - | |||
| - | |||
| - | FIXME - fix security settings | ||
| - | |||
| - | |||
| - | ====== WEBSERVER ====== | ||
| - | |||
| - | |||
| - | < | ||
| - | reaper:~# zonecfg -z www | ||
| - | www: No such zone configured | ||
| - | Use ' | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | zonecfg: | ||
| - | </ | ||
| - | |||
| - | add /usr/apache as a lofs thingy //FIXME - DOCUMENT THIS// | ||
| - | cp reapers version into shared dir | ||
| - | |||
| - | < | ||
| - | reaper:~# zoneadm -z www install | ||
| - | Preparing to install zone < | ||
| - | Creating list of files to copy from the global zone. | ||
| - | Copying < | ||
| - | Initializing zone product registry. | ||
| - | Determining zone package initialization order. | ||
| - | Preparing to initialize < | ||
| - | Initialized < | ||
| - | Zone <www> is initialized. | ||
| - | Installation of <1> packages was skipped. | ||
| - | Installation of these packages generated warnings: < | ||
| - | The file </ | ||
| - | contains a log of the zone installation. | ||
| - | reaper:~# zoneadm -z www boot && zlogin -e] -C www | ||
| - | [Connected to zone ' | ||
| - | Hostname: www | ||
| - | </ | ||
| - | |||
| - | then installation begins: | ||
| - | |||
| - | Answers to questions pretty much the same as the previous zone. | ||
| - | |||
| - | and then off we go! | ||
| - | |||
| - | create a user account: | ||
| - | | ||
| - | # svcadm disable svc:/ | ||
| - | # chmod 755 /home | ||
| - | # useradd -m -d / | ||
| - | # passwd seth | ||
| - | |||
| - | scp config files from reaper (saves time) | ||
| - | < | ||
| - | |||
| - | drop them into place on the new system (ssh in with user account, then su to | ||
| - | root) | ||
| - | |||
| - | you may also wish to change root's shell and homedir (in / | ||
| - | |||
| - | logout, log back in.... voila! | ||
| - | |||
| - | install the php package (sun url) | ||
| - | |||
| - | PATCH LIKE A MOTHERFUCKER | ||
| - | |||
| - | run x_postinstall | ||
| - | |||
| - | edit the apache config file: | ||
| - | * use vhosts | ||
| - | * serve index.php as an index | ||
| - | * set hostname, email etc | ||
| - | |||
| - | //there are links to this stuff on the web, google for SAMP stack, etc// | ||
| - | //FIXME: refind those links// | ||
| - | |||
| - | |||
| - | ====== WIKI ====== | ||
| - | |||
| - | |||
| - | |||
| - | ===== Installation ===== | ||
| - | |||
| - | Get tarball, dump into vhost directory. | ||
| - | |||
| - | |||
| - | ===== DB Installation ===== | ||
| - | |||
| - | MYSQL: | ||
| - | > CREATE DATABASE dbname; | ||
| - | > GRANT ALL PRIVILEGES ON vworks.* TO newuser@192.168.0.2 IDENTIFIED BY ' | ||
| - | |||
| - | |||
| - | ===== Configuring ===== | ||
| - | |||
| - | Access http:// | ||
| - | Copy settings file as described in Fine Manual, nuke config dir | ||
| - | |||
| - | Edit localsettings.php | ||
| - | Change the whitelist settings as [[http:// | ||
media_wiki_installation.1135917474.txt.gz · Last modified: (external edit)
