How to get better results with ImageMagick and convert

How to get better results with ImageMagick and convert

In last two days I’m trying to find best way to convert PDF files to good quality JPEG files. Of course size does matter, not only in case of women breasts. When I was trying to convert files directly from PDF to JPEG results was pretty scary: convert myfile.pdf[1] dc.jpg number 1 in brackets means only one(second) page to process. As I result I get file with pretty huge size: 496.
Drupal and lighttpd mod_rewrite settings

Drupal and lighttpd mod_rewrite settings

Lighttpd is awesome and very fast webserver. But has one big disadvantage – is not reading apache .htaccess files with rewrite settings. Unfortunatley you need to create them manually in config file. How? Examples are below:

Posftix Permission denied problem

Posftix Permission denied problem

Recently I stuck with WordPress installation which was unable to send emails using build in wp_mail function. After investigation tail -f /var/log/messages I founded a pleasant line of code with really nice explanation: sendmail: fatal: chdir /var/spool/postfix: Permission denied In theory this should be a problem for sysadmin, but – I wanted to find faster solution. After short adventure with Google I found a clue: /usr/sbin/getsebool httpd_can_sendmail My result was obvious: