php.ini display errors on
nano /etc/php/7.4/fpm/php.ini strg + w display_errors display_errors = on
IT Service & Infrastrktur Management
Anleitungen zum Einrichten zurücksetzen von Einstellungen sowie zurücksetzen von Passwörtern.
nano /etc/php/7.4/fpm/php.ini strg + w display_errors display_errors = on
´´$ sudo systemctl stop mysql$ sudo mkdir -p /var/run/mysqld$ sudo chown mysql:mysql /var/run/mysqld$ sudo /usr/sbin/mysqld –skip-grant-tables –skip-networking & FLUSH PRIVILEGES;USE mysql;update user set plugin=“mysql_native_password“;ALTER USER ‚root’@’localhost‘ IDENTIFIED BY ‚N3w_p@ssw0rD.‘;quit !fix! error: plugin ‚auth_socket‘ is not loaded !fix! mysql root passwort does not work
Create OpenVPN Server and Client wget https://git.io/vpn -O openvpn-ubuntu-install.sh chmod +x openvpn-ubuntu-install.sh sudo ./openvpn-ubuntu-install.sh Copy the from the Script generated *.ovpn file to your Client Desktop Get The Client from: https://openvpn.net/download-open-vpn/ Import the *.ovpn file inside the Windows Client or use the terminal openvpn with the *.ovpn file as parameter. Internet by OpenVPN: Routing Configuration Weiterlesen…
you can check the open ports and the processes behind it netstat -tulpn on the right side you can see the process id followed by the process name write: lsof -p PID to get the the files used by the process by the way you can switch off the avahi-daemon witch is for easy configuration Weiterlesen…
You need access to the DNS and be able to create txt records. certbot certonly –manual –preferred-challenges dns –server https://acme-v02.api.letsencrypt.org/directory –manual-public-ip-logging-ok -d ‚*.hg-system.com‘ -d hg-system.com Change hg-system.com to your Domain Name… Create the txt Record in your DNS. Type TXT Name _acme-challenge Value the command shows above Note that you need to change the acme Weiterlesen…
apt update && apt upgrade apt install openjdk-17-jdk openjdk-17-jre
screen -S „sessionname“ Start a named Session Rename a Session Deatatch STRG + A and then STRG + D
Step 1 — Installing Certbot sudo apt-get install certbot python3-certbot-nginx Step 2 — Obtaining an SSL Certificate sudo certbot –nginx -d example.com -d www.example.com Step 3 — Updating Diffie-Hellman (Optional) sudo openssl dhparam -out /etc/ssl/certs/dhparam.pem 2048 (more secure but takes a bit longer) editor /etc/nginx/sites-available/default replace /etc/letsencrypt/ssl-dhparams.pem with your generated /etc/ssl/certs/dhparam.pem Step 4 — Remove Weiterlesen…
Installing Nginx In case that you have installed Apache2 already, then remove it first with these commands & then install nginx: be shure to be root sudo -i Stop and remove Apache service apache2 stop && update-rc.d -f apache2 remove && apt-get remove apache2 Install Nginx and start it be shure to get updates on a Weiterlesen…
chsh. Enter chsh (for „change shell„). chsh -s /bin/bash now you can change the path for your shell for e.g. to „/bin/bash“