Mar 20

Migrate from Plesk 10 to Plesk 12

Main problem for migrating from Plesk 10 to Plesk 12 is absence of “Clone Plans” option in Plesk 10. The only thing that one can do is to recreate Service Plans on new server by hand.
Because of that i have wrote MySQL procedure that will migrate Service Plans directly. Procedure does work for me and i cannot guarantee that it will do the job for you, not in it’s entirety. Please, leave a comment and i will implement additional functionality.

Continue reading

Jul 15

Centos 6: audio streams crackling during playback

For quite some time I was trying to find out why I wasn’t able to listen audio streams in vlc, rhythmbox or any other player while i was able to listen those same streams on owner’s web page by using their flash based stream player. After listening for few minutes playback would completely stop with error “Unable to play stream” or something similar.

Finally, I’ve found out why. This particular behavior was caused by faad2 decoder available on RpmForge repo. RpmForge repo faad2 is compiled with drm (–with-drm) that is causing these problems. I am providing few easy steps that will help you recompile faad2, create rpms and reinstall it in order to get rid of this annoying problem.

Continue reading

Jun 19

Centos 6: Replace gnome-screensaver with xscreensaver

Centos 6 comes with gnome-screensaver by default. Also, VLC media player that you can find on rpmforge repo is 1.1.13. VLC has an option “Disable screensaver”. If you check that option VLC will try to disable screensaver while movie is played. But, unfortunately, that option is not working if you are using gnome-screensaver. So, I decided to give xscreensaver a go. You can find a lot of articles on the internet where authors are explaining how to do that. But, i couldn’t find any how to that explains how to make global changes to system making me able to make a switch transparently, without users even noticing a change.

Continue reading

Jun 04

Using vpnc instead of Cisco vpn client or kvpnc

Windows users are able to use Cisco VPN Client to establish VPN tunnel. On linux there is a kvpnc that can be used to achieve the same thing. But, for me, command line is much more simpler than kvpnc setup. I am able to establish VPN tunnel much faster that way. Also, i don’t even need graphical environment to do that. So, what needs to be done? I will give you Centos 6 example. I don’t think there is a big difference with other ditributions.

Continue reading