first commit
This commit is contained in:
21
setup.sh
Executable file
21
setup.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
# 1) OS deps for PyAutoGUI (Linux)
|
||||
sudo apt update && sudo apt install -y python3-tk python3-dev scrot
|
||||
# 2) Python deps (run inside your httprd folder)
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
||||
|
||||
# 4) From viewer machine, open in browser:
|
||||
# http://<SERVER-IP>:7417
|
||||
hostname -I | awk '{print $1}' # (shows server IP)
|
||||
|
||||
|
||||
|
||||
sudo ufw allow 7417/tcp # open firewall if needed
|
||||
|
||||
|
||||
|
||||
python httprd.py
|
||||
|
||||
# 3) Run the server (set your passwords)
|
||||
python3 httprd.py --port 7417 --password 'CONTROL123' --view_password 'VIEW123'
|
||||
Reference in New Issue
Block a user