- 浏览: 2564676 次
- 性别:
- 来自: 成都
-
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
文章列表
Install JDK 10 on MAC
Install JENV on MAC
> brew install jenv
Check the version
> jenv --version
jenv 0.5.0
Solve the JENV Issues, add this to ~/.profile
export JENV_ROOT=/usr/local/opt/jenv
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
Install JDK 1.8, JDK 10, JDK 11 ...
HAProxy ACL Regex Rules
Official Website about append-slash
http://cbonte.github.io/haproxy-dconv/1.6/configuration.html#4.2-redirect%20scheme
Recently, there is an issue about URL proxy
https://www.sillycat.com/blog/free-google-ads-adwords-coupon-codes/
From server side, both URLs are working
https: ...
Jenkins 2019 in Docker(1)Install Single App in Docker
You can find the Docker information here https://hub.docker.com/r/jenkins/jenkins
I like this command to get the LTS version
> docker pull jenkins/jenkins:lts
Then I prepare this Makefile to make it simple
PORT=9091
IMAGE=docker.io/jenkins/jenk ...
Network in Ubuntu 18.04 on VirtualBox
Go to directory /etc/netplan
There is one example file named 50-cloud-init.yaml
> cat /etc/netplan/50-cloud-init.yaml
network:
ethernets:
enp0s3:
addresses: []
dhcp4: true
enp0s8:
dhcp4: no
a ...
Spring Cloud Consul(2)Cluster
Install on Ubuntu
> wget https://releases.hashicorp.com/consul/1.4.0/consul_1.4.0_linux_amd64.zip
> unzip consul_1.4.0_linux_amd64.zip
Prepare the working directory
> mkdir ~/tool/consul-1.4.0
> mkdir ~/tool/consul-1.4.0/bin
Add to the PATH and check the ins ...
AirFlow Apache(1)Introduction and Install on Ubuntu
Try the Quick Start in Ubuntu System
Install on Ubuntu
Init the Home Directory
> export AIRFLOW_HOME=~/airflow
Prepare Python VERSION
https://sillycat.iteye.com/blog/2436508
Install from the GitHub
> git clone https://github.com/pyenv/pyenv.gi ...
Monitor Docker Application CAdvisor
CAdvisor (Container Advisor)
Set Up a simple Single Cadvisor
Here is my Makefile
PORT = 6080
IMAGE=google/cadvisor
TAG=latest
NAME=cadvisor-service-$(PORT)
run:
docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/ ...
Python Version Control on ENV
On my MAC
> brew install pyenv
No, in that case, we will not have pyenv-virtualenv
Try this
> brew install --HEAD pyenv-virtualenv
Put this in my PATH
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-ini ...
Discourse BBS System(1)Discourse System Standalone Mode
Follow the document install on Virtual Box first
Switch to root user
> sudo -s
Generate the directory
> mkdir /var/discourse
Clone and get the latest codes
> git clone https://github.com/discourse/discourse_docker.git /var/discourse
...
Spring Boot and Swagger in JAVA
Followed this document
https://springframework.guru/spring-boot-restful-api-documentation-with-swagger-2/
Find some examples
https://github.com/springfox/springfox-demos
Git clone the base project to local
> git clone https://github.com/springfox/springfox
Build ...
WSDL2Java Generate Codes in Axis1.4
First of all, I download the axis1.4 from here
http://archive.apache.org/dist/ws/axis/1_4/
Unzip and place them in working directory,
Add to the PATH
export AXIS_HOME=/opt/axis
export AXIS_LIB=$AXIS_HOME/lib
export AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/comm ...
C# Memory Cache
This is the online Tool to try my C# codes
https://dotnetfiddle.net/
Recently I am study C#. Haha, I use C# to build an IIS Service to provide HTTP RESTful API.
In side the functions, we need to use dll to connect to a very old ERP system. The connection takes a long time to init. S ...
Memory Leak in NodeJS
I have done a lot of memory leak investigation for JAVA, this is the first time for NodeJS.
Compare the version of TSC
> sudo npm install -g typescript@2.1.4
> tsc --version
Version 2.1.4
My current one is
> tsc --version
Version 3.2.2
> node --version
v10.14.2
...
FMPP Content Generate(1)Installation and Introduction
FMPP is using template engine FreeMarker. It can insert data from sources like CSV, XML and JSON into the generated files.
Download the latest Source and Package
> wget https://versaweb.dl.sourceforge.net/project/fmpp/fmpp/0.9.16/fmpp_0.9.16. ...
Haproxy Handle Multiple Domain and SSL
global
maxconn 400
defaults
mode http
timeout connect 30000
timeout client 50000
timeout server 50000
stats enable
stats hide-version
stats uri /stats
stats auth admin:admin
fronten ...