How to install and setup SVN on cPanel server

    Subversion (SVN) is an open source version control system. It helps you keep track of a collection of files and folders. Any time you change, add or delete a file or folder that you manage with Subversion, you commit these changes to your Subversion repository, which creates a new revision in your repository reflecting these changes. You can always go back, look at and get the contents of previous revisions.

This article will help you for step by step setup SVN server on a cPanel/WHM server.

Prerequisite

1. sqlite3 php module
2. Apache mod_dav module.

Installing php sqlite3 module

Run the following command in the server terminal

#php -m | grep sqlite

If the module is installed already, it will return

sqlite3

If the module is not enabled, run easyapache to enable the module Continue reading…

Fix spamming in cpanel exim server

Spam is most often considered to be electronic junk mail or junk newsgroup postings. It may be defined even more generally as any unsolicited email.

Generally, spamming can happen in three ways.

1. By hacking an email account which has a simple password, which is easy to guess.

2. By uploading script on the server which send out mails at regular intervals.

3. Via forum or newsletters scripts which are sending mass emails.

A fix to a spamming issue means :

* Block the IP address if it is an incoming spamming.(Make use of iptables or csf, apf)

* Change the password, disable mailing list and scripts or even suspend the account, if it is an outgoing spamming. Continue reading…

Samba Server setup and cifs mount

Samba is a free software re-implementation of the SMB/CIFS networking protocol.We need to setup and configure samba server where the drive to share or mount is located.

Samba Server uses the following port no. :
137/tcp
137/udp
138/tcp
138/udp
139/udp
139/udp
445/tcp
445/udp

Daemon name : smb and nmb Samba services are implemented as two daemons: smbd, which provides the file and printer sharing services, and nmbd, which provides the NetBIOS-to-IP-address name service. NetBIOS over TCP/IP requires some method for mapping NetBIOS computer names to the IP addresses of a TCP/IP network. Continue reading…