Linux

Fixing HTTPRL Core Drupal Network Configuratoin Error

You see something like this: Your system or network configuration does not allow Drupal to access web pages. This could be due to your webserver configuration or PHP settings.
HTTPRL - Core drupal_http_request()
You then go into your httprl config: /admin/config/development/httprl

And set the field "IP Address to send all self server requests to" to -1

Fix mailR java issues

You might have a couple of issues with mailR when running on a server.

When installing or after installing the r package: rJava you might encounter the following: libjvm.so: cannot open shared object file: No such file or directory

I fixed this on a ubuntu server with this command: sudo R CMD javareconf
 

Shutdown Linux Machine At Specific Time

Here is a useful command when you need to shutdown you machine at a specific time of the day. For example after a specific event you needed to log.

shutdown -h hh:mm

Shutdown scheduled for ons 2017-04-12 22:35:00 ICT, use 'shutdown -c' to cancel.

Remark, you can can always cancel the shutdown with "shutdown -c".

Example:

shutdown -h 22:35

Get more info with "shutdown --help".