Changes between Version 1 and Version 2 of Ticket #45136, comment 6
- Timestamp:
- Jan 19, 2015, 10:56:38 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #45136, comment 6
v1 v2 3 3 1. Install percona-server and sphinx via MacPorts 4 4 5 {{{ 5 6 port install percona-server[[BR]] 6 7 port install sphinx +percona 8 }}} 7 9 8 10 2. Download percona-server (v 5.6.21-69.0 - compatible with percona-server port's version) and sphinx (v 2.2.4 - compatible with sphinx port) sources 9 11 12 {{{ 10 13 port installed percona 11 14 12 {{{13 15 percona @5.6.21-69.0_2 (active) 14 16 percona-server @5.6.21-69.0_0 (active) 15 17 }}} 16 18 19 {{{ 17 20 port installed sphinx 18 21 19 {{{20 22 sphinx @2.2.4_0+percona (active) 21 23 }}} 22 24 23 25 {{{ 24 26 cd ~; mkdir percona_sphinx; cd percona_sphinx[[BR]] 25 27 wget http://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.21-69.0/source/tarball/percona-server-5.6.21-69.0.tar.gz [[BR]] … … 28 30 wget http://sphinxsearch.com/files/sphinx-2.2.4-release.tar.gz [[BR]] 29 31 tar -xzf sphinx-2.2.4-release.tar.gz[[BR]] 32 }}} 30 33 31 34 3. Copy SphinxSE plugin sources to percona-server sources 32 35 36 {{{ 33 37 mkdir percona-server-5.6.21-69.0/storage/sphinx [[BR]] 34 38 cp sphinx-2.2.4-release/mysqlse/* percona-server-5.6.21-69.0/storage/sphinx/ 39 }}} 35 40 36 41 4. Compile SphinxSE plugin 37 42 43 {{{ 38 44 cd percona-server-5.6.21-69.0; sh BUILD/autorun.sh; ./configure --with-plugins=sphinx [[BR]] 39 45 cd storage/sphinx; make 46 }}} 40 47 41 48 5. Copy ha_sphinx.so to percona-server plugin location 42 49 50 {{{ 43 51 sudo cp ~/percona_sphinx/percona-server-5.6.21-69.0/storage/sphinx/ha_sphinx.so /opt/local/lib/percona/plugin 52 }}} 44 53 45 54 6. Start / restart percona-server 46 55 56 {{{ 47 57 sudo port load percona-server 58 }}} 48 59 49 60 7. Finally, install SphinxSE plugin for Percona (Percona client) 50 61 62 {{{ 51 63 [Percona]> INSTALL PLUGIN sphinx SONAME 'ha_sphinx.so'; 52 64 }}} 53 65 54 66 More info: