沉沙
2018-09-27
来源 :
阅读 1010
评论 0
摘要:本篇教程介绍了大数据应用 Deploying Tomcat 8.0 and connect ssh without password,希望阅读本篇文章以后大家有所收获,帮助大家对大数据云计算大数据应用的理解更加深入。
本篇教程介绍了大数据应用 Deploying Tomcat 8.0 and connect ssh without password,希望阅读本篇文章以后大家有所收获,帮助大家对大数据云计算大数据应用的理解更加深入。
<
This mission seems to be easier--we can just decompression Tomcat to our virtural machine and deploy ssh to login without password.Login ssh without password is very critical,although distributed Systems can also run without it.But,as we know,distributed system are based on many servers,isn't it inconvenient for you if every time you try to connect the server's ssh you should enter your password?So,that's the importance of it.
First of all, we should download Tomcat to our system(As I have said before,download the file whose suffix name is .tar.gz):
Also,we should decompression the file :
Succeed
Next,we should start our Tomcat to observe it can use or not.The starting program of Tomcat is in the folder named bin,whose name is startup.sh
now we execute the starting program:
It can be seen on the screen that Tomcat started successfully,now we will start the browser to prove it,definitely,we will unable to access the website:192.168.109.151:8080(your ip + :8080).Why,this is because of the firewall.We must to stop the firewall:
You can connect to the website again and yiou will find we can browse it.
The second step is to download ssh:there are two programs we should download ---openssh.client and openssh.server,we can just use the instruction "yum" to download it rather than DIY:
After this step,we'll try if you can try to connect your own system by the instruction:
You'll find you should enter your password even if you try to connect your own system!It's so inconvenient for us to enter it!
Then we will change it's authorization file to accomplish login it without password:
Then we just press "enter" to the end
Next we should find a file named file .ssh,which is hidden.We should enter this file and we'll find three text,the thing we should do is to change the name of the text named id_isa.pub into authorized_keys
Then we can try to use our system to connect our own system again,you 'll find you can connect to your system without password!
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注职坐标大数据云计算大数据应用频道!
喜欢 | 0
不喜欢 | 0
您输入的评论内容中包含违禁敏感词
我知道了

请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式AI+学习就业服务平台 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号