Archives
Category Archive
for: ‘Linux Tricks’

Spam Protection: Alert when there are spammers sending email from your server

For a few recent days we experienced that someone hacked into one of our accounts and use it to send spam massively. We immediately change that account (and all others)’ password and apply higher security protection. But to be sure that we know if any problems sooner (before the server is blacklisted by Google mail, …

Read More

Nginx on a VPS – user trick

As we know, Nginx is faster than Apache to serve static files. Recently CodeAndMore installs nginx as its default however we met difficulty with “nginx” user, which is different than WHM – Apache – PHP user. Difficult to backup by Cpanel, harder to upload files via SFTP etc… Until we found that it is possible …

Read More

Upgrade php to 5.3.x – ffmpeg

When we tried to upgrade Plesk PHP to 5.3.x ffmpeg-php does not work so we have to upgrade that as well. Procedure is: login as root mkdir /src cd /src wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fffmpeg-php%2Ffiles%2Fffmpeg-php%2F0.6.0%2F&ts=1313398332&use_mirror=ncu tar -xjf ffmpeg-php-0.6.0.tbz2 cd ffmpeg-php-0.6.0 OK so we have ffmpeg 0.6.0 (latest, and it was very long time ago since its last commit), …

Read More