Using wildcard subdomains in Plesk
Plesk,In some situations, you may want to have domain.com as well as *.domain.com point to the same site in Plesk. Plesk will automatically set up hosting for domain.com and www.domain.com within the Apache configuration, but you can direct all subdomains for a particular domain to a certain virtual host fairly easily. DNS Configuration: Add a…
Read moreHow to enable more than 4GB RAM support on Linux 32bit servers?
Linux General,# uname -r 2.6.18-8.1.3.el5 # yum info kernel-PAE Available Packages Name : kernel-PAE Summary: The Linux kernel compiled for PAE capable machines. Description: This package includes a version of the Linux kernel with support for up to 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE). The non-PAE kernel can only…
Read moreFFMPEG Installation
Linux General,FFMPEG and it’s related modules Installation through Script: Details:All FFmpeg packages are installed from source except codecs. The main dependency for installing ffmpeg is: yum Ffmpeg installation will only work on redhat and suse (requires yum) distributions. FFmpeg installation will work in cpanel and plesk servers.How to run:Wget the above script to /usr/src…
Read morePlesk DBWebadmin(PHPMyAdmin) Error
Plesk,Plesk – DBWebAdmin Error:Get the following error when try to use PHPMyAdmin in the Parallels Panel: “#1045 – Access denied for user ‘pma_xxxxxxx’@’localhost’ (using password: YES)” APPLIES TO:* Plesk 8.x for Linux/Unix CauseThe problem is caused by mismatch between user login credentials stored in phpMyAdmin configuration and database.Using instructions below you may repair the configuration.…
Read morePlesk Fatal exception error and Fix
Plesk,Plesk Fatal Exception Error: Unable to create or delete domains under Plesk panel. Failed domain creation: Unable to update domain data: dnsmng::remove() failed: dnsmng failed: dnsmng: Unable to open DNS config file: Permission denied System error 13: Permission denied 0: /usr/local/psa/admin/htdocs/domains/create_domain.php:150 Fix: 1. Disable the selinux. vi /etc/sysconfig/selinux SELINUX=disabled SELINUXTYPE=targeted SETLOCALDEFS=0 2. Improper permission of…
Read moreLinux Tips & Tricks
Linux General,TIP 1: NTP Is NTP Working? STEP 1 (Test the current server): Try issuing the following command: $ ntpq -pn remote refid st t when poll reach delay offset jitter =================================================== tock.usno.navy 0.0.0.0 16 u – 64 0 0.000 0.000 4000.00 The above is an example of a problem. Compare it to a working configuration.…
Read moreOpenVZ Installation On CentOS 5
Virtualization,OpenVZ Installation On CentOS 5 OpenVZ is the open-source branch of Virtuozzo, a commercial virtualization solution used by many providers that offer virtual servers. In order to install OpenVZ, Follow the below steps, First Step , we need to add the OpenVZ repository to yum cd /etc/yum.repos.d.wget http://download.openvz.org/openvz.reporpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ The repository contains a few…
Read moreAdding modsecurity rule for domain
Linux General,Add the below rule in the .htaccess file. SecRuleEngine Off This will work only if you have old version of mod_security installed on the server. You cannot disable mod_security2 using .htaccess, the only way to bypass mod_security2 in Apache 2 is to manually edit httpd.conf. Create a directory with the username and the domain name,…
Read moreMysql Queries in Linux
Linux General,How to resolve mysql_connect() Error Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘username’@’localhost’ (using password: YES) Possible root cause for this problem is proper privilege not assigned to the particular user. So providing proper privileges will solve this issue. $grant all privileges on “Database_Name” to “username@localhost” identified by “password” If the mysql resides in the…
Read moreSolusVM Master Installation
Virtualization,SolusVM Solus Virtual Manager (SolusVM) is a powerful GUI based VPS management system with full OpenVZ, Xen Paravirtualization and Xen HVM support. SolusVM allows you and your clients to manage a VPS cluster with security & ease. Requirements SolusVM requires the following specification:CentOS 5+ based linux operating systemAt least one external IP addressOpenVZ – Ensure…
Read more
