This article aims to be a portal to installation and configuration of Cassandra. It is self-contained in the first place. It also provides links to the original articles.
Warning: This article is still under written.
commands: | |
00_download_jdk7: | |
command: wget --no-cookies --no-check-certificate --header "Cookie:gpw_e24=xxx" "http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-linux-x64.rpm" -O /etc/tomcat7/jdk7-oracle.rpm | |
test: test ! -f /etc/tomcat7/oracle-jdk7-installed.txt | |
01_install_oracle_jdk7: | |
command: yum -y install jdk7-oracle.rpm | |
cwd: /etc/tomcat7 | |
test: test ! -f /etc/tomcat7/oracle-jdk7-installed.txt |
import org.jboss.netty.bootstrap.ServerBootstrap | |
import org.jboss.netty.buffer.ChannelBuffers | |
import org.jboss.netty.channel.ChannelHandlerContext | |
import org.jboss.netty.channel.ChannelPipeline | |
import org.jboss.netty.channel.ChannelPipelineFactory | |
import org.jboss.netty.channel.Channels | |
import org.jboss.netty.channel.MessageEvent | |
import org.jboss.netty.channel.SimpleChannelUpstreamHandler | |
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory | |
import org.jboss.netty.handler.codec.http.DefaultHttpResponse |