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