How to Create System Configuration Summaries for CentOS using cfg2html
1 min readApr 14, 2020
--
- Find cfg2html rpm from below link
https://gitlab.com/vineetkumar03/gitnotes/-/blob/master/cfg2html-1.79-1.el7.rf.noarch.rpm - Copy this .rpm to /tmp directory on your server. Now we will use cfg2html-1.79–1.el7.rf.noarch.rpm to install cfg2html in Linux CentOS
#rpm -hiv cfg2html-1.79–1.el7.rf.noarch.rpm
#which cfg2html-linux
Output of above command : /usr/bin/cfg2html-linux
#mkdir /tmp/cfg2html
#cp /usr/bin/cfg2html-linux /tmp/cfg2html/ - Please make sure that there are no other files in “/tmp/cfg2html” directory except cfg2html-linux as all the output files will be store in this directory. Proceed to run the cfg2html script.
#./cfg2html-linux
#ls - Make a copy of this cfg2html folder on your local pc. You can view the system configuration by running the hostname.html.