DevShop Remote Servers
We have created a simple command to setup remote servers:
You can test this with the Vagrantfiles available in this repo:
- Clone this repo.
vagrant up remoteto turn on the remote server. You must do this first.
vagrant upto turn on the devshop server.
- Once the devmaster server is finished provisioning, put the aegir SSH public key into the "remote" server:
vagrant sshto log into the devmaster server.
sudo cat /var/aegir/.ssh/id_rsa.pubto output the server's public key. Copy this.
exitto exit the devmaster server.
vagrant sshto log into the remote server.
sudo su -to switch to root user.
vi ~/.ssh/authorized_keysto edit the SSH authorized keys. Paste in the devmaster servers public key and save the file.
exitthe remote server.
vagrant sshback into the devmaster server.
sudo su - aegirto switch to aegir user.
devshop remote:installto run the remote server install script.
- At the end, you will be shown the MySQL username and password, and the apache restart command. Use these to create a server in the devmaster front-end.