Archive › Tecnici

How to Read /var/log/btmp, Rotate the btmp Log With Logrotate

The btmp log keeps track of failed login attempts. I have seen on a default linux setup with logrotate configured where the btmp log is left out of rotation and eventually grows out of hand. So first you want to make sure that the btmp log is rotated using logrotate with the below information. Log [...]

Commenti disabilitati

plesk 10 package ugradable with yum

php = yes mysql = yes apache = yes sqlite = not tested spamassassin = not tested basically any one suggested by atomicorp.com repo.. Make sure your installing the repo as outlined wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh Once you have the repo installed run: #yum check-update | grep atomic and you should see: [...]

Commenti disabilitati

To upgrade to PHP & Mysql on plesk 10

To Upgrade to Mysql 5.1 on plesk 10 Steps 3 and 4 only apply if you are upgrading from MySQL 5.0.x Step 1) Set up the atomic channel: wget -q -O – http://www.atomicorp.com/installers/atomic | sh Step 2) Upgrade to Mysql 5.1 yum upgrade mysql Step 3) MySQL 5.1 removed the BERKLEY storage engine. Since it [...]

Commenti disabilitati

useful command for plesk maintenace

here some useful command  for plesk maintenance get ftp user password mysql -uadmin -p` cat /etc/psa/.psa.shadow` -Dpsa -e”SELECT login AS FTP_USER,password AS FTP_PASS,home AS DOMAIN_ROOT,accounts.id,sys_users.account_id FROM accounts, sys_users WHERE accounts.id=sys_users.account_id;” get email user password mysql -uadmin -p` cat /etc/psa/.psa.shadow` -Dpsa -e”select mail_name,name,password from mail left join domains on mail.dom_id = domains.id inner join accounts where [...]

Commenti disabilitati