Code Monkey home page Code Monkey logo

my_doc's People

Contributors

zj0078 avatar

Watchers

 avatar

my_doc's Issues

linux 安装hbase遇到问题

1 需要设置host 并且内部使用hostname

---------hadoop root账户需要设置 ,并且都需要设置主机名称按照主机名称链接

hadoop.http.staticuser.user root dfs.permissions.enabled false

-------- hadoop
./sbin/start-all.sh

./sbin/stop-all.sh

删除hadoop日志文件和缓存文件
rm -rf logs tmp
重新格式化文件系统(hdfs namenode - format 或 hadoop namenode - format)
启动Hadoop进程(start-all.sh)

关闭安全模式
bin/hdfs dfsadmin -safemode get
bin/hdfs dfsadmin -safemode leave

------zkServer
bin/zkServer.sh start
bin/zkServer.sh stop

------hbase
bin/start-hbase.sh
bin/stop-hbase.sh

./bin/hbase-daemon.sh start regionserver
./bin/hbase-daemon.sh start master

bin/hbase shell

2013

@echo off
color 3f
mode con cols=75 lines=40
title Bulid 1.00
cd "C:\Program Files\Microsoft Office\Office15"
Pause
Cscript ospp.vbs /inpkey:YC7DK-G2NP3-2QQC3-J6H88-GVGXT
Pause
cscript ospp.vbs /sethst:szxkms03-nt.XXXX.com
Pause
cscript ospp.vbs /act
Pause exit

ssh免密登陆好方法

https://blog.csdn.net/asdasd1752/article/details/101566422
本次测试仅用本机;具体根据实际设置调整

修改/etc/hosts

添加本机IP及主机名,如下:

执行ssh-keygen -t rsa,会生成本机的密钥及公钥;保存在以下两个文件中:id_rsa及id_rsa.pub

之后把id_rsa.pub里的内容追加复制到目标主机authorized_keys文件中;

即完成免密登陆,注:免密登陆对用户有要求,登陆哪个用户就修改哪个用户下的公钥文件;

修改后测试:此处因为登陆本机,无需修改iptables等限制;

转载于:https://www.cnblogs.com/arvin-arvin/p/11468393.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.