Export/Import Mysql Database

Export a database mysql # mysqldump -u -p username database_name > dbname.sql Plesk Server # mysqldump -u admin -p`cat /etc/psa/.psa.shadow` wordpress_database > domain_backup_7.16.14.sql To export a single table from your database you would use the following command: # mysqldump -p –user=username database_name tableName > tableName.sql Import a database or tableRead 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