Its a good practice to enable email alerts in your keepalived configuration. By using this keepalived service will always inform users whenever server switches from master to slave or slave to master for each VRRP instance. Below steps will help you to how to enable email alerts in Keepalived. Steps to enable email alerts:...
HTTPD (Hypertext Transfer Protocal Deamon) is a web server widely used with CentOS and Redhat Linux.It serves the webpages on clients requests. It is developed by Apache foundation. HTTPD is very easy in install and configure. Installing httpd using yum. # yum install httpd Default httpd basic configuration are as following. Configuration file: /etc/httpd/conf/httpd.conf...
This tutorial will help you to under the Sticky bit, SUID and SGID file permissions under Linux system. What is Sticky Bit? The sticky bit is used to indicate special permissions for files and directories. If a directory with sticky bit enabled will restrict deletion of the file inside it. It can be removed...
A shell is a command line interpreter. Its a special program which takes input from standard input devices, convert it to machine language and send to OS. After processing by OS, send result back to shell. Shell again translate it to human readable format and send results to output devices. Linux Shells: Bash Shell...
Ext3 and Ext4 filesystem includes support of ACLs on files and directories. ACL provides more control permissions on file than standard three access categories (owner, group and other ). Using ACL you can provide permission to specific user or group to file. Before working on ACL make sure that ACL is enabled on mounted...
A Linux consider everything a file including hardware devices, printers, directories, and processes. Any text, music, video, image or any multimedia file is considered a regular file. All the regular file contains metadata about the file which describe everything about the file like, type, Inode etc. An inode is an entry in Inode table,...
How to Create MySQL User and Grant Permission. For the good security implementation, make sure to create separate user account rather than root to access database for each application. This will ensure that application can’t access other application’s database. You need MySQL administrator (root) privileges To create user accounts and assign privileges to the...
Postfix is fast and popular SMTP server widely used. The main job of postfix is to relay mail locally or to the intended destination outside the network. Some of the most popular SMTP servers are Sendmail, Postfix, and Qmail. By default, Sendmail comes pre-installed with CentOS/RHEL 5. We will need to remove it and...
Links or Symbolic links are a special type of file that contains a reference to another file or directory. In a simple word, A single file or directory accessible from two or more locations. There are two types of symbolic links can be created, Soft Link and Hard Link. Difference Between Soft Links and...
Some times we required to secure a single url or few specific urls in our site, and all other site url keep remain with public access. This is very easy to manage with are using directory and file structure in sites. But some of framework like cakephp work on routing structure which is different...