標籤:efault 服務配置 centos7 完成 file 快速 help virsh job
拿到一個新環境,需要找相關配置,我有一個辦法,相對能比較快速地複製一套環境出來。
修改機器配置:
virsh 相關幾條命令,已完成,後續我再整理補充...
修改服務配置:
cd /mnt/app/xxjob/WEB-INF/classessed -i ‘s/192.168.0.202/192.168.0.212/g‘ generator.propertiessed -i ‘s/192.168.0.202/192.168.0.212/g‘ application.ymlsed -i ‘s/192.168.0.202/192.168.0.212/g‘ jdbc.propertiessed -i ‘s/192.168.0.202/192.168.0.212/g‘ application.propertiessed -i ‘s/192.168.0.202/192.168.0.212/g‘ xxl-job-admin.propertiescat /mnt/app/xxjob/WEB-INF/classes/* | grep 192.168.0.202
修改MySQ配置:
[[email protected] etc]# which mysql/usr/bin/mysql[[email protected] etc]# /usr/bin/mysql --verbose --help | grep -A 1 ‘Default options‘Default options are read from the following files in the given order:/etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf
其他稍後待續...
快速準備(複製替換)一套新測試環境,CentOS7 MySQL相關配置