SMF - Installazione appena completata!
mysql -u root -pSELECT User, Host FROM mysql.user;desc mysql.user;CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';username e password da scegliere CREATE DATABASE dbname;dbname: da scegliereGRANT permessi ON nomedatabase.nometabella TO username@localhost;username: da scegliereFLUSH PRIVILEGES;per aggiornare i privilegiSHOW GRANTS FOR username;username: da scegliereREVOKE permessi ON nomedatabase.nometabella FROM username@localhost;UPDATE mysql.user SET password=PASSWORD('NuovaPass') WHERE user='NomeUtente';NuovaPass = scegli la nuova passwordnmap -sT [IP ADRESS]netstat -ntupl | grep :443telnet localhost 443sudo ufw statusa2enmod ssla2ensite [file.conf]
a2dissite [file.conf]
systemctl restart apache2systemctl reload apache2systemctl status apache2.serviceallow_url_fopen = Onservice httpd restartphp --ini per sapere l' ubicazione precisa.openssl x509 -outform der -in your-cert.pem -out your-cert.crt per i 3 file per (sito, intermediate e root)cat sito.crt intermediate.crt root.crt >> sito.ca-bundlesudo service apache2 restartgit init
git remote add origin <server remoto>
git add *
git commit -m "commento"
git push origin master
git add <file>git commit -m "commento"
git push origin mastergit clone <server>