|
||||||||||
|
|
Installing ImageMagick on a cPanel ServerJanuary 28, 2010 on 9:20 pm | In Cpanel | No CommentsMake sure that Imagemagick is not installed via Easyapache3. If you already have ImageMagick installed via rpm, you need to remove it. Find the rpms using the following command.
Remove the rpms in the following order
Download the ImageMagick using the following
Installation
This may take a while to complete. Finally,
Add PHP Pecl extension to access ImageMagick via PHP Login to WHM, WHM > Software > Module Installers > PHP Pecl install imagick ImageMagick should be installed now. If WHM can’t find the ImageMagic installation Firstly install ImageMagick-devel
Once that is done, you need to download the Imagick PHP extensions from: http://pecl.php.net/package/imagick
find the php.ini using the command
add the following line to php.ini
restart Apache and you are done. How to change Mysql database directory to another partition in cPanel. /var patition fullJanuary 7, 2010 on 1:09 pm | In Centos, Cpanel, Linux, Mysql | No CommentsHi guys, you might have faced the issue of /var partition gettting full regularly due to database directory. If you have a larger partition with free space, then it is possible to move the database directory to the larger partition. Here are the steps Switch off the database server while we are moving the databases.
I am considering that I have enough space in /home partition. Here goes my new database data directory as /home/mysql Now it is better to copy the database first, rather than move.
We are copying the database to the new location since it is better to revert back the settings with minimum downtime, if anything goes wrong. move to /tmp
Take a backup of /etc/my.cnf Now edit /etc/my.cnf
If the socket file is specified, comment it out. Now move to /var/lib/mysql and create a symblink
(Please note that you don’t specify the socket file location in my.cnf since it causes issues with phpMyadmin) For, cPanel server, edit the phpMyadmin configuration
add the following lines. If they already exist, edit as below.
Now start the database server.
If it starts fine, you are done. Check the database connections of your site. Suggestions, questions are welcome. |
![]() Powered and designed by Presoon.com. |