LVM Formatting the new Disk Suppose the Disk is /dev/sdb, the second scsi disk,fdisk /dev/sdb create as many partitions as you need using command n Label them with command t as 8e for making it Linux LVM Write and Exit with the command w. Format the partitions you require using… Continue Reading LVM – How to configure LVM in the server

Postfix is free and powerful MTA. You can easily configure Postfix to block spam. You need to addfollowing directives to /etc/postfix/main.cf file: => disable_vrfy_command = yes : Disable the SMTP VRFY command. This stops some techniques used to harvest email addresses. => smtpd_delay_reject = yes It allows Postfix to log… Continue Reading Post fix Hardening – configure postfix with anti spam blacklisting.

In many VPS containers we can see that the disk space will be 90% free but still you will get a error message disk quota exceeded. This issue happens mostly in VPS servers. root@server [~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda3 263G 212G 38G 86% //dev/sda1 433M 31M… Continue Reading VPS inode value increase – How to increase Inode value in VPS

If you cannot login to Horde of any mail account of the domain with right password and username, then please check the following: =====1. Check the domain entry(domain.com)  in the file “/etc/userdomains”.2. If the domain entry(domain.com) is missing manually add the domain in this file.3. Now try logging in to… Continue Reading Horde mail issue

CDP returns error when creating backup of a server: Error: ——————————————–not enough data in sum file to read BlockSum.——————————————– Cause: This error generally means the file system or volume has been resized. Resolution: You will have to create a new Disk Safe. Steps to create new disk safe:—————————— 1. CDP… Continue Reading R1soft Error : “not enough data in sum file to read BlockSum”

You can set the audit policy as follows. =====1. “Start -> Run”.2. Type ‘gpedit.msc’ (without the quotes). 3. Navigate to “Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Audit Policies -> Audit logon events”.4. Highlight and right-click and select properties.5. Configure as… Continue Reading RDP logs

Login to the server and get into the “public_html” folder of the server.Then execute the following commands : > vi wp-config.php See what is the database used by the wordpress and quit that “:q!”. > mysql> use “database”; ( database = name of the database )> show tables;> desc wp_users;>… Continue Reading Steps to reset the wordpress admin login in database

We can send mail via telnet using the following steps. 1. Telnet to hostname on port 25.   220 (then identifies itself – possibly with several lines of 220 + text) 2. HELO your_domain_name or whatever    250 (followed by human readable message) 3. MAIL FROM:you@hostname.com (ie, your email address)   … Continue Reading Sending mail via telnet

How to open a port in Windows Firewall? 1. Click start button2. Click control panel3. Type ‘Firewall’ in the search tab4. Click “windows firewall”5. In left Panel click “Advance Settings” (If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.)6. “Windows Firewall with Advanced Security”… Continue Reading Opening a port in Windows Firewall

Problem: Got the following error while sending mail using php scripts. ——————————————————————————–T=remote_smtp defer (-1): smtp transport process returned non-zero status 0x000b:terminated by signal 11——————————————————————————– Then you can fix the issue by editing your /etc/exim.conf, and changing the following code: ———————-remote_smtp:  driver = smtp———————- To be, ———————-remote_smtp:  driver = smtp  hosts_avoid_tls=*———————-… Continue Reading Error while sending mail using PHP scripts