Mysql replication help us in keeping the data replicated to one or more sites reliably with binary logs. Apart from good amount of advantages Mysql replication doesn’t help with data corruption, since the corrupted data is replicated in all slaves. It is good to have periodic backup of database apart from replication.
(more…)
Sender Policy Framework (SPF) is actually an e-mail validation system designed to prevent e-mail spam by addressing a common susceptibility to get attacked.
The main design intent of the SPF record is to allow a receiving MTA (Message Transfer Agent) to ask the nameserver of the domain which appears in the email (sender) and check if the originating IP of the mail (source) is authorized to send mail for the sender’s domain. The mail sender is required to publish an SPF but the sending MTA is unchanged.
(more…)
1. format the present disk
#fdisk -l
represent all the present HD and the mount partitions on each.
Here you can now check the HD you want to have the partition and then
2. create partition
#fdisk /dev/sd<a,b,c>
select the HD that you want to create the partition and then create the partition you want or delete the unwanted ones by following the options listed there. You can create new ones with desired size too and write and quit.
(more…)
A core file records memmory image of running process.when a php process is killed, apache creates core files under your account.These core files takes too much of space on server.There is no harm on deleting these files.You cabn get rid off these core files by modifiying the httpd start up file.
Vi /etc/init.d/httpd
Search for ulimit lines ex:
ulimit -n 1024
ulimit -n 4096
ulimit -n 8192
ulimit -n 16384
Please add ulimit -c 0 to the end.So its looks like
ulimit -n 16384
ulimit -c 0
Save the changes and restart apache service.
In certain occasion’s server’s main IP may get black listed due to some reasons. In this we can change the exim outgoing IP, instead of the blacklisted one.
Please follow simple steps below;
1 : Stop exim.
2 : Open exim configuration [/etc/exim.conf] file with vi/vim.
3 : Search ‘remote_smtp’ section below TRANSPORTS CONFIGURATION.
4 : Delete or comment out line containing ‘interface’ and ‘helo_data’ and add the new ‘interface’ with the new IP address.
(more…)