- go build – 编译包,不安装
- go get – 解析并安装依赖,
如果包有更新,可以使用-u参数进行更新// 嵌套获取所有包依赖 go get ./...
go get -u package
- go test – 执行测试用例和性能测试,
- go install – 安装包,
- 运行hbase时不会运行thrift server
- $HBASE_HOME/conf/hbase-site.xml下不要设置thrift端口为9090,不然默认的thrift起不来
- 运行hbase+thrift,thrift1会被弃用,建议使用thrift2
start-hbase.sh
hbase-daemon.sh start thrift2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"> | |
<div class="container-fluid b1"> | |
<h1 class="text-center">孙中山</h1> | |
<h3 class="text-center"><em>中国近代民主革命的伟大先行者</em></h3> | |
<div id="pic"> | |
<img src="http://www.gzzxws.gov.cn/gzws/gzws/ml/hqcc/201107/W020110720464217405067.jpg" class="img-responsive imgbox"> | |
<p class="text-center imgtextbox"> | |
1924年4月,孙中山在广州大元帅府办公室书写《国民政府建国大纲》 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 添加dev组为sudoer组 | |
groupadd dev | |
chmod u+x /etc/sudoers | |
sed -i 's,wheel,dev,' /etc/sudoers | |
# 不允许root用户登录,一定要提前设置其他登录用户 | |
sed -i 's,#PermitRootLogin yes,PermitRootLogin no,' /etc/ssh/sshd_config | |
service sshd restart | |
# zookeeper安装 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SALT_HOME="/srv/salt/user" | |
if [ $# -lt 3 ] | |
then | |
echo "usage: $0 username passwd hostnames group" | |
echo "example: sudo ./useradd.sh test test ko-79,ko-78 dev" | |
exit | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sig":"87058829e86fa3d345d0f72e6a72425c2ab8e60a29fdc2b03c43dc73d414c7ab25acf466e8a14fdefcaab8a07c2e5ff760b91642b878303f0d64d149bdc0c1a30","msghash":"4b3370128fe7e0899a9d23151ab0a425f296c2bda535470e7c1b3830c32e2826"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sig":"87058829e86fa3d345d0f72e6a72425c2ab8e60a29fdc2b03c43dc73d414c7ab25acf466e8a14fdefcaab8a07c2e5ff760b91642b878303f0d64d149bdc0c1a30","msghash":"4b3370128fe7e0899a9d23151ab0a425f296c2bda535470e7c1b3830c32e2826"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sig":"87058829e86fa3d345d0f72e6a72425c2ab8e60a29fdc2b03c43dc73d414c7ab25acf466e8a14fdefcaab8a07c2e5ff760b91642b878303f0d64d149bdc0c1a30","msghash":"4b3370128fe7e0899a9d23151ab0a425f296c2bda535470e7c1b3830c32e2826"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sig":"87058829e86fa3d345d0f72e6a72425c2ab8e60a29fdc2b03c43dc73d414c7ab25acf466e8a14fdefcaab8a07c2e5ff760b91642b878303f0d64d149bdc0c1a30","msghash":"4b3370128fe7e0899a9d23151ab0a425f296c2bda535470e7c1b3830c32e2826"} |
OlderNewer