Remote debug spring boot

A short guide that briefly explain how to remote debug using visual studio code in a spring boot project gradle based. Spring configuration Open your spring project, detect the build.gradle file and edit as follow add to “jvmArgs” the JDWP configuration passing the address properly (it is possible also to Read more…

Redirect traffic index.html to index.php

Simple rule to rewrite the traffic from index.html to index.php. Useful quick fix for wordpress websites. If you’re using apache httpd server You can deploy this rule inside the .htaccess file, the one inside the root folder, or inside the httpd.conf in the proper section More info: https://httpd.apache.org/docs/2.4/rewrite/flags.html Other webserver Read more…

Server stats

Ifconfig Ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system tuning is needed. Netstat Netstat prints information about the Linux networking subsystem Ps ps displays information Read more…

Certbot – SSL certificates

Certbot it’s an cool tool that automatically enable HTTPS on your website deploying Let’s Encrypt certificates. How to Centos not snap – not anymore supported Snap install See the official guide https://certbot.eff.org/lets-encrypt/centosrhel7-apache To create the certificates Your certificates are deployed (usually) under /etc/letsencrypt/live/domain.tld/ cert.pem is the certificate privkey.pem is the Read more…