[Expo-tech] Server things followup

Sam Wenham sam at wenhams.co.uk
Thu May 9 11:51:42 BST 2019


The Dockerfile that builds the container I use for dev has

apt install mercurial fonts-freefont-ttf locales survex

and pip install

Django==1.7.11
django-registration==2.1.2
mysql
django-imagekit
Image
django-tinymce==2.7.0
smartencoding

we also need for the prod vm apache 2.4 and mysql

> 437:https

I assume you meant 443.

We use GitLab over SSH and HTTPS and I don't think it uses the git
native port.

Did they give any details of the container we would have to use? My
Docker setup uses 2 containers one for the DB and one for the webapp.
This is more normal for containers as bundling everything into container
is a bad plan.

Sam


On 09/05/2019 09:51, Paul Fox wrote:
> Hi
> 
> Things I know about the SRCF (to save embarrassment):
> 
> * expo would be a society in their parlance
> * You need an active personal account to administer a society account
> * An active personal account requires an active crsid (i.e. the
> ability to authenticate with Raven)
>  - The UIS have been known to approve users for "society business"  in
> the past, but this is rare
> * You won't get a specific version of django via rpm, but you can run
> a version of your choosing out of the society home directory
> * You can usually get rpms of other stuff installed, otherwise you can
> run it out of the home directory
> * A 60GB quota is unlikely. The largest I know of is 10GB, which
> requires occasional donations. Offering them random disks is unlikely
> to help as they do proper backups to tape and so the quotas are based
> on the backups being done multiple times over.
> * ssh, rsync, http and https all work as standard (and they will point
> you at a SSL certificate generator if needed)
> * mysql is installed and can be accessed via phymyadmin (behind raven
> for resistance to attacks)
> 
> Thanks
> 
> Paul
> 
> On Thu, 9 May 2019 at 03:26, Wookey <wookey at wookware.org> wrote:
>>
>> On 2019-05-08 22:41 +0100, R.S. Waszkiewicz wrote:
>>> Hey,
>>>
>>> In relation to pubtalk. What are the things we want from SRCF ppl. I'm happy to
>>> send email forward if we know what we actually want :V
>>>
>>> @Wook @Sam ?
>>
>> Sorry for slow response.
>>
>> The things we need to run on the server are:
>> django 1.15 (plus some plugins like registration, graphics - sam do you have the module names?)
>> apache 2.4
>> mysql (or postgres)
>> mercurial and/or git server (preferably gitlab)
>> rsync
>> bins (photo cataloger)
>> survex
>> preferably: openlayers,
>>
>> ports needed are:
>> 22:ssh
>> 80:http
>> preferably also:
>> 437:https
>> 9418:git (maybe - ssh probably fine instead - does gitlab care?)
>> It'd be nice if UDP for mosh worked too.
>>
>> Space: 80GB. About 60GB of that is 'just files ('expofiles')', 20GB
>> for the repositories and core web stuff.
>>
>> Traffic: extremely low 90% of the time. Busier for ~one month in the
>> summer: total bandwidth some tens of GB.
>>
>> I think that's it although without the server to check configs on I may
>> have forgotten something.
>>
>> One issue is that if the services end up behind raven then it's no use
>> at all. And we need admin access for non-university people like me.
>>
>> I have had an offer of a place to host the server so long as it's a
>> container not a VM (so it doesn't take resource when not being
>> used). Essentially infinite storage and bandwidth (it's a mirror
>> machine: free.hands.com), but possibly slow response times. I suggest
>> we try it and see.
>>
>>
>>
>> Wookey
>> --
>> Principal hats:  Linaro, Debian, Wookware, ARM
>> http://wookware.org/
>> _______________________________________________
>> Expo-tech mailing list
>> Expo-tech at lists.wookware.org
>> https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech
> 
> _______________________________________________
> Expo-tech mailing list
> Expo-tech at lists.wookware.org
> https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech
> 



More information about the Expo-tech mailing list