Increase SSH Idle Timeout

To increase the SSH idle timeout, you can modify the SSH config file: Add / configure the following values: Definition of ClientAliveInterval (from the manpage): Sets a timeout interval in seconds after which if no data has been received from the client, sshd(8) will send a message through the encrypted channel to request a response … Read more

Find a File in Bash

locate If you are searching for a file in a bash shell, you first have to update the DB by running the command: After that, you can use the command locate to search for your file: Output should be something like that: find Another option would be to use the command find: The command above … Read more

VestaCP Hosting Templates

VestaCP provides a list of web templates templates. Each template has its own features. Below is a list of available templates and corresponding features: default┬áno additional settings, works well for most sites basedirto fight against phpshells using openbasedir directive hostingseparate php limits for each domain (php_admin_value memory/safemode/etc) phpcgitemplate to run php as cgi. can be … Read more

Enable Database Repair / Optimization in WordPress

If you want to enable database repair and/or optimization in WordPress, you have to add this to your wp-config.php: After adding the line of code to your WordPress configuration file, you can browse to example.com/wp-admin/maint/repair.php to optimize or repair your WordPress database. After you finished your database optimization, you should remove the WP_ALLOW_REPAIR entry from … Read more