I wanted to automatically deploy a web project when any updates are pushed to the gitlab repository. To do so I added a 'Web Hook'. The Web Hook calls a URL in response to 'push' events. I created a PHP page to be called by the Web Hook: So in... » More
To check the size and amount of Huge Pages use: grep -i Hugepage /proc/meminfo This should so something like: HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: ... » More
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... » More
I have obviously messed something up with my PAM configuration and received the following error message: # crontab -l Permission denied You (root) are not allowed to access to (crontab) because of pam configuration. To get around this I amended the... » More
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: cd ~/websites/whatever.com/httpdocs Then run the PHP Web Server: php... » More
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): rpm -ivh... » More
I have installed phpMyAdmin on CentOS 6 via the EPEL repository using: yum install phpMyAdmin 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... » More
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: MaxInstances 30 MaxClientsPerHost 20 "Only %m connections per host... » More
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 sudo apt-get install default-jre default-jdk ant sudo apt-get install npm sudo npm update... » More