Portal Home > Knowledgebase > Articles Database > nano command not found on openvz


nano command not found on openvz




Posted by mark103, 11-04-2012, 10:49 PM
Hi guys, Can you please help me. I have a problem with the commands on my vps. I can't open the file on my vps as it doesn't support nano commands. Here is what I get an error when I tried to read the file: Does anyone know how I can install nano on my vps? Any advice would be much appreciated. Thanks in advance.

Posted by Coolraul, 11-04-2012, 10:56 PM
yum install nano Should do the trick for you.

Posted by SolidJoe, 11-05-2012, 12:45 AM
If you can't install a text editor, you probably shouldn't be messing around on a VPS. You should stick to shared web hosting or a fully managed solution.

Posted by MattF, 11-05-2012, 12:56 AM
Try either: nano pico joe All are practically the same, however if working for long periods or frequently in text editor I'd encourage you to try something a bit more powerful - vim/emacs - granted a steeper learning curve the payback is awesome, using nano/notepad is a good way to guarantee RSI

Posted by gigatux, 11-05-2012, 06:53 AM
Or apt-get install nano on Debian/Ubuntu. However, as has been said already, it's probably best to step back from the VPS and learn a few simple Linux administration tools first.

Posted by HostSlim-R, 11-05-2012, 07:13 AM
As mentioned above: yum clean all yum install nano

Posted by WHR-Abner, 11-05-2012, 07:53 AM
Have you tried "vi" editor instead? This is my all time favorite as it has loads of options. Try it and you will become a fan as well. Also read http://www.yolinux.com/TUTORIALS/Lin...vanced_vi.html

Posted by gigatux, 11-05-2012, 07:56 AM
Not meaning to start an editor flame war, but the original poster is clearly pretty new to Linux administration so I think it would be best to start off with a very simple editor, such as nano rather than learn the prerequisite minimum vi keyboard commands.

Posted by BestServerSupport, 11-05-2012, 10:17 AM
On case if yum install nano fails then make sure that you logged in as a root username.

Posted by mark103, 11-05-2012, 01:11 PM
Thanks for your help guys. I have input 'yum install nano' in putty and now i have got it working. cheers



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: