Cant run Nano command on CentOS 6.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Iykmode
Posts: 29
Joined: Wed Sep 19, 2012 5:11 am

Cant run Nano command on CentOS 6.3

Post by Iykmode »

Hi,

I just downloaded NagiosXI and VMWare Player. I have lunched NagiosXI on VMWare Player, changed root and sql passwords. I am currently trying to edit the script that runs everyday and backsup the mysql databases using the NANO command. However, nano is not a recongnised command on CentOS 6.3.

NOTES: The video tutorial runs on CentOS 5.4 as against CentOS 6.3 which runs on the XI Virtual Machine. My ifconfig output also displays an ipv6 address and not an ipv4 address. My network runs on ipv4. What do I do?
Iykmode
Posts: 29
Joined: Wed Sep 19, 2012 5:11 am

Cant Edit MySQL Backup Script using Nano Command

Post by Iykmode »

Hello,

I am new with NagiosXI. My VM runs on CentOS 6.3, 32bit, its a VMWare Machine which I am running with VMWare Player.

I have succeeded in changing my root password and MySQL password. But when I try to edit the script that runs everyday and backsup MySQL databases using the nano command, it returns and error saying the command is not found.

What do I do?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cant Edit MySQL Backup Script using Nano Command

Post by lmiltchev »

Run in terminal:

Code: Select all

yum install nano -y
...then try again.

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Iykmode
Posts: 29
Joined: Wed Sep 19, 2012 5:11 am

Re: Cant Edit MySQL Backup Script using Nano Command

Post by Iykmode »

Thanks,

Installing did just the magic. Thanks.
Locked