Export/Import Mysql Database

Export a database mysql Plesk Server To export a single table from your database you would use the following command: Import a database or table # mysql -p -u username database_name < file.sql [/bash] For Plesk server [bash] # mysql -u admin -p`cat /etc/psa/.psa.shadow` database < /tmp/database.sql [/bash] To import a single table into an ... Read more

Check disk IO

To check disk IO: dd bs=1M count=512 if=/dev/zero of=test conv=fdatasync 512+0 records in 512+0 records out 536870912 bytes (537 MB) copied, 5.57475 s, 96.3 MB/s

Helo incorrect?

There’s a test available at http://cbl.abuseat.org/helocheck.html that will show you how the server is actually HELOing. For Qmail: # cat /var/qmail/control/me mail.fromthepavilion.org

Cron Job not working in Plesk Domain

Check you cron job. Make sure the path are okay. This is likely due to Plesk using a chrooted environment. The user that is executing the script doesn’t have access to PHP. You have a few options: 1. Add PHP to the user’s chroot – http://kb.sp.parallels.com/en/115842 2. Disable the chrooted environment entirely – http://blog.blums.eu/2013/01/25/parallels-plesk-panel-11-non-chrooted-cronjobs 3. … Read more

Puppet CentOS 6 install

Source: http://www.how2centos.com/centos-6-puppet-install/ Install the Puppet Repository # rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-7.noarch.rpm Install the EPEL x86_64 YUM Repository # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Install the Puppet Master packages # yum install puppet-server Install the Puppet Client packages # yum install puppet See more – HERE See Puppet install http://docs.puppetlabs.com/guides/install_puppet/install_el.html