Skip to content

Author: tex

Installing tw-cli on Debian

Description (from man page) tw_cli(8) is a Command Line Interface Storage Management Software for 3ware ATA RAID Controller(s). It provides controller, logical unit and drive management. tw_cli can be used in both interactive and batch mode, providing higher-level API (Application Programming Interface) functionalities. Installing echo -e “\n# 3ware raid adapter\ndeb http://hwraid.le-vert.net/debian stretch main” >> /etc/apt/sources.list…

Installing Elasticsearch on Debian

Installing Elasticsearch (6.x) on Debian Download and install the public signing key: wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add – Installing the ‘apt-transport-https’ package before proceeding: apt-get install apt-transport-https Adding the repository definition to ‘/etc/apt/sources.list’ echo -e “\n# Elasticsearch\ndeb https://artifacts.elastic.co/packages/6.x/apt stable main” >> /etc/apt/sources.list Before installing elasticsearch, we need openjdk: apt-get install openjdk-8-jdk Installing elasticsearch:…

How to get the real IP address on Nginx when you use Cloudflare

How to get the real IP address on Nginx when you use Cloudflare. If you want to get the real IP address on Nginx when you use Cloudflare, you can use the ngx_http_realip_module module. You can find here more information regarding this module: http://nginx.org/en/docs/http/ngx_http_realip_module.html On Nginx, http section: http { …… … other options ……