forked from sibuk76/o11Pro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
28 lines (27 loc) · 1.08 KB
/
Copy pathinstall.sh
File metadata and controls
28 lines (27 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
apt update
apt install unrar -y
wget -O ffmpeg.rar "https://www.dropbox.com/scl/fi/rd749ndevev3tiop4o2lx/ffmpeg.rar?rlkey=w2vb7pfp34xgizq0d22aqngyd&dl=1"
unrar x ffmpeg.rar
cd ffmpeg/
mv ffmpeg /usr/local/bin/
chmod -R +x /usr/local/bin/
cd /root
wget https://github.com/fremzuck/o11Pro/raw/main/o11Pro.rar
unrar x o11Pro.rar /home
chmod -R +x /home/o11Pro/
#wget https://raw.githubusercontent.com/fremzuck/o11Pro/refs/heads/main/setup-o11-tmpfs.sh
#chmod +x /root/setup-o11-tmpfs.sh
#sudo /root/setup-o11-tmpfs.sh
wget https://raw.githubusercontent.com/fremzuck/o11Pro/refs/heads/main/o11Pro.service
chmod +x o11Pro.service
mv ./o11Pro.service /etc/systemd/system/
systemctl daemon-reload
systemctl enable o11Pro.service
systemctl start o11Pro.service
wget https://raw.githubusercontent.com/fremzuck/o11Pro/refs/heads/main/cleanup.py
mv cleanup.py /home/o11Pro/scripts/
(crontab -l 2>/dev/null; echo "* * * * * /usr/bin/python3 /home/o11Pro/scripts/cleanup.py > /dev/null 2>&1") | crontab -
echo "Installation Complete"
echo "Please login http://YOURIP:6062"
echo "USERNAME/PASSWORD admin admin"