Blogroll

Thursday, September 13, 2012

Fix error bind() fail on sphinx

We should try 2 command before this below guide : the 'init: ... main process ended, respawning' suggests there is something in the init script that sets a watchdog to make sure sphinx doesnt die. Perhaps you need to shutdown sphinx via the init script itself /etc/init.d/sphinxsearch stop or By default, it seems like the debian package will start Sphinx with an additional keepalive process. I was able to stop it successfully with this; sudo service sphinxsearch stop If 2 way above is not success, you should try. using config file '/sphinx/conf/sphinx.conf'... listening on all interfaces, port=9312 bind() failed on 0.0.0.0, retrying... bind()...
Wednesday, September 12, 2012

Simple blog using mongoDb

This is simple blog allow display post , add new post and add comment for post using MongoDb for storage. Note: Download mongDb for php at this link http://www.mongodb.org/display/DOCS/PHP+Language+Center And install mongDb before demotrastion. I pushed source to gitHub att this link https://github.com/bvtuan/blog_mongodb Hope it useful for who learning mongoDb....
Tuesday, September 11, 2012

Install jdk 7 for ubuntu 12.04

Just use some terminal code below : sudo rm /var/lib/dpkg/info/oracle-java7-installer* sudo apt-get purge oracle-java7-installer* sudo rm /etc/apt/sources.list.d/*java* sudo apt-get update sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-install...

Installing Sphinx 2.0.4 on Ubuntu 10.04 - Lucid

Description: “Sphinx  is a full-text search engine, distributed under GPL version 2. Commercial license is also available for embedded use. Generally, it’s a standalone search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL or PostgreSQL, or using XML pipe mechanism (a pipe to indexer in special XML-based format which Sphinx recognizes). As for the name, Sphinx is an acronym which is officially...
Page 1 Of 71234567Next