Skip to content

Instantly share code, notes, and snippets.

@greenqy
greenqy / vpn-dorm.sh
Last active September 3, 2015 15:08 — forked from Hexcles/vpn-dorm.sh
ZJU Zijingang Campus dormitory VPN dial up script (xl2tpd + systemd, for Archlinux)
#!/bin/bash
PPP_TIMEOUT=30
L2TPD_TIMEOUT=5
L2TPD_CONTROL_FILE=/var/run/xl2tpd/l2tp-control
VPN_ACCOUNT=zjuvpn
function start_xl2tpd
{
systemctl start xl2tpd
@greenqy
greenqy / install-hadoop.md
Last active December 13, 2015 12:27
install-hadoop.md

hadoop 安装文档

系统结构

计划部署的集群结构为一台 namenode, 4 台 datanode.

修改 hostname

@greenqy
greenqy / install-hive.md
Created September 21, 2015 11:11
install-hive

hive 安装

参考

hive简介

@greenqy
greenqy / install-hbase.md
Created September 22, 2015 02:30
install-hbase.md

hbase 安装文档

下载

hbase 1.1.2

解压并移动到 /hadoop/hbase

@greenqy
greenqy / install-azkaban.md
Last active January 31, 2024 03:28
install-azkaban.md
@greenqy
greenqy / install-spark.md
Last active January 31, 2024 03:28
install-spark.md
@greenqy
greenqy / install-workflow.md
Last active December 21, 2015 02:49
install-workflow.md

工作流调度引擎

依赖

需要依赖 hadoop 生态圈的多种服务:

@greenqy
greenqy / install-elastic-search.md
Created September 22, 2015 07:13
install-elastic-search.md
@greenqy
greenqy / install-sqoop.md
Created September 22, 2015 07:21
install-sqoop.md

sqoop 安装

下载地址

解压Sqoop:

$ tar -zvxf sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz
$ mv sqoop-1.4.6.bin__hadoop-2.0.4-alpha /hadoop/sqoop
@greenqy
greenqy / create-hadoop-cluster-from-vms
Created December 8, 2015 09:38
create-hadoop-cluster-from-vms
启动集群
---------
启动 hadoop 相关服务
==============
### 启动 hadoop
```bash
start-dfs.sh