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
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
@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:
@duythien
duythien / iot.md
Last active November 29, 2018 07:12
iot
@duythien
duythien / rabbitmq-cluster.md
Last active July 12, 2019 10:40 — 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

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:
Mặt trước lấy cái hình lackky có sẵn, mặc sau cần thông tin như sau
Slogan: Mạng xã hội thú cưng
Link tải app: for IOS https://lackky.com/ios
Cho Android: https://lackky.com/android
Email: hello@lackky.com(có thể có hoặc không)
Dear customer!
I write a short letter to express my interest in this job. After carefully read the job description, I see my qualifications match the requirements in your posting.
I have five years experience working PHP and Linux, mainly using Phalcon Framework, and also proficient in Devops technologies (Docker, AWS Services, Kubernetes,...).
I have built mobile application which heavily use ES6 and Typescript base on Ionic Framwork
- https://lackky.com
- https://lackky.com/android
- https://lackky.com/ios
cd /opt
sudo yum install epel-release -y
sudo yum install gcc libxml2-devel libXpm-devel gmp-devel libicu-devel \
t1lib-devel aspell-devel openssl-devel bzip2-devel libcurl-devel \
libjpeg-devel libvpx-devel libpng-devel freetype-devel readline-devel \
libtidy-devel libxslt-devel libmcrypt-devel pcre-devel curl-devel \
mysql-devel ncurses-devel gettext-devel net-snmp-devel libevent-devel \
libtool-ltdl-devel libc-client-devel postgresql-devel bison gcc make wget -y
<VirtualHost *:80>
ServerName dev.abc.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/test
<Directory /var/www/test/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
#! /bin/bash
. /lib/lsb/init-functions
#------------------------------------------------------------------------------
# Consts
#------------------------------------------------------------------------------
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/sbin/
DAEMON=/usr/sbin/nginx