How to Create System Configuration Summaries for CentOS using cfg2html

 

  1. Find cfg2html rpm from below link
    https://gitlab.com/vineetkumar03/gitnotes/-/blob/master/cfg2html-1.79-1.el7.rf.noarch.rpm
  2. 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/
  3. 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
  4. Make a copy of this cfg2html folder on your local pc. You can view the system configuration by running the hostname.html.

Comments

Popular posts from this blog

Convert .iso Image to .qcow2 Image

THE ULTIMATE DOCKER CHEAT SHEET

Configuring Shared Folders in VMWare Workstation with a UBUNTU Guest OS and Windows Host