Archives

elasticsearch: installation and configuration on Centos 6.2

On 03.04.2012, in supportex.net-blog, by Oleksii Tykhonov
0

The installation of elasticsearch (which is distributed RESTful, search engine built on top of Apache Lucene) on Centos, will be easier if it is in repositories. But it isn’t. And since the best way to install application on Centos is to use rpm packages we will need to build it. At the very beginning you [...]

RPM: how to get changelog from package

On 31.01.2012, in supportex.net-blog, by Oleksii Tykhonov
0

Often there’s a need to get changelog of RPM package. Here is a way to do that: [root@playground ~]# rpm -qp –changelog kernel-2.6.41.9-1.fc15.x86_64.rpm | head * Fri Jan 13 2012 Josh Boyer <jwboyer@redhat.com> 2.6.41.9-1 – Linux 3.1.9 – CVE-2012-0045 kvm: syscall instruction induced guest panic (rhbz 773392) * Wed Jan 11 2012 Josh Boyer <jwboyer@redhat.com> [...]

Nginx: embedding Lua into webserver

On 30.09.2011, in supportex.net-blog, by Oleksii Tykhonov
0

Lua is a tiny but powerful programming language. Due to its small memory footprint (about hundreds of kilobytes) it’s widely used in application which need to be extended with more complex logic. For instance, Salvatore Sanfilippo has published a  post describing how you can use power of Lua with Redis. It also applied to nginx, [...]

Lua: installing luarocks as RPM in Fedora 15

On 27.09.2011, in supportex.net-blog, by Oleksii Tykhonov
0

Ruby has gem, Python has pip and Lua has luarocks. Unfortunately, in Fedora 15 there is no rpm package of luarocks, so if you need it and don’t want to install it from sources, you will have to build it. Fortunately, there is a spec file written by Duboucher Thomas, so we don’t need to [...]

RPM: building proctitle for PHP

On 30.08.2011, in supportex.net-blog, by Oleksii Tykhonov
0

Sometimes it’s convenient to change PHP script name, it allows to check if it’s running by typing just pstree. You can perform that with use of proctitle. Unfortunately there is no rpm for this package for Fedora 15. So to use it you need to build it. Firstly you need to download source package to [...]

RPM: Bulding Python package for Redis

On 28.07.2011, in python, by Oleksii Tykhonov
2

To build RPM package for Python library is really easy task if developer has kindly included setup.py file in it. Let’s build RPM for redis-py package by Andy Mccurdy. First of all we need archive with last version of redis-py. Unpack it. Change name of package to ’python-redis’ since default value is ‘redis’ (and that is [...]