02-26-2016 04:39 PM - last edited on 10-31-2017 05:15 AM by cjervis
I was doing some exercise related to Flume in cloudera vmware (5.5.0) and found that telnet does not exist or not included in the path.
Can someone please let me know the location or how to install telnet in vm?
Partial stdout is listed below
Thanks in advance
[cloudera@quickstart home]$ telnet localhost 44444
bash: telnet: command not found
[cloudera@quickstart home]$ which telnet
/usr/bin/which: no telnet in (/usr/local/firefox:/sbin:/usr/java/jdk1.7.0_67-cloudera/bin:/usr/local/apache-ant/apache-ant-1.9.2/bin:/usr/local/apache-maven/apache-maven-3.0.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cloudera/bin)
03-02-2016 11:13 AM
`sudo yum install telnet` should do the trick. The VM is based on CentOS 6, so any CentOS 6 tools should work even if they're not included in the base image or Cloudera software.
02-16-2017 11:39 AM
I am getting this error in cloudera VM after installing telnet, kindly help
[cloudera@quickstart ~]$ telnet localhost
telnet: connect to address 127.0.0.1: Connection refused
04-14-2019 07:00 PM - last edited on 04-16-2019 05:32 AM by cjervis
Got the below error while trying to install Telnet on the Cloudera VM installed on my Windows laptop:
[cloudera@quickstart lib]$ sudo yum install telnet
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Got to learn that addition of 'nameserver 188.8.131.52' in /etc/resolv.conf would solve the issue, but I was not able to edit resolv.conf
Tried few other things but nothing worked. Looking for help!