- 浏览: 2564802 次
- 性别:
- 来自: 成都
-
最新评论
-
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
文章列表
JAVA Playframework(1)2.4.x Reinstalled on MAC
Welcome back to Playframework. I used that 3 years or 4 years ago for 3 years when I was in Digby. That is good days in Austin, USA.
I need to read this because one of my old project is using playframework 2.4.6, sbt.version=0.13.8
https://www.playframe ...
TypeScript and Serverless Memory Issue
Change the file to add the follow codes at the top
/opt/node/lib/node_modules/serverless/bin/serverless
#!/usr/bin/env node --max-old-space-size=3000 --trace-gc-verbose
JavaScript heap out of memory error.
It fails as well
Serverless Error ---------------- ...
AWS Lambda Invoke and Path
We can put the path parameters in the event. Lambda which provide service can use this path as router to route to different methods.
For example
const response = await lambdaInvoke(get_group_settings_lambda, { "body": { "uuid": groupUUID }, path: &quo ...
TypeScript and Dictionary Index
I define a Interface, then I define a dictionary variables and want to look up the dictionary based on the key.
interface GroupSettingsMethod { (parameters: any) : Promise<string> | void };
const groupSettingsMethods = {
'/meeting/create': { 'method': chan ...
Laravel PHP Framework(1)Introduction and Installation
Check PHP is on my Local Machine
> php --version
PHP 7.1.16 (cli) (built: Mar 31 2018 02:59:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
I am following the document to do wit ...
TypeScript and Large Number
Don't use the Number type to store or calculate numbers that could exceed TypeScript's safe integer range of -9007199254740991 to 9007199254740991.
* If the number only needs to be transported or presented, consider using a String instead.
* Integers will be natively supp ...
ANT build Debian Package
Create a Repo https://github.com/luohuazju/ant-debian-deploy
On my Virtual Machine
> ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
Host Machine
> ant -version
Apache Ant(TM) version 1.10.3 compiled on March 24 2018
Current nginx is installed ...
Old Dates Diablo Notes
Use sudo to run the command to solve the crash issue for Diable on MAC
sudo /Applications/Diablo\ II/Diablo\ II.app/Contents/MacOS/Diablo\ II
To make is easier
> sudo ln -s /Applications/Diablo\ II/Diablo\ II.app/Contents/MacOS/Diablo\ II /usr/local/bin/diablo
> sudo ...
Axios and Cookie Operation
My current service, response with the headers as follow:
Connection: keep-alive
Content-Language: en
Content-Length: 274
Content-Type: application/json; charset=utf-8
Date:
Server: Apache
Vary: Authorization, Accept-Language, Cookie
The Demo Header Service is as follow, t ...
Dive into Nginx Segmentation fault
For Nginx 1.14.0
Switch to ROOT user
> sudo -s
> gdb sbin/nginx
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
T ...
Build Nginx Binary in Docker and Using If Directive
When we should use break in If
http://agentzh.blogspot.com/2011/03/how-nginx-location-if-works.html
If is evil
https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
Official document about If
http://nginx.org/en/docs/http/ngx_http_rew ...
Nginx and DNS
- 博客分类:
- Distributed
Nginx and DNS
On ubuntu-12.04, I need to run this
> sudo dpkg-reconfigure resolvconf
To solve the Error
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything
First of all, let me describe the issue.
I plan to use Nginx to proxy external domain which need 8.8.8.8 to resolve th ...
Parallels Introduction
I download the software Parallels from official website and use free trial for 14 days.
http://download.parallels.com/desktop/v13/docs/en_US/Parallels%20Desktop%20User's%20Guide/
Install windows 10. It seems very easy and useful.
Control command F will enter the full screen m ...
Apache2.2.22 On Ubuntu and Settings
Install that On my Virtual Machine
Install Zlib
> wget http://www.zlib.net/zlib-1.2.11.tar.gz
> tar -xvf zlib-1.2.11.tar.gz
> cd zlib-1.2.11/
> ./configure --prefix=/usr/local/
> make
> sudo make install
Install HTTP Apache2.2.22
> wget http: ...
Nginx and SSL Version and DEBUG
SSL Support Version
Recently, our nginx get some exceptions as follow:
2018/06/22 14:38:38 [crit] 17#17: *127594 SSL_do_handshake() failed (SSL: error:1417D18C:SSL routines:tls_process_client_hello:version too low) while SSL handshaking, client: 100.111.64.0, server: ...