BIP KB Tag: Files

How To Change Permissions For Files And Directories

chmod This command changes the permission of a file. To change the permissions of all files and directories in the public_html/ folder use the following command: cd /home/username/public_html ; find . -type f | xargs chmod 644 ; find . -type d | xargs chmod 755 For more information about chmod command use man chmod....
By jason, April 6, 2015


How To Use A Keytab

A keytab is a file containing pairs of Kerberos principals and encrypted keys (these are derived from the Kerberos password). You can use this file to log into Kerberos without being prompted for a password. The most common personal use of these files is to allow scripts to authenticate to Kerberos without human interaction, or store a password in a plaintext file. The acquired credentials can then be used by the script to gain access...
By jessica, May 11, 2015


How To Set Up Logrotate on RedHat Linux

  1. Introduction Logrotate is a utility designed for administrators who manage servers producing a high volume of log files to help them save some disk space as well as to avoid a potential risk making a system unresponsive due to the lack of disk space. Normally, a solution to avoid this kind of problem is to setup a separate partition or logical volume for a /var mount point. However, it may also be a viable solution to this prob...
By jack, June 24, 2015


How to Update CodeIgniter 2.x to 3.x

Update CodeIgniter.. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications. 1: Overwrite SDK files You need the updated CodeIgniter files from the system/ directory. To do so, you can't simply copy/paste the folder. You will need to remove it (it would be a good idea to first do a backup just in case) and then ...
By bruno01, February 4, 2016