Understanding yum installed config files
by NotionCommotion from LinuxQuestions.org on (#50RC6)
Was installing https://www.tecmint.com/install-pgadmin4-in-centos-7/ and followed their advice without thinking:
Code:yum -y install pgadmin4
mv /etc/httpd/conf.d/pgadmin4.conf.sample /etc/httpd/conf.d/pgadmin4.conf
vi /etc/httpd/conf.d/pgadmin4.conf #changed to something elseLater had issues and needed to start over, deleted their recommended pgadmin4.conf, and just realized I moved the sample instead of copying it.
No harm I thought, and I executed sudo yum remove pgadmin4, then sudo yum -y install pgadmin4, but the sample file was not reinstalled.
Why wasn't it installed the second time? How do I determine where yum is pulling it from so I may manually get a copy?
Thanks!


Code:yum -y install pgadmin4
mv /etc/httpd/conf.d/pgadmin4.conf.sample /etc/httpd/conf.d/pgadmin4.conf
vi /etc/httpd/conf.d/pgadmin4.conf #changed to something elseLater had issues and needed to start over, deleted their recommended pgadmin4.conf, and just realized I moved the sample instead of copying it.
No harm I thought, and I executed sudo yum remove pgadmin4, then sudo yum -y install pgadmin4, but the sample file was not reinstalled.
Why wasn't it installed the second time? How do I determine where yum is pulling it from so I may manually get a copy?
Thanks!