mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Create INSTALL.sh
This commit is contained in:
parent
2c85ea67ed
commit
3212cab08a
35
services/screenshots/INSTALL.sh
Normal file
35
services/screenshots/INSTALL.sh
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
|
||||||
|
apt install python3-pip
|
||||||
|
|
||||||
|
apt /home/screenshot/requirements.txt
|
||||||
|
|
||||||
|
# DEV venv/bin/python -m flask run --host=0.0.0.0 -p 80
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cd /home/screenshot/
|
||||||
|
python3 -m venv venv
|
||||||
|
|
||||||
|
apt install python3.12-venv
|
||||||
|
|
||||||
|
source venv/bin/
|
||||||
|
|
||||||
|
apt install python3-playwright
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
62 sudo ufw reset
|
||||||
|
63 ufw default deny incoming
|
||||||
|
64 ufw default allow outgoing
|
||||||
|
65 ufw allow from 82.117.216.242
|
||||||
|
66 ufw allow from 185.119.89.240
|
||||||
|
67 ufw enable
|
||||||
|
96 ufw allow from 10.116.0.5
|
||||||
|
97 ufw allow from 24.144.64.6
|
||||||
|
113 ufw reload
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# @reboot /bin/bash /home/screenshot/start.sh
|
||||||
|
|
Loading…
Reference in New Issue
Block a user