Ansible automates server configuration so you can reproduce setups consistently.
Install (on your local machine)
pip install ansibleCreate Inventory
Create hosts.ini:
[webservers]\nYOUR_IP ansible_user=rootCreate a Playbook
Create setup.yml:
---\n- hosts: webservers\n tasks:\n - name: Update apt cache\n apt: update_cache=yes\n\n - name: Install packages\n apt:\n name:\n - nginx\n - php-fpm\n - mysql-server\n state: present\n\n - name: Start Nginx\n service: name=nginx state=started enabled=yesRun
ansible-playbook -i hosts.ini setup.yml