Advertisement
niammuddin

sphinx

Oct 20th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. impport MAMP di macOS
  2.  
  3. /Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot db < /Users/niammuddin/wp.sql
  4.  
  5. import di server lewat SSH command line
  6.  
  7. mysql namadatabase < /pathlocation/database.sql
  8.  
  9. libmysqlclient18
  10. apt-get install libmysqlclient18-dev libpq-dev unixodbc-dev
  11. apt-get install libpq-dev unixodbc-dev
  12. apt-get install libmysqlclient18=10.1.36+maria-1~trusty
  13.  
  14. 10.1.36+maria-1~trusty
  15.  
  16. ./indexer -c /var/local/sphinx/etc/sphinx.conf --all
  17.  
  18. ln -sfn /usr/lib/libmysqlclient.so /usr/bin/libmysqlclient.so
  19.  
  20. ln -s /usr/bin/libmysqlclient.so /usr/lib/libmariadb.so
  21.  
  22.  
  23. ln -s /usr/lib/libmariadb.so /usr/lib/libmysqlclient.so.18.0.0
  24. ln -sfn /usr/lib/libmariadbclient.so.18 /usr/lib/libmariadb.so
  25.  
  26. /var/local/sphinx/etc
  27. /usr/bin
  28. ln -s /usr/local/bin/searchd /var/local/sphinx/bin/searchd
  29. ln -s /usr/local/bin/searchd /var/local/sphinx/bin/searchd
  30. ln -sfn /var/local/sphinx/bin/searchd /usr/local/bin/searchd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement