January 28th, 2012 |
Today while trying to run yum update for one of our server we got the following error. yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.bytemark.co.uk * atomic: www5.atomicorp.com * base: mirror.sov.uk.goscomb.net * extras: mirror.sov.uk.goscomb.net * updates: mirror.sov.uk.goscomb.net http://www4.atomicorp.com/channels/plesk/9.0/centos/5/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Solution: To fix this [...]
January 28th, 2012 |
What is .htaccess and how to disable .htaccess? .htaccess is use to modify the way Apache behaves for a directory and it’s sub-directories. It gives you an extra control on your server, like setting up custom error messages, password protect a directory, writing rewrite rules, blocking IPs etc. However, it can be a potentially dangerous [...]
January 27th, 2012 |
So login with SSH and enter as root. We need to make sure the correct lib directories are setup in ldconfig. Edit the /etc/ld.so.conf file and add the following lines. After you save it, run the command ldconfig /usr/local/lib /usr/lib Compiler install Because in many cases no compiler or maybe other incompatbile compiler is installed, [...]
January 27th, 2012 |
How to view core.xx files in Linux? The core.xxx files are created on Linux servers and holds the current state of a process working memory when a process is crashed. To view the core.xx files in Linux, execute the command: root@host [~]# strings core.xxx It will list different state of a process on each line. [...]
January 27th, 2012 |
How to make a .vcf file down loadable? Problem: If you link a .vcf file on a page, it shows as a text file instead of asking for a download. Solution: In order to make the .vcf file download-able, you need to add the AddTye directive in the .htaccess file as follows: AddType text/x-vcard .vcf [...]
January 26th, 2012 |
How to check the Linux Server Uptime? There are different ways to check the uptime of the Linux server like using the “top” OR the “uptime” OR the “w” command. Following are some of them: root@host [~]# top c top – 15:50:20 up 2 days, 11:32, 1 user, load average: 0.00, 0.00, 0.00 root@host [~]# [...]
January 26th, 2012 |
If your .php files are prompting for download on browsing, make sure PHP is compiled with Apache and you have following lines in your Apache configuration file AddHandler application/x-httpd-php .php .html You can also add the above line in your .htaccess file of the domain. Incoming search terms:php file is asking to download (1)
January 25th, 2012 |
How to disable root login and create an alternate SSH user? In order to disable root access on your server, you need to create an alternate SSH user who have privileges to gain root access else you will be locked out of the system. First, create a user say ‘admin’ # useradd admin Set a [...]
January 25th, 2012 |
You can perform a full backup of your account/domain from cPanel >> “Backups” option under the Files section. The full cPanel backup is very useful when migrating an account from one server to another. 1) Login to cPanel at http://yourdomainname.tld:2082 click the “Backups” option as shown in the screen below 2) On the next screen, [...]
January 24th, 2012 |
The e-mail address postmaster@mydomain.com deleted successfully. Sorry, you do not have access to the domain mydomain.com The error message is displayed when you delete an email account of a domain from cPanel >> ‘Email Accounts’ that is either shifted under another users account OR usually happens when a domain is swapped from add-on domain to [...]