Prettyscripts

Fedora: How to disable SELinux

SELinux stands for security-enhanced Linux. It’s probably too secured and caused a lot of file errors. Here’s how to disable SELinux in Fedora Core 10. It’s probably more or less the same for previous versions or other linux platforms. To disable selinux at command prompt, run:

PHP: Image manipulation

The GD image library provide functions to manipulate image files. On some installations, this does not come as default and needs to be installed. On fedora, the command is yum install php-gd On ubuntu, the command is sudo apt-get install php5-gd

MediaWiki: Blank page after install

After installing the lastest version of MediaWiki (V1.12.0), a blank page is displayed when accessing the site. PHP error log shows: PHP Fatal error: Class ‘DOMDocument’ not found in /path/to/wiki/includes/Preprocessor_DOM.php on line 566, referer: http://path/to/wiki/config/index.php Previous versions didn’t have this problem. This was installed on Fedora Core 5 server. After some researches, I found that you…

Continue Reading »