To install Telnet server on Ubuntu based Operating System
1.First of all download "telnetd"
sudo apt-get install telnetd
2.And then start telnet server by executing the following command
/etc/init.d/inetutils-inetd start
3.To stop the telnet server type this in terminal
/etc/init.d/inetutils-inetd stop