How to zip directory in linux explained with examples
|

How to zip directory in linux explained with examples

Zip is command in linux is used for compressing files and directory.In this post we will learn how to zip the directory or folder in linux. To compress directory use the below given format zip -r give-file-name.zip Directory-name example: root@tuxworld:/opt# ls -ld teamviewer8/ drwxr-xr-x 6 root root 4096 Oct 2 08:43 teamviewer8/ root@tuxworld:/opt# zip -r…

Forward all incoming emails to other SMTP server or gateway
|

Forward all incoming emails to other SMTP server or gateway

In this post we will learn how to forward all emails of particular domain to another SMTP server or gateway. I also used this method in different scenario. Scenario: I have my own mail server which can host multiple virtual domains and users (postfix+mysql). Now a client has domain called example.com and for mailing he…

How to install pam_mysql in CentOS or Red Hat

How to install pam_mysql in CentOS or Red Hat

How to install pam_mysql in CentOS or Red Hat While working on some mysql authentication.I required pam_mysql. In CentOS 6.4 I found it was not available even in CentOS 5 it was not also. Again same method is applied. Download the EPEL repo. Step 1: Install latest EPEL Repo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm Step 2: Now…