Changes between Version 1 and Version 2 of Ticket #45136, comment 6


Ignore:
Timestamp:
Jan 19, 2015, 10:56:38 AM (9 years ago)
Author:
thejoyboy@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45136, comment 6

    v1 v2  
    331. Install percona-server and sphinx via MacPorts
    44
     5{{{
    56port install percona-server[[BR]]
    67port install sphinx +percona
     8}}}
    79
    8102. 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
    911
     12{{{
    1013port installed percona
    1114
    12 {{{
    1315percona @5.6.21-69.0_2 (active)
    1416percona-server @5.6.21-69.0_0 (active)
    1517}}}
    1618
     19{{{
    1720port installed sphinx
    1821
    19 {{{
    2022sphinx @2.2.4_0+percona (active)
    2123}}}
    2224
    23 
     25{{{
    2426cd ~; mkdir percona_sphinx; cd percona_sphinx[[BR]]
    2527wget 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]]
     
    2830wget http://sphinxsearch.com/files/sphinx-2.2.4-release.tar.gz [[BR]]
    2931tar -xzf sphinx-2.2.4-release.tar.gz[[BR]]
     32}}}
    3033
    31343. Copy SphinxSE plugin sources to percona-server sources
    3235
     36{{{
    3337mkdir percona-server-5.6.21-69.0/storage/sphinx [[BR]]
    3438cp sphinx-2.2.4-release/mysqlse/* percona-server-5.6.21-69.0/storage/sphinx/
     39}}}
    3540
    36414. Compile SphinxSE plugin
    3742
     43{{{
    3844cd percona-server-5.6.21-69.0; sh BUILD/autorun.sh; ./configure --with-plugins=sphinx [[BR]]
    3945cd storage/sphinx; make
     46}}}
    4047
    41485. Copy ha_sphinx.so to percona-server plugin location
    4249
     50{{{
    4351sudo cp ~/percona_sphinx/percona-server-5.6.21-69.0/storage/sphinx/ha_sphinx.so /opt/local/lib/percona/plugin
     52}}}
    4453
    45546. Start / restart percona-server
    4655
     56{{{
    4757sudo port load percona-server
     58}}}
    4859
    49607. Finally, install SphinxSE plugin for Percona (Percona client)
    5061
     62{{{
    5163[Percona]> INSTALL PLUGIN sphinx SONAME 'ha_sphinx.so';
    52 
     64}}}
    5365
    5466More info: