简体   繁体   English

在hortonworks沙箱中的Vi问题

[英]Vi issue in hortonworks sandbox

as a fresh user in Hadoop, I found that when I connect to the virtualBox I can only use vi. 作为Hadoop的新用户,我发现当我连接到virtualBox时,我只能使用vi。 If I type 'vim' it will shows that -bash: vim: command not found . 如果我输入'vim',它将显示-bash: vim: command not found So is there anyone who can tell me that how can I use vim in the sandbox? 那么有谁能告诉我如何在沙盒中使用vim? Thank you guys. 感谢大伙们。 PS: I use a Mac,vm information: Name: Hortonworks Sandbox 2.1 , OS: Red Hat(64 bit) . PS:我使用的是Mac,vm信息:名称:Hortonworks Sandbox 2.1,操作系统:Red Hat(64位)。

You should install it first. 你应该先安装它。 On CentOS/Red Hat: 在CentOS / Red Hat上:

sudo yum install vim-X11 vim-common vim-enhanced vim-minimal

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM