Elasticsearch Curator

Why? You can use curator to manipulate elastic search indices. For example shrink or delete old ones. Install After installing elasticsearch in debian based: Maker sure to add source to list (or you may have an old version installed instead): Add to /etc/apt/sources.list.d/:  deb [arch=amd64] https://packages.elastic.co/curator/5/debian stable main Then run: Read more…

ElasticBeanstalk logs to Elasticsearch

Install filebeat on RPM Based: sudo rpm –import https://packages.elastic.co/GPG-KEY-elasticsearch create /etc/yum.repos.d/elastic.repo [elastic-6.x] name=Elastic repository for 6.x packages baseurl=https://artifacts.elastic.co/packages/6.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md sudo yum install filebeat on deb based: wget -qO – https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add – sudo apt-get install apt-transport-https echo “deb https://artifacts.elastic.co/packages/6.x/apt stable main” | sudo tee Read more…

HTTPS on the cheap

HTTPS using Let’s Encrypt and NGINX on Ubuntu 16.04 LTS. In this instructions we will assume your web site is going to be hosted at www.site.com.  Install certbot Add certbot repo/key: sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot Install certbot: sudo apt-get update sudo apt-get install python-certbot-nginx Install nginx: sudo Read more…

MongoDB on Ubuntu 16.04

The mongodb package included by default in Ubuntu is usually behind. Follow these instructions to install verion 3.4 from the mongodb repo. Install from MongoDB repo Import the public key used by the package management system sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 0C49F3730359A14518585931BC711F9BA15703C6 Create a list file for MongoDB echo Read more…

RabbitMq Management

UPDATE: run rabbitmq in a docker container Follow these instructions to configure RabbitMq management and expose it on the web. Check this post for instructions on how to setup RabbitMq on Ubuntu 16.04. Enable Plugin In order to list all the plugins and whether they are enabled or not, run: sudo rabbitmq-plugins Read more…

RabbitMq Setup

The instructions in this recipe assume a server running Ubuntu 16.04. Update/Upgrade Packages sudo apt-get update sudo apt-get upgrade Install RabbitMq At the time of writing this, Ubuntu 16.04 includes RabbitMq server version 3.6.3. To get a more up-to-date version (3.6.12), you can get it from the rabbitmq “testing” repo. Read more…