-
Disk Analyzer tool to check disk usage
If you’re facing issues with the default system utilities checking for disk usage, then there is a nicetool to check the disk usage i.e. NCDU (NCurses Disk Usage). You just need to install it at once and thenyou can simply run the command as ‘ncdu’ at any directory and it’ll show the disk space used […]
-
Allowing specific users for SSH logins
Open the /etc/ssh/sshd_config file Add an AllowUsers line at the bottom of the file and write the name of the user for whom you want to allow SSH Allow Users user1 user2 user3 Now only user1, user2 and user3 can login though SSH. ]]>
-
Enabling custom ports for access to the Linux server via SSH
Making SSH (secure shell) access to the server easily available is not a good idea. For this, we should turn firewall access to the server off on the default port 22 and provide access only to a known IP address. However, this is not always possible. One other way to secure access to the server […]
-
How we can update AWStats manually (Unix server)
1. Go to the Unix server.2. cd /hsphere/shared/awstats/wwwroot/cgi-bin3. Run the command for updating the domain (perl awstats.pl -config=userdomain.com -update)[It will be like /hsphere/shared/awstats/wwwroot/cgi-bin/perl awstats.pl-config=userdomain.com -update] Note: First disable and enable AWStats before manually updating it, or it will create the required files with wrong permissions and automated updates won’t work. Also check the permission of […]
-
Problem attaching a file in an email message?
Please keep the points below in mind:- >> The file size should not be large.>> Check if lots of programs are running.>> Check if the connection speeds are slow. ]]>
-
Monitoring the real-time logs on the server
Sometimes we need to check out the logs or we can say real-time logs occurring on the server for a particular service. For example: to check the logs for a website or for mail or for a database but at the same time when you’re using that service on your end locally or remotely. So […]
-
Disabling ping for the Linux server in order to stop a network/ICMP flood
There are times when a hacker sends ICMP messages in a huge quantity due to which the network gets completely jammed and the server is not accessible over the network. This scenario is commonly known as an ICMP flood. In such cases, to stop such an ICMP flood we should first stop the ping for […]
-
Fixing mail errors related to the MIME type
If you are getting a MIME-type related error while sending email from Yahoo to a JodoHost hosted domain, then you need to allow such a MIME type for the domain. Error message:- Remote host said: 554 sorry, the text/html mime type of the message is in the list of denied for delivering (#5.6.0) [BODY] Solution:- […]
-
Steps to change the mailbox password in the H-Sphere control panel without knowing the old password
Please follow the steps below:- 1) Please login to your H-Sphere control panel.2) Select Mail Info >> Mail Manager.3) Select “Domain” from the dropdown menu and then click on “Go”.4) Search for the desired mailbox and then click on it.5) On the next page, write the new password and then confirm the password in the […]
-
MySQL is running but the PID file cannot be found?
Sometimes when we try to stop the mysqld service on the server we get the error below :- MySQL is running but PID file could not be found [Failed] There are several reasons why one may get this error. No pid file may be present in the path “/var/run/mysql/” due to which this would happen. […]