WHM/CPANEL: Setting up ImageMagick on a dedicated server
CHECK IF ITS INSTALLED FIRST:from root ssh /scripts/checkimagemagick
INSTALLATION/scripts/installimagemagick Installation will take a couple minutes as it will install other packages needed by ImageMagick. After the installation, check that it is installed again and it should state the version. /usr/bin/convert –version It will give you something like: Version: ImageMagick 6.4.8, etc
Imagick Go to WHM -> Software -> Module Installers -> PHP Pecl (manage). On the box below “Install a PHP Pecl” enter “imagick” and click “Install Now” button – that’s all.
如何使用苹果电脑在U盘刻录系统盘
打开终端,运行下面的命令 diskutil list 插入U盘 运行下面的命令 (e.g. /dev/disk2) diskutil list 运行下面的命令,该处的diskN是你的U盘 diskutil unmountDisk /dev/diskN 进行刻录命令(需要输入密码) sudo dd if=/path-to.iso
How to add Itemid for search results page
By default Joomla! Search results are shown on the Home Page template. It is possible to change this by adding a hidden field to the search module.
Within your homepage template folder create a new directory called “html” and then “mod_search”.
Copy the “default.php” file from /modules/mod_search/tmpl/ into your newly created “mod_search” folder under your template folder.
Open this file at near the bottom just before the end of the form, replace: <input type="hidden" name="limitstart" value="0" /> <input type="hidden" name="option" value="com_virtuemart" /> <input type="hidden" name="view" value="category" /> to: <input type="hidden" name="limitstart" value="0" /> <input type="hidden" name="option" value="com_virtuemart" /> <input type="hidden" name="view" value="category" /> <input type="hidden" name="Itemid" value="48" />