forked from DGNum/gestioCOF
Set the redis passwd properly in bootstrap.sh
This commit is contained in:
parent
dbff7740c8
commit
fb4258f821
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,9 @@ mysql -uroot -p$DBPASSWD -e "CREATE DATABASE $DBNAME; GRANT ALL PRIVILEGES ON $D
|
|||
mysql -uroot -p$DBPASSWD -e "GRANT ALL PRIVILEGES ON test_$DBNAME.* TO '$DBUSER'@'localhost'"
|
||||
|
||||
# Configuration de redis
|
||||
echo "requirepass dummy" >> /etc/redis/redis.conf
|
||||
service redis restart
|
||||
REDIS_PASSWD="dummy"
|
||||
redis-cli CONFIG SET requirepass $REDIS_PASSWD
|
||||
redis-cli -a $REDIS_PASSWD CONFIG REWRITE
|
||||
|
||||
# Installation et configuration d'Apache
|
||||
apt-get install -y apache2
|
||||
|
|
Loading…
Reference in a new issue