NGNIX forceren www naar niet www of https:// verkeer redirect

Here is an example how to force no-www domain on Servepilot VPS servers with Nginx. Create /etc/nginx-sp/vhosts.d/servermeister.d/0www_redirect.conf with code that will force all www pages 301 redirect to a naked no-www domain. Code: if ($host ~* www.servermeister.com$) { return 301 https://www.servermeister.nl$request_uri; } restart nginx with the command Code: sudo service nginx-sp restart If you would […]

Installeer de agent achter een firewall

Servermeister.com server monitor is a cloud based monitoring service and hence cannot be installed as an application in your servers. Linux server monitoring is possible only using Servermeister.com Linux agent that can be downloaded and installed in your servers/desktops. Using Linux commands, the agent will gather server metrics such as CPU usage, memory usage, disk […]

Hard Disk Allocation with df and du

Hard disk allocation under Linux can be reviewed using the following commands. df disk free displays the free (meaning available) storage space on the hard disk. Display free storage space for the entire file system df -h Display free storage space for the local file system df -hl du disk usage displays the storage space in use (meaning […]

MySQL installeren op Debian 7

MySQL is a popular database management system used for web and server applications. This guide will introduce how to install, configure and manage MySQL on a Linode running Debian 7 (Wheezy). This guide is written for a non-root user. Commands that require elevated privileges are prefixed with sudo. Before You Begin Ensure that you have installed […]