- sudo apt-get update
- sudo apt-get install default-jre
- java -version
- sudo apt-get install unzip
#!/bin/bash | |
#title :kafka-install.sh | |
#description :The script to install kafka 0.8.x | |
#author :Motty Cohen | |
#date :05-Feb-2015 | |
#usage :/bin/bash install-kafka.sh | |
KAFKA_VERSION=0.8.2.0 | |
SCALA_VERSION=2.10 |
#! /bin/sh | |
# /etc/init.d/kafka: start the kafka daemon. | |
# chkconfig: - 80 20 | |
# description: kafka | |
KAFKA_HOME=/usr/share/kafka | |
KAFKA_USER=root | |
KAFKA_SCRIPT=$KAFKA_HOME/bin/kafka-server-start.sh | |
KAFKA_CONFIG=$KAFKA_HOME/config/server.properties |
#! /bin/sh | |
# /etc/init.d/zookeeper: start the zookeeper daemon. | |
# chkconfig: - 80 20 | |
# description: zookeeper | |
ZK_HOME=/opt/kafka | |
ZK_USER=root | |
ZK_SCRIPT=$ZK_HOME/bin/zookeeper-server-start.sh | |
ZK_CONFIG=$ZK_HOME/config/zookeeper.properties |
#!/bin/sh | |
# | |
# WildFly control script | |
# | |
# chkconfig: - 80 20 | |
# description: WildFly startup script | |
# processname: wildfly | |
# pidfile: /var/run/wildfly/wildfly.pid | |
# config: /etc/default/wildfly.conf | |
# |
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 9.x | |
#usage :/bin/bash wildfly-install.sh | |
WILDFLY_VERSION=9.0.1.Final | |
WILDFLY_FILENAME=wildfly-$WILDFLY_VERSION | |
WILDFLY_ARCHIVE_NAME=$WILDFLY_FILENAME.tar.gz | |
WILDFLY_DOWNLOAD_ADDRESS=http://download.jboss.org/wildfly/$WILDFLY_VERSION/$WILDFLY_ARCHIVE_NAME |
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 10.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :2016-06-18T02:45-0700 | |
#usage :/bin/bash wildfly-install.sh | |
#tested-version1 :10.0.0.CR3 | |
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
#tested-version2 :10.0.0.Final |
This Gist describe how to create and attach virtual disk to the VM The source article can be found here.
ssh -i ~/ssh/ssh_identity_file user@server_ip
lsscsi