, , , ,

Install and Setup FreeRADIUS on CentOS 5/6 and Ubuntu 11.10

 A simple tutorial to setup and configure FreeRADIUS on CentOS 5/6 and Ubuntu 11.10.Just follow the instructions below to have your FreeRADIUS setup ready to go when used along with our WHMCS module, we have distinguished the difference between CentOS commands and Ubuntu commands:CentOS 5:yum install freeradius2 freeradius2-mysql freeradius2-utils mysql-server -yCentOS 6:yum...
Continue reading Install and Setup FreeRADIUS on CentOS 5/6 and Ubuntu 11.10
, ,

Install FTP service on CentOS 6 – vsftpd

 The first two letters of vsftpd stand for "very secure" and the program was built to have strongest protection against possible FTP vulnerabilities. Install vsftpdUpdate our packages with the following command:  yum -y updateInstall vsftpd and any required packages with one of the following commands:sudo yum install vsftpdInstall the FTP client, so that we can connect...
Continue reading Install FTP service on CentOS 6 – vsftpd

Get time difference between two times in PHP using DateTime class

 Today in this post, we are going to see how to calculate and then get the time difference between two times in PHP.You may notice on social media network like Facebook shows a post published “1 hour ago” or “2 minutes ago” or something like that. In that case, also, it is actually calculating the time difference. now I am going to see the easiest way of getting the time difference in PHP.Let’s...
Continue reading Get time difference between two times in PHP using DateTime class
,

How to fix yum after CentOS 6 went EOL

 If for whatever reason, you are stuck with the now EOL version of the CentOS operating system, you can no longer run yum upgrade successfully. Running yum upgrade in CentOS 6 will yield the following results:Setting up Upgrade ProcessYumRepo Error: All mirror URLs are not using ftp, http[s] or file.Eg. Invalid release/repo/arch combination/removing mirrorlist...
Continue reading How to fix yum after CentOS 6 went EOL