Author Archive

20 Aug 2015

Sed Command for CentOS/RHEL

sed, short for “stream editor”, used for modifying the files in unix (or linux). At whatever point you need to change the file automatically, sed proves to be useful to do this. You can do numerous things
19 Aug 2015

Keep logs of user after sudo su

After executing “sudo su -” or “su – ” user will get access as root, And Generally Its difficult to track which command is executed by user in log format. This tutorial/Commands help you to keep log/watch
19 Aug 2015

phpMyAdmin “Cannot start session without errors”

Sometimes phpMyAdmin is not accessible and gives the error message “Can’t start session without error”. This can be because of either a client sided issue, or a server-sided issue. From client side issue with cookies and from
18 Aug 2015

Convert a putty ppk file to a pem file

Recently, I am working on the AWS project, so I have to access AWS EC2 instance. ppk file was provided me to connect it, But I have to connect it with Linux machine so I required pem
9 Aug 2015

How to configure Master-Slave MySQL Replication on CentOS/RHEL 5/6/7

MySQL replication is a procedure that permits you to easily keep up multiple copies of a MySQL data by having them replicated consequently from an master to a slave database. This can helpful for some reasons including
31 Jul 2015

How to Check Memory Usage on CentOS/RHEL

Linux has different set of commands to check the usage of memory. The free command shows the total amount of free and used physical and swap memory in the system, as well as the buffers used by
30 Jul 2015

No space left on CentOS/RHEL Server

Sometime you Can’t write to the hard disk on a Linux or Unix-like systems? or in other words we can say that we face issue “No space left on device”, although partition was not nearly full. So
29 Jul 2015

PHP mail function

This PHP mail function script has the ability to send a plain text email message. There are much better and more advanced PHP scripts on the Internet, but I hope this example will help you to understand,
27 Jul 2015

How to install xCache on CentOS/RHEL 5/6/7

XCache is a quick, stable PHP opcode cacher. This generally new opcode caching software has been produced by mOo. XCache optimizes performance caching the compiled state of PHP scripts into the RAM and uses the compiled version
24 Jul 2015

Send email using PHP Script with Gmail SMTP Authentication

All the programming languages provides functions for sending emails. PHP also provides mail() function to send emails. You can use the PHP mail() function to send an email with PHP. The simplest way to do this is