From 9e19fee4fadc86e75a96449a18261c7b92ff8776 Mon Sep 17 00:00:00 2001 From: Diederik de Groot Date: Mon, 5 Mar 2018 17:58:50 +0100 Subject: [PATCH] Added some simple setup instructions --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 7fe67d2..0231a2b 100644 --- a/README.md +++ b/README.md @@ -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)