Category Archives: Linux

Jenkins jobs speed up

Running a test or build server’s database service in tmpfs do reduce build time.
If an application uses some service like MySQL or a file server building the application involves a lot of the relevant tests.
Most often the data for the tests is being seed every job run. If there are spare memory on the server it would reduce the job build/test time quite significantly if the service is running in tmpfs.
Continue reading

SFTP chroot with write access

I used to use rssh to lock access to SCP/SFTP only for a set of specific users.
However, the latest versions of OpenSSH has build in ChrootDirectory directive but it might not be straight forward as wrong directory permissions would not let to connect and give the folowing error

Write failed: Broken pipe
Couldn't read packet: Connection reset by peer

This can be easily fixed.
Continue reading

Raspberry Pi

Just before Christmas 2014 I got a Raspberry Pi B+ from Amazon just to see what is the all the buzz about. When I opened it I was impressed of the quality of the product even on visual evaluation. It is really pleasant to handle and work with.

Furthermore, I was impressed by the quality of the software available for Raspberry Pi. Raspbian is a full blown Linux distribution based on Debian distribution. It already has Continue reading

hash functions on md RAID-6: part three

In the original configuration the RAID-6 over the 6 disks was build using two different SATA controllers. Four disks were connected to RocketRAID and the other two connected to the integrated Intel SATA.

Now, the motherboard has changed to  a new one with 6 SATA connections via the integrated controller. However, it caused that the CPU and RAM were changed as well. So from the original Continue reading