|
|
(19 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | ==Set Up Server==
| + | I moved this to his wiki [http://www.childrenarewelcome.co.uk/The_ChildrenAreWelcome_system here]. |
− | | |
− | 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 <pre>apt-get install sudo p7zip-full bzip2 unzip subversion git imagemagick
| |
− | </pre>
| |
− | | |
− | 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<pre>
| |
− | 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</pre>
| |
− | | |
− | 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
| |
− | | |
− | Will do Exim4 and spamassassin when wiki is set up.
| |