How to make sure service is running after restart

Wojtek on bash, chkconfig, Linux · · Comments · 1 min read

If you want to avoid situation when after server restart you have to start lots of services manually, a little thing like chkconfig would come in handy. First you might want to take a look at a list of services handled by chkconfig: chkconfig --list You should see something like this: mysql 0:off 1:off 2:on 3:on... Read more »

How to install memcached on CentOS

Wojtek on bash, CentOS, libevent, Linux, memcached · · Comments · 1 min read

Install dependancy Before we install memcached we need a dependency library libevent. Check for latest stable version at cd /usr/local/src wget tar -xzvf libevent-1.4.13-stable.tar.gz cd libevent-1.4.13-stable ./configure --prefix=/usr/local make make install cd .. Install memcached Check for... Read more »

Install xmpppy on CentOS

Wojtek on bash, jabber, Linux, xmpppy · · Comments · 1 min read

xmpppy is a Python library allowing you to send messages from your server to any Jabber enabled communicator. Firstly download and unpack xmpppy to a local directory. Next go into the unpacked directory and run: python install Next you need a script that will do the sending. Use your favourite text editor to create file i.e.: vim... Read more »