Added some simple setup instructions

This commit is contained in:
Diederik de Groot
2018-03-05 17:58:50 +01:00
parent 0f713113c9
commit 9e19fee4fa

View File

@@ -10,6 +10,24 @@ The project also serves as a repository of current / up to date cisco skinny/scc
- [tftp-hpa](http://www.chschneider.eu/linux/server/tftpd-hpa.shtml)
- [nginx](https://www.nginx.com/resources/wiki/)
## Usage
- Clone the repository
- Move the tftpboot directory (depends on your operating system):
- OpenSuSE / Ubuntu / Debian : /srv
- BSD : /var/lib/tftp
- RedHat : /tftpboot
- Copy etc/nginx/sites-available/tftpboot to /etc/nginx/sites-available/tftpboot
- Update the tftpboot directory location in /etc/nginx/sites-available/tftpboot
- Copy etc/tftp-hpa/rewrite-rules to /etc/tftp-hpa
- Update the tftpboot directory location in etc/tftp-hpa/rewrite-rules
- Update your init system for tftp-hpa so it can find the rewrite-rules:
- Ubuntu / Debian : /etc/defaults (Example present in etc/defaults)
- OpenSuse / Redhat : /etc/sysconfig (No example yet, have a look as etc/default and adapt)
- BSD : /etc/rc.conf (No example yet, have a look as etc/default and adapt)
- Restart your tftp-hpa and nginx services
- Monitor the debug logging:
- tail -f /var/log/syslog /var/log/nginx/tftp.*.log
## Want to Contribute:
[Code of Conduct](https://github.com/dkgroot/provision_sccp/blob/master/CODE_OF_CONDUCT.md)