1.構築前と構築後の環境を保存しておく
1.1. サーバを引き渡されたら取得しておく
df -h > /tmp/0_df-h.txt
rpm -qa | sort > /tmp/0_rpm.txt
cat /etc/passwd > /tmp/0_user.txt
cat /etc/group > /tmp/0_group.txt
systemctl list-unit-files --type=service > /tmp/0_service.txt
1.3. 設定後、取得しておく
rpm -qa | sort > /tmp/1_rpm.txt
cat /etc/passwd > /tmp/1_user.txt
cat /etc/group > /tmp/1_group.txt
systemctl list-unit-files --type=service > /tmp/1_service.txt
cp /etc/my.cnf /tmp/0_my.cnf
cp /etc/httpd/conf/httpd.conf /tmp/0_httpd.conf
cp /etc/httpd/conf.d/redmine.conf /tmp/0_redmine.conf