forked from Woolverine94/biniou
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoci-mandriva.sh
More file actions
29 lines (25 loc) 路 1.24 KB
/
Copy pathoci-mandriva.sh
File metadata and controls
29 lines (25 loc) 路 1.24 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
29
#!/bin/sh
echo ">>>[biniou oci 馃 ]: biniou one-click installer for OpenMandriva distributions"
echo ">>>[biniou oci 馃 ]: Installing prerequisites"
if [ "$(groups|grep 'wheel')" == "" ]
then
su root -c "dnf -y install dnf-plugins-core; dnf -y install git python python-pip python-virtualenv gcc clang glibc-static-devel perl make ffmpeg openssl lib64tcmalloc_minimal4"
else
sudo sh -c "dnf -y install dnf-plugins-core; dnf -y install git python python-pip python-virtualenv gcc clang glibc-static-devel perl make ffmpeg openssl lib64tcmalloc_minimal4"
fi
echo ">>>[biniou oci 馃 ]: Cloning repository"
git clone --branch main https://github.com/Woolverine94/biniou.git
echo ">>>[biniou oci 馃 ]: Installing Virtual environment"
cd ./biniou
ENV_BINIOU_PYTHON_VER="python3.11" ./install.sh
# echo ">>>[biniou oci 馃 ]: Opening port 7860/tcp and restarting firewall"
#
# if [ "$(groups|grep 'wheel')" == "" ]
# then
# su root -c "firewall-cmd --permanent --add-port 7860/tcp; firewall-cmd --reload"
# else
# sudo sh -c "firewall-cmd --permanent --add-port 7860/tcp; firewall-cmd --reload"
# fi
echo ">>>[biniou oci 馃 ]: Installation finished. Use cd biniou && ./webui.sh to launch biniou. Press enter to exit"
read dummy
exit 0