Posts By: jonny

Huge Pages in CentOS 6

centos logo

To check the size and amount of Huge Pages use:

This should so something like:

To change the number of HugePages use the following:

This would allocate 2560x2048kB = 5GB

To check the impact on memory:

Reset Huge Pages The change can be applied permanently in /etc/sysctl.conf but to… Read more »

Filezilla is Dead – Killed by Malware

With a heavy heart I can no longer recommend FileZilla.For years I had pointed users to Filezilla for several reasons including availability on multiple platforms and support for FTPS. I have now been informed that Windows users who download FileZilla via Sourceforge are getting an installer that tries to install crapware. Filezilla are aware of… Read more »

Building Slurm Scheduler RPM Packages

centos logo

Download the slurm tarball from Install dependencies:

Build the RPM:

After 5 minutes compiling this will create RPMs in the directory: ~/rpmbuild/RPMS/x86_64/ for me this was /root/rpmbuild/RPMS/x86_64/ The created RPMs were as follows: slurm-14.03.10-1.el6.x86_64.rpm slurm-pam_slurm-14.03.10-1.el6.x86_64.rpm slurm-sjobexit-14.03.10-1.el6.x86_64.rpm slurm-slurmdb-direct-14.03.10-1.el6.x86_64.rpm slurm-devel-14.03.10-1.el6.x86_64.rpm slurm-perlapi-14.03.10-1.el6.x86_64.rpm slurm-sjstat-14.03.10-1.el6.x86_64.rpm slurm-sql-14.03.10-1.el6.x86_64.rpm slurm-munge-14.03.10-1.el6.x86_64.rpm slurm-plugins-14.03.10-1.el6.x86_64.rpm slurm-slurmdbd-14.03.10-1.el6.x86_64.rpm slurm-torque-14.03.10-1.el6.x86_64.rpm I then added these RPM files to… Read more »

You (root) are not allowed to access to (crontab) because of pam configuration

I have obviously messed something up with my PAM configuration and received the following error message:

To get around this I amended the file:

And added a line for the root user as follows:

before the final deny line:

PHP Built-In Web Server

LAMP Development just got a little easier with PHP version 5.4 and the in-built PHP web server. To test a PHP application we can now navigate to the directory on the filesytem:

Then run the PHP Web Server:

In a web browser enter the location http://localhost:8000 to see your web application. The image… Read more »

Install Logtail on CentOS

I had a munin plugin script that uses the logtail program. Logtail comes with the ‘logcheck’ package – available in the EPEL repository. To install it make sure you have the EPEL repository installed. If not (for CentOS 6):

With the EPEL repository installed, install logcheck:

Logtail is installed to:

Set Default Theme in phpMyAdmin on CentOS


I have installed phpMyAdmin on CentOS 6 via the EPEL repository using:

I was asked to set the default theme from the new jazzy one to the traditional one. To do so I edited the phpMyAdmin config file. On CentOS this was at /etc/phpMyAdmin/ but on other installations it may be under /usr/share/phpMyAdmin

Read more »

Load Testing FTP with JMeter

I needed to test a ProFTP server to ensure that it could cope with 200 simultaneous users. The relevant lines in /etc/proftpd.conf to control this are:

I followed the excellent instructions here for creating a Test Plan for FTP. I wanted to use hundreds of unique users and it is painfully slow adding users… Read more »

Getting Started PhoneGap/Cordova on Linux

I was following the guide How to Install PhoneGap in Ubuntu  and I am regurgitating that advice here with my own changes: Install PhoneGap and Pre-requisites

  Download Android SDK Download the Android sdk from, put it somewhere sensible and unpack it. I downloaded the ADT and unzipped it within my home folder :… Read more »

DigiCert Certificate Inspector on CentOS 6

DigiCert Certificate Inspector

Installation on CentOS Download the 64-bit RPM:

Install the package:

Register the Agent You will need your DigiCert credentials to register the agent:

Scan an Server

  Amend the Apache SSL Configuration for POODLE Vulnerability In the file used to configure SSL for Apache ( usually /etc/httpd/conf.d/ssl.conf ) find the section… Read more »