Mysql做備援的方式有很多種,這次講一個最基本的方式Master-Slave,其實網路上許多方法,大家可以去找找看,而今天的環境是使用Amazon Linux 32位元的,但是其實操作都大同小異。
看到上面那張圖,就是今天要做的,只是單純的把Database資料即時備份到另一個Slave Database裡。
ERROR: Error running ‘./installer -a /Users/<UserName>/.rvm/rubies/ree-1.8.7-2011.03 –no-tcmalloc –dont-install-useful-gems ‘, please read /Users/<UserName>/.rvm/log/ree-1.8.7-2011.03/install.log
ERROR: There has been an error while trying to run the ree installer. Halting the installation.
按照他所說的我們到log看一下Error結果是以下
*** ERROR: Ruby is not installed ***
The Ruby Enterprise Edition installer is written in Ruby. This source tarball bundles precompiled versions of Ruby for many platforms for the purpose of running this installer, but unfortunately we did not include a precompiled Ruby binary for the current platform. So please install Ruby manually, then run this installer again.