Quickly prepare (copy and replace) a new set of test environments, CentOS7 MySQL-related configuration

Source: Internet
Author: User

Get a new environment, need to find the relevant configuration, I have a way to relatively fast copy a set of environment.

To modify the machine configuration:

Virsh related several commands, has been completed, follow-up I re-organize to add ...

To modify the service configuration:

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

To modify the MYSQ configuration:

which MySQL/usr/bin/grep1'Default options'  inch The given order:

Others to be continued later ...

Quickly prepare (copy and replace) a new set of test environments, CentOS7 MySQL-related configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.