Difference between revisions of "Install Childrenarewelcome Server"

From Organic Design wiki
m
(SCP)
Line 40: Line 40:
  
 
DNS lookup shows 123-reg for both A and MX records
 
DNS lookup shows 123-reg for both A and MX records
 +
 +
==Install MediaWiki and Extensions==
 +
 +
SCP'd MW 1.20.2 and SMW 1.8.2 to server, it's plain SMW, can select suitable addons from semantic bundle and install then. SMW recommends installation of the suite of extension that come with MW.

Revision as of 08:30, 17 February 2013

Set Up Server

Andy is using the Codero public cloud, a 2 processor 2GB 50gb VM instance with an Ubuntu 10.04 install which is a bit old but does come with PHP 5.3 which is needed for Mediawiki 1.20, so its OK.

This would have been fine but the default install that Codero put on the hypervisor did not actually work, i.e. it was not possible to ssh to it, it took a chat with their tech to realise that it was actually their problem. So I destroyed that instance and set another up and ssh'd no worries.

Performed an apt-get update and upgrade and set up four users: jack nad andy and izzy, preparatory to setting up mail accounts for the latter two.

I installed

apt-get install sudo p7zip-full bzip2 unzip subversion git imagemagick

I had to install git-core, there was no package git found.

Have not upgraded to precise pangolin, it fails under ssh, as warned.

Pointed the DNS A-records at the new IP 66.226.79.129 via 123-reg.

Installed using apt all the LAMP and mailserver components

 	
apt-get install exim4-daemon-heavy dovecot-common dovecot-imapd spamassassin spamc maildirsync
apt-get install htmldoc librsvg2-bin imagemagick
apt-get install mysql-server apache2 libapache2-svn libapache2-mod-php5
apt-get install php5-mysql php5-gd php5-mcrypt php5-xsl php5-curl php5-sqlite php5-imap
apt-get install php5-suhosin php-apc

MySQL root user password is the same as the OS root password. Logged into MySQL which is up and running.

http://www.childrenarewelcome.co.uk/ now points to server's default page.

Configured svn using svn user and password and rewrite is activated. Just using straight passwords.

I've left the existing /etc/hosts and /etc/hostname generated by the host provider.

/etc/ssh/sshd_config and crontab are package generated configuration file defaults.

Not installing backup.pl

/home/user accounts exist (set up by adduser), /var/www/tools and /var/www/extensions created

Exim4 and spamassassin when wiki is set up, and configure apache2 with the wiki.

DNS lookup shows 123-reg for both A and MX records

Install MediaWiki and Extensions

SCP'd MW 1.20.2 and SMW 1.8.2 to server, it's plain SMW, can select suitable addons from semantic bundle and install then. SMW recommends installation of the suite of extension that come with MW.