Elasticsearch logo - Elasticsearch is a search server based on Lucene.

GNU/Linux

Last updated:

Install Elasticsearch on CentOS 6.7

How to install Elasticsearch on CentOS 6.7. Elasticsearch is a highly scalable open-source full-text search and analytics engine. It allows you to store, search, and analyze big volumes of data quickly and in near real time.

Varnish Cache - The free, open source software that enables super fast delivery of HTTP based content.

GNU/Linux

Last updated:

Install Varnish Cache on CentOS 6.7

In this article I’ll show you how to install Varnish Cache on CentOS, version 6.7 in this case. Varnish is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents.

Windows Server

Last updated:

Important Windows Maintenance – 7+ Tips

Regular maintenance of a Windows computer significantly improves performance and reliability. Manual execution of maintenance tasks complements the automatic maintenance already scheduled by Windows, giving users greater control over how system resources are managed and how repairs are conducted. This article explains how to use tools such as SFC, DISM, CHKDSK, and disk defragmentation.

Keys

Useful

Last updated:

Generate pseudorandom passwords with OpenSSL

OpenSSL comes in handy when you need to generate passwords or random strings. For example for system accounts and services. In this short post I’ll give you a quick example on how to generate random passwords with OpenSSL in Linux (Bash), Windows and PHP.

Codebase

Last updated:

PowerShell return value, exit code, or ErrorLevel equivalent

By verifying PowerShell exit code using the $? operator or $LASTEXITCODE is how you find out whether an external command was executed successfully in PowerShell. The operator $? contains True if the last operation succeeded and False otherwise.

Windows Server

Last updated:

How to block BaiduSpider bot User-Agent?

The Baidu spider (BaiduSpider user agent) can be a real pain to block, especially since it does not respect a robots.txt as it should. This post shows you how to block Baidu Spider bot, using IIS URL Rewrite Module based on its User-Agent string.

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

Optimize PHP OPcache configuration

Optimize PHP OPcache configuration and make it perform even better. After realpath_cache_size, the OPcache cache mechanism is the next important step to fine-tune. With just a few tweaks you tune OPcache to perform much better

WordPress

Last updated:

My WordPress web.config

A web.config file for WordPress on Windows Server IIS. Are you having trouble with your web.config? Here is mine 🙂

PuTTY Reconfiguration screen to tunnel RDP over ssh

Windows Server

Last updated:

Tunnel RDP through SSH & PuTTY

Tunnel Remote Desktop over SSH with PuTTY: Have you ever been in a situation where you needed to perform remote administration on a Windows Server, and the RDP port 3389 is blocked on a firewall? You can tunnel RDP over SSH with PuTTY 🙂

Windows Server

Last updated:

PowerShell Get-FsrmQuota and Set-FsrmQuota

To get and set File Server Resource Manager NTFS quota you now have to use PowerShell FileServerResourceManager cmdlets. It’s pretty easy to get directory information with Get-FsrmQuota and change dirquota.exe using Set-FsrmQuota.

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

PHP 5.6 default_charset change may break HTML output

A change in PHP’s default_charset php.ini setting causes HTML output to break if you try to set a different charset in your HTML head. It also might break functions like htmlentities() and htmlspecialchars().