Install Childrenarewelcome Server

From Organic Design wiki
Revision as of 06:21, 15 February 2013 by Jack (talk | contribs) (server started)

Set Up Server

Andy after consulting decided to use 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.

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.

Using the znazza example I installed

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

I found I had to install git-core there was no package git found, and also manually install subversion.



so anyway im just installing the od package on the install a new sever proc

(not that i was ever really in that loop, but i knew names at least)

mkay

well christina aguilera has got fat and deliberately so, and there is much tut tutting and finger pointing and its hilarious

dom't install the pkg!

what do you mean install

oh i see

there is already an instance of ubuntu on the box dont

the OD pkg hasn't been updated in years

oh ok so its a matter of installing the various components from sourceforge etc eh

i need to change the proc to a hard-wired apt line

well maybe if it always has to be slavishly folows it might as well just be ascript

well anyway ill find modern instances of the package contnets

no its best if a human is present for every step

yes

http://dev.znazza.com/The_Znazza_system#Server_installation

that has an up-to-date apt-get list

the first is for general tools

then further down the lamp stuff

yes good it looks like a slightly updated tho znazza specific list of procs

be sure to begin a doc so you are documenting his server as you go, not after you're done

yes good will do

i'm refering you to just the packages not the rest of the proc, use the od proc for the rest

yes

although the way ssh and rsa keys are done is a good idea too

k

well i might as well update the proc with the new apts once ive done the install and my doc

wo

hangon

i'll update that now and add ssh stuff

surely those apts in the znazza are for debian 6

im running ubuntu 10.04

ok

the deb source is not gona make a diff?

ubuntu/debian, any version, same packages

ok cool just checking

just use the default sources for your os

ah ok

yep

just do apt-get and thatsall

yep

oh - update && upgrade first of course

yeah

when you going to the land?

probly tomorrow late morning/early arvo

8pm now

oh all right so i doubt if you will be doing any work on this wiki sorry if you are planning to before you leave cos as i said ive just set up my sation

by onto it yes

ok well just get the wiki going and all the domain set up etc - also be good to get off any some wireframes of what kinds of pages he wants and what functionality will be on them

so far we have one page type - a page representing a location resulting from the autocomplete searcg box

oh yes well that will take a good deal of back and forth with him and his offsider izzy

wireframes i mean

but ill focus on te 1.20 and the smw first

and the server obviously

yep there's quite a lot to do such as all the email set up etc

yes

now i dont need a wikia or bot framework here surely?

and document properly so that your documentation serves as the proc to rebuild quickly a working replica on a new server if necessary

yes

nope

anything else i should ignore?

look at the znazza proc, its more like what you'll want

yep ok

yes a doc is going to be in order here big time

since thats a standard single-wiki server

and is also a good example of the kind of doc that should be forming for andy

ok

every aspect of the server, svn, ssh etc and the code developed is covered in that doc

k

ill will seek to do something similar then

the daily backups is a useful thing to set up too

ok

which is covered in that z proc

(works properly in a way that doesn't fill the server up to 100% disk unlike OD!)

ok i will go thru it and do the stuff needed and do backups and etc later

nless its too simple and i might as well do it at the time what you think?

its only the stuff starting at Server Installation, so not too much to read

ok

yes ive seen it looks ok

yeah just get each bit working as ou go

let me know where the doc is (spose it should be on his own wiki) and I'll document the extension code there too

ok yes ill put it on its own wiki

which means ill do it locally first i suppose

so that means i might as well create it as an article in OD and copy it over when I'm done to the new wiki at the end of the install a wiki part

yea just note pad it until yuo have the wiki running

either/or

k

just update mail config proc, it didn't include packages to install as it relied on od-server

apt-get install exim4-daemon-heavy, dovecot-common, dovecot-imapd, spamassassin, spamc

ok ill check that