Post by admin

Plesk yum update shows: [Errno 14] HTTP Error 404: Not Found

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 [...]

What is .htaccess and how to disable .htaccess?

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 [...]

HOW-TO install ffmpeg, Mplayer, mencoder,FLVtool2 and Yamdi on Plesk Linux based server

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, [...]

How to read core.xxx files in linux

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. [...]

Vcards and mime types

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 [...]

Linux Server Uptime

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 [~]# [...]

PHP pages asking for download

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)

Howto: Disable root login on a server?

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 [...]

How to generate a full backup of an account/domain from cPanel?

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, [...]

Unable to delete an email account from cPanel

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 [...]