The imagick.so PHP module can’t currently be installed via PECL, due to it’s inability to write to /var/tmp. To get around that, you can install it manual:

# yum install ImageM* netpbm gd gd-* libjpeg libexif gcc coreutils make
# cd /usr/local/src
# wget http://pecl.php.net/get/imagick
# tar zxvf ./imagick-3.1.0RC1.tgz
# cd imagick-3.1.0RC1
# phpize
# ./configure
# make
# make test
# make install

This will compile imagick.so, and move it to your extensions directory specified in php.ini. Now you’ll need to add extension for imagick to php.ini:

extension=imagick.so

and restart apache with following command:

#service httpd restart

Be Sociable, Share!

    At grub-boot loader screen. Select Recovery mode the version of the kernel that you wish to boot and type e for edit. Select the line that starts with kernel and type e to edit the line.

    Go to the end of the line and type init=/bin/bash as a separate one word (press the spacebar and then type init=/bin/bash). Press enter key to exit edit mode.

    Back at the GRUB screen, type b to boot into single user mode. This causes the system to boot the kernel and run /bin/bash instead of its standard init. This will allow us gain root privileges without password.

    If you wanna reset root password remount partitions

    # mount -n -o remount,rw /

    # mount -avt nonfs,noproc,nosmbfs

    # cd /etc

    #passwd
    Changing password for user root.
    New UNIX password:
    Retype new UNIX password:

    Now, you will get following messages. It means that password for root user has been updated.

    passwd: all authentication tokens updated successfully.

    At last, reboot the server and you are done.

    Be Sociable, Share!

      100% Customer Satisfaction