Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Setting up a new Shoal Server | ||||||||
Changed: | ||||||||
< < | -create centos 6.7 vm | |||||||
> > | Setup and Configure a target VM | |||||||
Added: | ||||||||
> > | First, create a Centos 6.x VM. Log into the VM and replace the default root 'authorized_keys' so that root can login directly: | |||||||
ssh -i key.pem centos@xx.xx.xx.xx sudo rm /root/.ssh/authorized_keys sudo cp .ssh/authorized_keys /root/.ssh/. | ||||||||
Added: | ||||||||
> > | Next, disable SELINUX and reboot the VM: | |||||||
Added: | ||||||||
> > | ||||||||
sudo vi /etc/sysconfig/selinux | ||||||||
Changed: | ||||||||
< < | -> SELINUX=disabled | |||||||
> > | -> SELINUX=disabled | |||||||
sudo reboot | ||||||||
Added: | ||||||||
> > |
Install Shoal Server using Ansible | |||||||
Added: | ||||||||
> > | On the deployment machine install Ansible. Using Ubuntu, issue the following command: | |||||||
Added: | ||||||||
> > | ||||||||
sudo apt-get install ansible | ||||||||
Added: | ||||||||
> > | ||||||||
Added: | ||||||||
> > | Create a 'hosts' file with the target machine's IP: | |||||||
sudo vi /etc/ansible/hosts -> [shoal-server] root@xx.xx.xx.xx ansible_ssh_private_key_file=key.pem | ||||||||
Added: | ||||||||
> > | ||||||||
Added: | ||||||||
> > | Go to directory where shoal repo will be cloned to and clone it: | |||||||
Changed: | ||||||||
< < | Go to directory where shoal git repo will be cloned to, then: | |||||||
> > | ||||||||
git clone https://github.com/hep-gc/ansible-systems.git![]() | ||||||||
Added: | ||||||||
> > | Enter the Shoal Server directory and run the ansible playbook: | |||||||
Added: | ||||||||
> > | ||||||||
cd ansible-systems/shoal ansible-playbook server.yaml | ||||||||
Added: | ||||||||
> > | ||||||||
-- KevinCasteels - 2015-11-02 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Setting up a new Shoal Server-create centos 6.7 vm ssh -i key.pem centos@xx.xx.xx.xx sudo rm /root/.ssh/authorized_keys sudo cp .ssh/authorized_keys /root/.ssh/. sudo vi /etc/sysconfig/selinux -> SELINUX=disabled sudo reboot sudo apt-get install ansible sudo vi /etc/ansible/hosts -> [shoal-server] root@xx.xx.xx.xx ansible_ssh_private_key_file=key.pem Go to directory where shoal git repo will be cloned to, then: git clone https://github.com/hep-gc/ansible-systems.git![]() |