Skip to content

Instantly share code, notes, and snippets.

View duythien's full-sized avatar
🏠
Working from home

Thien Tran duythien

🏠
Working from home
View GitHub Profile

Information

/srv/www/pushmessaging-api/current # gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.23.2
  - RUBY VERSION: 1.9.3 (2014-11-13 patchlevel 551) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/local/bundle
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/local/bundle/bin
  - RUBYGEMS PLATFORMS:
@duythien
duythien / rabbitmq-cluster.md
Last active January 28, 2025 10:25 — forked from pobsuwan/rabbitmq-cluster.md
How to config rabbitmq server cluster [3 nodes]

This article explains how to install RabbitMQ on a Ubuntu 16.04 server instance.

Update the system

Use the following commands to update your Ubuntu 16.04 system to the latest stable status:

sudo apt-get update
sudo apt-get upgrade

Install

@duythien
duythien / iot.md
Last active November 29, 2018 07:12
iot
@duythien
duythien / kubenertes-cluster-config-gsviec.txt
Last active December 10, 2018 03:44
kubenertes-cluster-config-gsviec
$ kubectl config view
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: REDACTED
server: https://192.168.10.64:6443
name: kubernetes
contexts:
- context:
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress