Difference between revisions of "Server Setup"
(→Postgresql) |
(→MediaWiki) |
||
Line 50: | Line 50: | ||
#extracted into /opt, linked /etc/mediawiki to source folder | #extracted into /opt, linked /etc/mediawiki to source folder | ||
#intalled postresql with apt | #intalled postresql with apt | ||
− | #used postgresql for mediawiki | + | #used postgresql for mediawiki |
+ | #Created /etc/apache2/conf.d/mediawiki.conf file | ||
===PostGres=== | ===PostGres=== |
Revision as of 13:03, 5 October 2011
Contents
Notes for software installations
Apache2 Info
key directories::
/etc/apache2 [sites-available]
Note that for mods and sites, use::
a2ensite sitename (to enable) a2dissite sitename (to disable)
OR::
a2enmod modname a2dismod modname
.. note:: Added mod_wsgi (sudo apt-get install libapache2-mod-wsgi) this is the module that loads python files now.
Created a site called ee
that is being used in general for 'dev' right now. Once things work there, will move to proper site.
Upgrading to Plone 4
all files installed to::
/usr/local/Plone
Some points...
- inside zinstance there is a mercurial repo (hg log -r : )
- see in particular the buildout.cfg files
packages that have been added so far:
- raptus.article.default (no success so far!)
- collective.quickupload
`collective.uploadify <http://pypi.python.org/pypi/collective.uploadify/1.0>`_
.. warning:: changes to site_properties
MediaWiki
MediaWiki was installed from a download of version 1.17. It is installed into the /opt directory. A postgresql database was set up. apt was *not* used, as it wanted to install MySQL
- download source distribution to /opt
- extracted into /opt, linked /etc/mediawiki to source folder
- intalled postresql with apt
- used postgresql for mediawiki
- Created /etc/apache2/conf.d/mediawiki.conf file
PostGres
Enabled the phpgadmin module:
createuser -S -D -R -P -E mediawiki ln -f /etc/phppgadmin/apache.conf /etc/apache2/mods-available/phppgadmin.conf a2enmod phppgadmin ln -s /etc/apache2/mods-available/phppgadmin.conf /etc/apache2/mods-enabled/.
Extensions
Added several extensions, see LocalSettings and extensions directory
cd extensions/ scp -r burkhart@niflheim.nilu.no:/var/www/html/mediawiki/extensions/* . easy_install docutils wget http://upload.wikimedia.org/ext-dist/ConfirmAccount-MW1.17-r90727.tar.gz tar -xvf ConfirmAccount-MW1.17-r90727.tar.gz wget http://upload.wikimedia.org/ext-dist/SubPageList3-MW1.17-r75030.tar.gz tar -xvf SubPageList3-MW1.17-r75030.tar.gz svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SubPageList/ svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Validator Validator svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ReplaceText/
See the /opt/mediawiki-1.17.0/LocalSettings.php file for details on enabling the extensions
Postgresql
No major changes, simply used::
apt-get install postgresql
Also for Apache:
ln -f /etc/phppgadmin/apache.conf . ln -f /etc/phppgadmin/apache.conf phppgadmin.conf a2enmod phppgadmin ln -s ../mods-available/phppgadmin.conf
Postfix
Postfix was installed via the instructions from the `ubuntu postfix reference <https://help.ubuntu.com/8.04/serverguide/C/postfix.html>`_ Roy modified the main.cf settings