erikng / Cacher

A python script for extracting macOS Caching Server data
Apache License 2.0
134 stars 40 forks source link

sudo: cacher.py: command not found #44

Closed adolfunk closed 7 years ago

adolfunk commented 7 years ago

I have some problems because I don't know how will I run the scrip in my Mac. I installed python but when I set the command "sudo cacher.py --configureserver" the command wasn't found.

I don't used python before. Please I hope you can help me with a some manual or something with the steps for installing the scrip.

screen shot 2017-07-18 at 4 45 15 pm

erikng commented 7 years ago

Python comes shipped with the OS so you may want to uninstall whatever it is you installed - it may break cacher.

You need to run sudo python cacher.py vs just sudo cacher.py.

Alternatively, you could run chmod a+x cacher.py and then you no longer have to type in python every time as it makes the script as executable.

I am going to close this as this is not an issue with cacher.

adolfunk commented 7 years ago

Thanks I can ran the script. I was wondering if it is possible that the script show me the IP addresses of clients who downloaded files from my server?

erikng commented 7 years ago

It can but it would need to be written. At the moment I don't have any time to write this. The data is definitely there.

Please create a new issue with this request and one day I might be able to do it (or you can).