Archive for December 23rd, 2011

Disable IPV6 on linux server.

For security reason its always better tio disable IPV6 on Linus server, as IPV6 traffic is not filter by server firewall. Refer following steps to disable IPV6. Login in to server as root user and open networking file. root@server[~]#pico /etc/sysconfig/network Add following two lines in the end of network file. NETWORKING_IPV6=no IPV6INIT=no save network file  […]

How to check server 32 or 64 bit?

Its very common issue, every new techie not sure about server bit at that time simply run following command to get bit information. getconf LONG_BIT  

Three steps to mount remote directory on Linux Server

We can mount the remote directory on the Linux Server by using the following three simple commands only. Login in to the server as a root user and run the commands one by one and make sure that you are using your own remote server ip instead of our test server ip198.168.0.2 yum install fuse-sshfs […]

/scripts/fixquotas gives error “edquota: Quota file not found or has wrong format”?

After running /scripts/fixquotas it gives following error message and showing unlimited disk space in WHM >> Main >> List account. root@server [/]# /scripts/fixquotas –force Installing Default Quota Databases……Done Linux Quota Support Quotas are now on Resetting quota for user23 to 1000 M edquota: Quota file not found or has wrong format. No filesystems with quota […]

How to add nameservers from shell.

Most of the time on cPanel dedicated server we add nameservers from WHM but some time we are not able to access WHM. In that case we can add nameservers from shell by using root login details. Login in to server as root user and run following commands. root@server[~]#/scripts/adddns –domain ns1.your_domain.com –ip=111.222.222.1 root@server[~]#/scripts/adddns –domain ns2.your_domain.com […]

Install GIT on cPanel server.

We can install the GIT on the cPanel server by using the yum. Login in to the server as root user and run the following command. yum –disableexcludes=main install git -y