Network-attached storage (NAS) on local network with Raspberry PI

Wojtek on Raspberry Pi, bash, nas, usb, drive, Raspberry Pi OS · · Comments · 6 min read

Do you have a few old external USB drives lying around collecting dust? Well, you could put them to good use with a simple and robust NAS (Network-attached storage) using a Rasberry Pi. Moreover, if you have plenty of old travel photos on that external drive, you could host my open source NodeJS app (GitHub repo here) to display them... Read more »

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 »