- Simply run :
$ sudo ./cas.sh -i
Data | value |
---|---|
user | admin |
password | admin |
Data | value |
---|---|
user | root |
password | Set at first login |
AdminArea-> Settings -> General -> Signup restrictions -> UNTICK Require admin approval for new sign-ups -> Save changes
Data | value |
---|---|
username | admin |
password | 123123 |
$ sudo docker exec -it taiga-front su
! you need to use VI
"publicRegisterEnabled": true,
exit;
$ sudo docker exec -it taiga-back su
! you need to use VI
PUBLIC_REGISTER_ENABLED = True
$ sudo docker stop taiga-back
$ sudo docker start taiga-back
$ sudo docker exec -it jenkins cat /var/jenkins_home/secrets/initialAdminPassword
Manage Jenkins -> Configure Global Security -> Jenkins’ own user database -> -[x] Allow users to sign up
- Optional: can update CORS origin
docker exec -it logger su
[docker] apt install nano
[docker] nano api/config.py
sudo crontab -e
inserire
45 2 * * 6 certbot -q renew
Testa il renew ogni sabato alle 2:45, si rinnova se scade in meno di 30 giorni
NON FUNZIONA RINNOVO AUTOMATICO.
$ sudo docker stop nginx
$ sudo certbot renew
$ sudo lsof -i:80
$ kill -9 [PIDS of lsof]
$ sudo docker start nginx
openssl x509 -noout -dates -in /etc/letsencrypt/live/aminsep.disi.unibo.it/cert.pem
In caso di occupazione completa dello spazio su disco:
$ mount
$ sudo lvextend -L +10G /dev/mapper/vg0-var
$ sudo resize2fs /dev/mapper/vg0-var