Ubuntu: start sphinxsearch with specific options

By default, on Ubuntu, SphinxSearch is using /etc/sphinxsearch/sphinx.conf and /etc/default/sphinxsearch to start/stop daemon. If you need to use specific command line options (like -c ), you need to update your /etc/init.d/sphinxsearch In the do_start() function, change the line : start-stop-daemon –start –pidfile $PIDFILE –chuid www-data –exec ${DAEMON} with start-stop-daemon –start –pidfile $PIDFILE –chuid www-data –exec ${DAEMON} … 

 

Install a specific version of sphinxsearch on Ubuntu 14.04

Current version of sphinx on Ubuntu 14.04 is 2.0.* If you need a more recent version, you can find a .deb package directly on Sphinx website : http://sphinxsearch.com/downloads/release/ Pick-up your package and install it locally : $ wget http://sphinxsearch.com/files/sphinxsearch_2.2.6-release-0ubuntu12~trusty_amd64.deb $ dpkg -i sphinxsearch_2.2.6-release-0ubuntu12~trusty_amd64.deb $ searchd -h Sphinx 2.2.6-id64-release (r4843) Copyright (c) 2001-2014, Andrew Aksyonoff Copyright … 

 

Debian Lenny and perl locales warning messages

If like me you just have upgraded your Debian system to Lenny, you probably encounter the following warnings while launching perl: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:         LANGUAGE = (unset),         LC_ALL = (unset),         LANG = “fr_FR.UTF-8”     are supported and installed on your system. perl: … 

 

Follow your debian server updates by email with apticron

apticron is a shell script that send you an email report when new packages are available on your debian server. Install apticron As root, do: apt-get install apticron apticron configuration via /etc/apticron/apticron.conf To receive reports on your email change the EMAIL variable in the configuration file. By default, reports are sent to the root user. …