إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية

         :: متجر بي راقى لبيع اللوحات الجدارية (آخر رد :حسن سليمة)       :: شركة تنظيف مكيفات بالدمام (آخر رد :العنود جابر)       :: شركة تركيب كاميرات مراقبة بينبع (آخر رد :rwnaa_1)       :: المنصات عبر الإنترنت من التقنيات المبتكرة (آخر رد :اسماعيل رضا)       :: برامج الحفظ عبر الإنترنت المرونة (آخر رد :اسماعيل رضا)       :: تطبيق كليك كاش click cash (آخر رد :جاسم الماهر)       :: متجر ساكورا للهدايا: تمتع بتجربة تسوق استثنائية (آخر رد :نادية معلم)       :: التداول والأسهم: دليل شامل لعالم الاستثمار (آخر رد :محمد العوضي)       :: برامج الرشاقة السعيدة (آخر رد :دارين الدوسري)       :: التسجيل في الضمان المطور: خطوة بسيطة نحو مستقبل آمن (آخر رد :مصطفيي)      

إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 04-28-2010, 08:10 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,613
عدد الـنقاط :3341
 تقييم المستوى : 2139

Sphinx search Beta for vBulletin 4.0
Please read first:
  • Please do not install this product unless you have a strong technical background
  • We are not responsible for any conflicts or errors that occur with installing and/or operating sphinx
  • We recommend testing this product on a test instance of vBulletin first
  • This product is in Beta, and is not supported*
  • Do not upload your vbulletin-sphinx.php to a web accessible URL. Doing so would give away your database details. If you follow these exact instructions, it will not be in a web accessible URL.
  • The purpose of this product is to reduce database load (and reduce page load times) for sites that have large post databases and high activity. Boards that have less 4million posts and 3million pageviews a month will see a significantly reduced benefit from this product, and we see little need to install it on smaller sites that don’t exceed both of those metrics.
  • To install this sphinx search package, you must have the following things:
    1. Must have a Unix Server – package will not work with other server environments
    2. Have root access to the server
    3. Have a mySQL developer package (Yum, apt and RPM etc. – downloadable from mysql.com)
    4. GCC component (c++ compiler on host)
  • The product is to be installed on your webserver
  • Only install the version of sphinx specified in the instructions (newer and/or older versions may not function correctly)
  • Follow the instructions below exactly – you may need to make some adjustments based on “the flavor” of your unix system, and your installation of vBulletin.
  • This sphinx product attempts to replicate vBulletin default search functionality 100% to mirror user experience – so any bugs in the default vB4.0 search (or issues with its operation in general) will also occur with sphinx
  • If you would like to see an implementation of the product please go to www.bikeforums.net
  • If you adjust any of your config.php credentials you will need to restart your webserver/sphinx.
  • If you rebuild the threads in the admincp, you must re-run the main.sh
  • As of right now, there is no easy way of allowing this on more than one board per server. Should you want to, you would need to modify the sphinx config file, vbulletin config file, directories, cron files, etc. Also this is assuming you are running the Suite. It may work without but will throw an error on the indexing.
  • We have tried our best to offer as best guidance we can here in installing the product, and the product works on a number of instances of vbulletin with no known issues, but ultimately (as mentioned) we will not be responsible for any issues in installing it.


Install Sphinx
--------------
  1. Login as root
  2. wget http://www.sphinxsearch.com/download...x-0.9.8.tar.gz
  3. tar xzf sphinx-0.9.8.tar.gz
  4. cd sphinx-0.9.8
  5. ./configure --enable-id64 --prefix=/usr/local/sphinx
  6. make
  7. Did you get Error 127 during step 6? Install gcc-c++ using the following command and then repeat step 6.
    yum install gcc-c++
  8. make install
  9. Did you get dependency errors with steps 6 or 8? Install mysql-devel using the following command and then repeat steps 6 and 8.
    yum install mysql-devel

Configure for vBulletin
-----------------------
  1. Import product to vBulletin AdminCP’s Product Manager.
  2. Upload the contents of the upload folder to the vbulletin root directory.
  3. Assuming your forum is located in /home/vbulletin/public_html, Also you must define where your sphinx folder is located (different depending on where you ran the above commands). Then use this command:
    cp /path/to/sphinx-0.9.8/api/sphinxapi.php /home/vbulletin/public_html/packages/vbsphinxsearch
  4. At the end of your vbulletin config.php file, add the following:
    /*
    * Sphinx configuration parameters
    */
    $config['sphinx']['host'] = '127.0.0.1';
    $config['sphinx']['port'] = 3312;
    $config['sphinx']['path'] = '/usr/local/sphinx'; /* No trailing slash */
  5. Upload vbulletin-sphinx.php to /usr/local/sphinx/etc alongside the default sphinx.conf (May be named sphinx.conf.dist) file.
  6. Change $myforumroot in vbulletin-sphinx.php to the exact forum root (Example: /home/vbulletin/public_html).
  7. Set vbulletin-sphinx.php file to executable using:
    chmod +x /usr/local/sphinx/etc/vbulletin-sphinx.php
  8. Change directory to your sphinx folder using:
    cd /usr/local/sphinx
  9. Get the cron zip using:
    wget http://carblog.com/vbsphinxsearch/cron.zip
  10. Unzip the cron.zip file using:
    unzip cron.zip
  11. Set all crons to executable using command:

    chmod +x /usr/local/sphinx/cron/*.sh
  12. Run the main_norotate.sh cron using:
    /usr/local/sphinx/cron/main_norotate.sh
  13. Run the delta_norotate.sh cron using:
    /usr/local/sphinx/cron/delta_norotate.sh
  14. Start the daemon using:
    /usr/local/sphinx/bin/searchd --config /usr/local/sphinx/etc/vbulletin-sphinx.php
  15. To verify your Sphinx is working you can enter: ps ax | grep search[d]
    If the above returned something such as: /usr/local/sphinx/bin/searchd --config... the daemon is running.
  16. You should setup crons to run every 10 minutes on /usr/local/sphinx/cron/delta.sh and run /usr/local/sphinx/cron/main.sh once nightly.
  17. Go to your AdminCP->Options->Search Type. In the drop down, select Sphinx Search, then hit go.
  18. That is it! Sphinx should now be working correctly on your board.
*This product is not supported via phone support, ticket support, or forum support. If there is sufficient interest in the product we may add a paid for support option for owners that are so interested. While we are continuing with development of this product (and will make new versions available as they are built), as it is a product that is utilized on a lot of Internet Brand’s own forums and are very vested in its future, we can provide no guarantee’s on future bug fixes and/or feature requests for the product, we will make every attempt in good faith to fix any bugs that arise and/or incorporate worthy suggestions that may benefit the product overall, but we are providing the product free of charge to assist a specific and small group of customers that run very large forums – and as a result the product is not considered a core vB competency, and its support is provided by developers that are outside the vB team (i.e. I have to call in favors ). While I hope that many of you will find this a worthy addition to vBulletin, I encourage you to please elect to download, install and utilize this product taking all of the above into account.


We will be creating a forum on vbulletin.org for discussion on the future development of the sphinx search product. I will update this announcement with a link when that is complete.

Thanks, and enjoy,
Adrian
Attached Files
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)


تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 08:27 AM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML