Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 877 Bytes

File metadata and controls

49 lines (39 loc) · 877 Bytes

Final thesis project

Dev-Ops infrastructure for network management --- description TBD ---

How to setup?

Install virtualbox and vagrant

$ cd cfg_mgnt_tools
$ vagrant up

How to use?

This will setup whole environment There will be 5 VMs available - 1x sever + 4x client In order to connect to one of them, you can use:

$ vagrant ssh vagrant@[ip_address_of_vm]

Sample ansible cmd:

$ ansible-playbook -i hosts.yml playbook.yml

Sample salt-ssh cmd:

sudo salt-ssh '*' cmd.run "sudo hostname newhostname"

To run website angular :

$ sudo apt install node
$ sudo npm install -g n
$ sudo n stable
$ sudo apt install npm
$ sudo npm install -g @angular/cli
python3 manage.py runserver

Then website will be visibile at: http://127.0.0.1:8000/cfg_mgr/


This description will change, please don't rely on it.