2014年4月7日月曜日

WebScaleSQLインストールで解決...パート2

Original post: http://anothermysqldba.blogspot.com/2014/04/webscalesql-installation-solved-part-2.html

:これはのフォローアップで試行さWebScaleSQLインストール...パート1

そう典型的なオタク、開発者、馬鹿または何..私はしなかったというRTFMか、この場合のよくある質問

私が注目し、ちょうどそれに突入していなかったので、一度、私がインストールされWebScaleSQLを正しく。
最大の問題は、私は古すぎるとOracleのリポジトリは、それがアップグレードされ得るのを助けるためにほとんど何もしなかったLinux OSを(OracleのLinux仮想マシン)を使用していたということでした。 私はちょうどそれがなかったことを、誰もが簡単に使用できるようなもので開始したいと思った一方で。

私がダウンロードしたFedoraの20 あなたは、彼らがすでに使用していることがわかります、GCC 4.8.2を。
だから、ポイントは、新しい技術を使用する場合は、同様にあなたのOSのアップデート、十分に簡単である。

あなたが本当にあなたのGCCをアップグレードして、現在のOSに滞在する場合は、これらのハイパーリンクは便利かもしれません:
以下は、私は、それがインストールさにかかった手順は次のとおりです。 依存関係が所定の位置に入ると、それは、インストールの基本的なソースです。

#cd /usr/local/
#yum -y install gcc git readline-devel gcc-c++ bison-devel bison cmake ncurses-devel
# gcc -v
gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)

#git clone https://github.com/webscalesql/webscalesql-5.6.git
#ln -s webscalesql-5.6 mysql
#groupadd mysql
#useradd -r -g mysql mysql
#cd mysql/
#cmake . -DENABLE_DOWNLOADS=1
-- Successfully downloaded http://googlemock.googlecode.com/files/gmock-1.6.0.zip
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/webscalesql-5.6

#make
Scanning dependencies of target INFO_BIN
[ 0%] Built target INFO_BIN
Scanning dependencies of target INFO_SRC
[ 0%] Built target INFO_SRC
Scanning dependencies of target abi_check
[ 0%] Built target abi_check
Scanning dependencies of target zlib
[ 1%] Building C object zlib/CMakeFiles/zlib.dir/adler32.co
.....
[100%] Building CXX object mysql-test/lib/My/SafeProcess/CMakeFiles/my_safe_process.dir/safe_process.cc.o
Linking CXX executable my_safe_process
[100%] Built target my_safe_process
#make install
#chmod +x scripts/mysql_install_db
#yum -y install perl-Data-Dumper-Names
#./scripts/mysql_install_db --user=mysql
#chown -R mysql data
#./bin/mysqld_safe &
# ./bin/mysql

mysql> SELECT VERSION();
+-----------+
| VERSION() |
+-----------+
| 5.6.17 |
+-----------+

mysql> show variables like '%read_only%';
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| innodb_read_only | OFF |
| read_only | OFF |
| super_read_only | OFF |
| tx_read_only | OFF |
+------------------+-------+

cd mysql-test ; perl mysql-test-run.pl


[OK]を、今我々はそれを持って、実行していることを···我々はそれを探索することができます...