Difference between revisions of "Rconfig"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Network_related_tools|Network tools</yambe:breadcrumb> =rconfig= rconfig allows taking periodic backup of cisco devices (switches, routers, firewalls). It ...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Network related tools]] > [[Rconfig]] | |||
rconfig allows taking periodic backup of cisco devices (switches, routers, firewalls). It can be configured to run any necessary command such as: | rconfig allows taking periodic backup of cisco devices (switches, routers, firewalls). It can be configured to run any necessary command such as: | ||
Line 44: | Line 43: | ||
# Change admin password | # Change admin password | ||
# Add device and see if connectivity to devices work. Try connectivity from terminal first to ensure that firewall (iptables) rules on machine and ACL on remote device allow corresponding proctocol (telnet, SSH) from rconfig server source IP. | # Add device and see if connectivity to devices work. Try connectivity from terminal first to ensure that firewall (iptables) rules on machine and ACL on remote device allow corresponding proctocol (telnet, SSH) from rconfig server source IP. | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Network related tools]] > [[Rconfig]] |
Latest revision as of 13:07, 23 August 2022
Home > CentOS > CentOS 6.x > Network related tools > Rconfig
rconfig allows taking periodic backup of cisco devices (switches, routers, firewalls). It can be configured to run any necessary command such as:
- show running-config
- show startup-config
- show cdp nei
and capture their output. The tool also supports cron configuration so that the same set of commands can be run at scheduled interval automatically.
rconfig installation
rconfig must be installed separately on individual machine without sharing with other websites. The machine can be VM or container. To install rconfig use following steps:
- Create account on www.rconfig.com, if not present already
- Download rconfig source code and copy it to server
- Run visudo and append following at end
- apache ALL = (ALL) NOPASSWD: /usr/bin/crontab, /usr/bin/zip, /bin/chmod, /bin/chown, /usr/bin/whoami
- Defaults:apache !requiretty
- Unzip rconfig sources in /home
- Then run
- chown -R apache /home/rconfig
- mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.original
- cp /home/rconfig/www/install/httpd.conf.new /etc/httpd/conf/httpd.conf
- yum -y install php php-mysql mysql-server
- service mysqld start
- chkconfig mysqld on
- chkconfig httpd on
- service httpd restart
- Open http://<server>/install
- Accept license agreement
- Enter following values:
- Database server
- localhost
- Port
- 3306
- Database name
- rconfig
- Database username
- : root
- Click on check settings
- Click on install settings
- Login into rconfig using admin:admin
- If things are fine do =rm /home/rconfig/www/install -rf=
- Change admin password
- Add device and see if connectivity to devices work. Try connectivity from terminal first to ensure that firewall (iptables) rules on machine and ACL on remote device allow corresponding proctocol (telnet, SSH) from rconfig server source IP.
Home > CentOS > CentOS 6.x > Network related tools > Rconfig