How to Create System Configuration Summaries for CentOS using cfg2html

  1. 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/
  2. 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
  3. Make a copy of this cfg2html folder on your local pc. You can view the system configuration by running the hostname.html.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store