Hint This applies only to distributions based on Debian. Requirement You need to setup the PostgreSQL Apt Repository first.
on the bash (issued as postgres user) Start/Stop/Restart PostgreSQL pg_ctl -D $configdir start|stop|restart Start/Stop/Restart the corresponding PostgreSQL...
To see all jails: fail2ban status Our $JAIL is usually ssh. To see which IPs are banned currently: fail2ban-client...
Don't use exec without user parameter If you use exec without user parameter, the command will get executed as...
If you want to perform a failover on another haproxy backend server this is the way you should do it...
We want to make the following firewall rule to be applyable to different network interfaces (for e.g. different environments...
You can use proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location
The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll...
Sending a testmail from a server with a configured exim is easy as pie. From your usershell: tell exim that...
If you need the debug output of the puppetmaster running with passenger you have to uncomment this setting in the...
swaks is a very nice tool to test SMTP. For the most linux distributions you can easily install it with...
Install and configure the AWS Command Line Interface Show existing certificates to test if the AWS Cli is working:
I'm creating certificate requests with this command: openssl req -new -out www.example.com.csr -keyout www.example.com.key -newkey rsa:2048 -nodes
This is a way to run multiple redis server on one ubuntu server. These steps you have to do only...
Best results in other decks
def test_autocomplete(field, options = {}) fill_in field, :with => options[:with] page.execute_script("$('##{field}').trigger('focus');") page.execute_script ("$('##{field}').trigger...
When things go wrong, for example, caused by a bad commit, we need to revert back to an earlier known...