From the Blog

Mysql Queries in Linux

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

Continue Reading

Plesk VPS Migration for plesk 9 series

1. Upload migration agent and modules to the source server. For example for Parallels Plesk Panel, there are two folders: “/usr/local/psa/PMM/agents/shared” and “/usr/local/psa/PMM/agents/PleskX”. Use the command below to copy the Migration Manager: destination ~# scp -r /usr/local/psa/PMM/agents/shared/* /usr/local/psa/PMM/agents/PleskX/* root@source:temporary_migration_directory/ 2. Login to source server and change to directory /temporary_migration_directory. Run migration agent (PleskX.pl) with parameter […]

Continue Reading

PRTG Network Monitor

PRTG Network Monitor runs 24/7 on a Windows-based machine within your network, recording network usage parameters. Recorded data is stored in a database for historic reports. The easy to use web-based user interface allows to configure the devices and sensors that you want to monitor. You can create usage reports and provide colleagues and customers […]

Continue Reading

Extract the contents of an RPM

Using rpm2cpio command, the contents of an RPM package can be extracted without having to install the package. For source RPMs too this command can be used. This is illustrated with an example as follows, where we extract the contents of RPM, google-chrome-beta_current_i386.rpm. $ rpm2cpio google-chrome-beta_current_i386.rpm | cpio -idv ./etc/cron.daily ./etc/cron.daily/google-chrome ./opt/google/chrome ./opt/google/chrome/chrome ./opt/google/chrome/chrome-sandbox ./opt/google/chrome/chrome.pak […]

Continue Reading