Changes between Version 2 and Version 3 of Crin4


Ignore:
Timestamp:
Jul 19, 2015, 7:46:51 PM (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Crin4

    v2 v3  
    33= crin4.crin.org =
    44
    5 The crin1.crin.org development / staging server, at {{{93.95.228.222}}} is a 512MB RAM, 4 CPU core, virtual server running 64 bit Debian 8.0, Jessie, which was configured in July 2015.
     5The crin1.crin.org development / staging server, at {{{93.95.228.222}}} is a 512MB RAM, 4 CPU core, virtual server running 64 bit Debian 8.0, Jessie, which was configured in July 2015 on ticket:23.
     6
     7== dev.crin.org and stage.crin.org ==
     8
     9The two main sites on the server are:
     10
     11* https://dev.crin.org/
     12* https://stage.crin.org/
     13
     14These sites use a [[CAcert]] certificate.
     15
     16MySQL is running on [[Crin1]] and that server also has [[phpMyAdmin]] available, users need a `~/.my.cnf` file as follows for `drush`:
     17
     18{{{
     19[client]
     20host=crin1
     21ssl-cipher=DHE-RSA-AES256-SHA
     22ssl-ca=/etc/ssl/cacert/cacert.pem
     23ssl-cert=/etc/ssl/cacert/crin1_cert.pem
     24ssl-key=/etc/ssl/cacert/crin1_yassl_privatekey.pem
     25}}}
     26
     27The live servers, [[Crin2]] which runs nginx and php5-fpm and [[Crin1]] which runs MySQL are both set up with root access to [[Crin4]] so you can simply copy files between the servers, for example:
     28
     29{{{
     30rsync -av /var/example/ crin4:/var/example/
     31}}}
     32
     33== ssh access ==
     34
     35The server is set up to only allow access via ssh keys, to add a new user:
     36
     37{{{
     38export NEWUSER="username"
     39adduser --disabled-password $NEWUSER
     40adduser $NEWUSER sudo
     41mkdir /home/$NEWUSER/.ssh
     42chmod 700 /home/$NEWUSER/.ssh
     43chown -R $NEWUSER:$NEWUSER  /home/$NEWUSER/.ssh
     44vi /home/$NEWUSER/.ssh/authorized_keys
     45}}}
     46
     47== Munin ===
     48
     49Stats are available here:
     50
     51* https://munin.crin.org/munin/crin.org/crin4.crin.org/index.html