gf
This commit is contained in:
parent
9e6c8b5b16
commit
6ccf449f9d
2 changed files with 3 additions and 2 deletions
5
setup
5
setup
|
@ -1,12 +1,13 @@
|
||||||
|
cd /drama
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
sudo apt install postgresql postgresql-contrib
|
sudo apt install postgresql postgresql-contrib
|
||||||
sudo apt install redis-server
|
sudo apt install redis-server
|
||||||
rm /etc/redis/redis.conf
|
rm /etc/redis/redis.conf
|
||||||
cp /drama/redis.conf /etc/redis/redis.conf
|
cp redis.conf /etc/redis/redis.conf
|
||||||
sudo systemctl restart redis.service
|
sudo systemctl restart redis.service
|
||||||
rm /etc/postgresql/12/main/pg_hba.conf
|
rm /etc/postgresql/12/main/pg_hba.conf
|
||||||
cp /drama/pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
||||||
apt install python3-pip
|
apt install python3-pip
|
||||||
sudo pip3 install -r requirements.txt
|
sudo pip3 install -r requirements.txt
|
||||||
cp env /env
|
cp env /env
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue