forked from rDrama/rDrama
fds
parent
8019613ae7
commit
00ac6ea29b
|
@ -6,8 +6,8 @@ apt -y upgrade
|
||||||
apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd ufw
|
apt -y install git postgresql postgresql-contrib redis-server python3-pip libenchant1c2a ffmpeg tmux nginx snapd ufw
|
||||||
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
||||||
service postgresql restart
|
service postgresql restart
|
||||||
psql -U postgres -f schema.sql postgres
|
# psql -U postgres -f schema.sql postgres
|
||||||
psql -U postgres -f seed-db.sql postgres
|
# psql -U postgres -f seed-db.sql postgres
|
||||||
pip3 install -r requirements.txt
|
pip3 install -r requirements.txt
|
||||||
mkdir /songs
|
mkdir /songs
|
||||||
mkdir /images
|
mkdir /images
|
||||||
|
@ -29,4 +29,5 @@ ufw allow from 104.24.0.0/14
|
||||||
ufw allow from 172.64.0.0/13
|
ufw allow from 172.64.0.0/13
|
||||||
ufw allow from 131.0.72.0/22
|
ufw allow from 131.0.72.0/22
|
||||||
echo "y" | ufw enable
|
echo "y" | ufw enable
|
||||||
|
curl https://rclone.org/install.sh | sudo bash
|
||||||
. imei.sh
|
. imei.sh
|
Loading…
Reference in New Issue