- Grails Doc https://grails.github.io/grails-doc/latest/guide/single.html#coreFeatures , easy make controll,view and dmodel together, come with groovy and spring , and use gradle build system
2015年12月9日 星期三
Read Note - Grails Starter.
2015年12月3日 星期四
Next Generation Eclipse ?
How to use maven launch embedded tomcat or jetty with plugin
Tomcat maven plugin
- currently support tomcat7
- http://tomcat.apache.org/maven-plugin-2.2/context-goals.html
org.apache.tomcat.maven tomcat7-maven-plugin 2.2
$> mvn tomcat7:start
jetty maven plugin
- http://www.eclipse.org/jetty/documentation/current/jetty-maven-plugin.html
- resources in ${project.basedir}/src/main/webapp
- classes in ${project.build.outputDirectory}
- web.xml in ${project.basedir}/src/main/webapp/WEB-INF/
org.eclipse.jetty jetty-maven-plugin 9.3.1-SNAPSHOT 10 /test
$>mvn jetty:run
2015-12-3 digest
Maven
- swagger maven pluginl swagger maven plugin for generate restful api document
AWS
- Version 2 of the AWS Mobile SDK aws network connections for mobile
- Authenticating Requests in Browser-Based Uploads Using POST let custom user upload content directly to Amazon S3
BigData
- pokemon or bigdata guess!
Github
- http://blog.winwu.today/2013/06/githubio.html how to setup github io page
2015年12月1日 星期二
MongoDB Clustor
MongoDB Clustor
- Router (mongos) X2
sudo -u mongo /data/mongodb-3.0.0/bin/mongos --port 27017 --configdb CNF01:27017,CNF02:27017,CNF03.SJC1:27017 \ --logpath /data/logs/ROUTER.log --logappend --fork
- Config DB Server X 3
/data/mongodb-3.0.0/bin/mongod --port 27017 --configsvr --dbpath /data/dbs/CNF \ --logpath /data/logs/CNF.log --logappend --fork
- SRD X3 , ReplicaSet X3
ulimit -n 65535 sudo -u mongo numactl --interleave=all /data/mongodb-3.0.0/bin/mongod --port 27001 --replSet ReplicaSet_01 --dbpath /data/dbs/SRD1 \ --logpath /data/logs/SRD1.log --logappend --fork
- Start with config file
$> mongod –f mongodb.conf
Setup
- ReplicaSet
rs.initiate() rs.conf() rs.add("SRD2:27017") rs.addArb("ARB1:27017")
Shards
- Login to Router (mongos)
mongo> sh.addShard("ReplicaSet_01/SRD1:27017") # auto add rest replica
- Enable shard
mongo> sh.enableSharding("Db") sh.shardCollection("Db.collection", key: {"key":1})
2015-12-1 Read Note
2015-12-1 Read Note
- 10 Awesome Docker Tutorials to Kick-Start your DevOps Projects
- Next Generation Eclipse IDE : Che naming by me ?XD I would try it with docker container tomorrow
訂閱:
文章 (Atom)