[[PageOutline(2-5, Table of Contents, floated)]] = crin4.crin.org = 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 on ticket:23. == dev.crin.org and stage.crin.org == The two main sites on the server are: * https://dev.crin.org/ * https://stage.crin.org/ These sites use a [[CAcert]] certificate. MySQL is running on [[Crin1]] and that server also has [[phpMyAdmin]] available, users need a `~/.my.cnf` file as follows for `drush`: {{{ [client] host=crin1 ssl-cipher=DHE-RSA-AES256-SHA ssl-ca=/etc/ssl/cacert/cacert.pem ssl-cert=/etc/ssl/cacert/crin1_cert.pem ssl-key=/etc/ssl/cacert/crin1_yassl_privatekey.pem }}} The 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: {{{ rsync -av /var/example/ crin4:/var/example/ }}} == ssh access == The server is set up to only allow access via ssh keys, to add a new user: {{{ export NEWUSER="username" adduser --disabled-password $NEWUSER adduser $NEWUSER sudo mkdir /home/$NEWUSER/.ssh chmod 700 /home/$NEWUSER/.ssh chown -R $NEWUSER:$NEWUSER /home/$NEWUSER/.ssh vi /home/$NEWUSER/.ssh/authorized_keys }}} == Munin === Stats are available here: * https://munin.crin.org/munin/crin.org/crin4.crin.org/index.html