Author: Alice

SET HOSTNAME

hostname – Changing server host name Before starting ensure that your desired hostname is resolving to the server . Steps in changing the hostname on a plain Red Hat Enterprise Linux server are: 1....

HTTPD ERRORS AND TROUBLESHOOTING

(1) Address already in use: make_sock: could not bind to address – Apache – HTTPD Error While restarting httpd service, getting below error root@srv [/tmp]# service httpd start[warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts(98)Address already...

forbidden for newly created account

Getting below error for newly created account through WHM If the accounts are created, but when it comes to the confirmation message appears this error : *********************************ERROR**********************“Setting up Frontpage ® …/ home / username...

CPanel: adding a range of IPs using WHM

You can add a range of IPs in Cpanel/WHM .This can be easily done using the WHM interface: Go to IP Functions/Add a New IP Address. Here you can choose the “Ip(s) to add”...

Make clone site

=============================================================HOW TO COPY WEBSITE FROM http://abc.com to abc1.com with database==============================================================Open two shells ( one with abc.com and other abc1.com ) then copy public_html of abc.com to abc1.com go to public_html folder of abc.com and...

APF

What is APF (Advanced Policy Firewall)? APF FirewallAPF is a policy based iptables firewall system designed for ease of use and configuration. It employs a subset of features to satisfy the veteran Linux user...

change the ssh port

It is advisable to change your ssh port from defaul 22 to something higher to lower your chances of brute force attacks Below are the steps to change the ssh port. 1. Update /etc/ssh/sshd_config...

How to Empty Logfiles

=====================================Run Following Commands to empty exim and apache logs====================================echo > /var/log/exim_mainlogecho > /var/log/exim_rejectlogecho > /var/log/maillogecho > /var/log/messagesecho > /var/log/messages.1echo > /var/log/messages.2echo > /var/log/messages.3echo > /var/log/messages.4echo > /var/log/lastlogecho > /var/log/maillogecho > /var/log/maillog.1echo > /var/log/maillog.2echo >...

Scan viruses and Trojans

———————————————Scan viruses and Trojans on cpanel server ———————————————Search For Trojans in /dev /scripts/finddev Locate Trojan Horses /scripts/findtrojans Suggest Usage /scripts/findtrojans > /var/log/trojans /scripts/fixtrojans /var/log/trojans——————————————— Install ClamAV in Centos with Cpanel——————————————–Installing antivirus is most important...

Optimization WordPress Plugins & Solutions by W3 EDGE