MySQL Oracle silent one-click installation script

Source: Internet
Author: User

Pre-read;

In order to achieve a key to the purpose of doing it! Now Ruiy simple to do the following a few pieces of provisions
If you want to do this one button, please don't go against the restraints!

1. Download ' binary ' mysql software media version unlimited, binary package must, source and RPM package format, here to play do not turn;
eg
wget http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.17-linux-glibc2.5-x86_64.tar.gz

2. Put the downloaded binary MySQL installation media into the/opt/yoodo/installs/directory, be sure;

3. One click to get your MySQL server instruction format
/mysqlsilentins.sh/usr/local/buruiy
Where/usr/local/buruiy is your MySQL installation path, remember not to write
/usr/local/buruiy/Remember (compare the next two directory paths)

Tailored for Rhel and CentOS systems, adapt to the environment you should understand, these two certainly perfect support, other not tested;

Specific scripts and readme see attachment

Http://files.cnblogs.com/ruiy/mysql_Akey_to_get.zip

Oracle Silent Silent Installation

Prepare the Oralce1~2.zip installation media at the specified location, place the script in the specified directory, and run the following command

/opt/install/silent.sh/dbsoftware/app/orainventory/dbsoftware/app/oracle/dbdata/oradata/ruiy.rsp

Script Attachment Http://files.cnblogs.com/ruiy/oracleSilent.zip

With a little record-keeping.

Sed:-E expression #1, char 19:unknown option to ' s '

From a grammatical point of view, I did not find any problems, I found some information, and I found nothing.

Baffled, I made some attempts, and finally found that if you use "%" instead of "/" as the delimiter for the replace operation of SED, there will be no error

SED deletes the matching line;

Basedir=/usr/local/mysql01/mysql
Datadir=/usr/local/mysql02/mysql/data

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.