快速準備(複製替換)一套新測試環境,CentOS7 MySQL相關配置

來源:互聯網
上載者:User

標籤: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相關配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.