Html-generated images, html-generated growth Weibo, web-generated images, and web-generated growth Weibo

Source: Internet
Author: User
For more functions of html generation and growth microblog, visit www.dahuzhi.com to install Extension: (1) The following is my installation process on linux. If git is not installed, install casperjscdgitclonegit in yuminstallgit first: github. comn1k0casperjs. gitcdcasperjsln-sfcasperjsbincasperjs

Html generated image, html growth microblogging more functions please visit: http://www.dahuzhi.com installation Extension: (1) Below is my installation process on linux, if git is not installed, install casperjs cd/gitclonegit: // github.com/n1k0/casperjs.git cdcasperjs ln-sf/casperjs/bin/casperjs/

Html generates images, html generates growth Weibo
For more features visit: http://www.dahuzhi.com

Installation extension:
(1) The following is the installation process on linux. If git is not installed, run yum install git first.
Install casperjs
Cd/
Git clone git: // github.com/n1k0/casperjs.git
Cd casperjs
Ln-sf/casperjs/bin/casperjs/usr/local/bin/casperjs // you can ignore the actual execution in which php is executed/casperjs/bin/casperjs


(2) install phantomjs,: http://phantomjs.org/download.html
After the download, the operation is very simple. simply move the decompressed \ bin \ phantomjs to \ usr \ local \ bin \ phantomjs. \
Test phantomjs -- if there is a result of version, no error is reported. The installation is OK.

(3) install fonts
1. first obtain a set of "" library (Google click), which contains two files: msyh. ttf (common) and msyhbd. ttf (BOLD );
2. Create a sub-directory under the/usr/share/fonts directory, for example, win. The command is as follows:
# Mkdir/usr/share/fonts/win
3. Copy msyh. ttf and msyhbd. ttf to this directory. For example, if the two files are stored in/root/Desktop, run the following command:
# Cd/root/Desktop
# Cp msyh. ttf msyhbd. ttf/usr/share/fonts/win/
4. Create a font index to update the font cache:
# Cd/usr/share/fonts/win
# Mkfontscale (if mkfontscale: command not found is prompted, you must install it yourself # yum install mkfontscale)
# Mkfontdir
# Fc-cache (if fc-cache: command not found is prompted, install # yum install fontconfig)
Now, the font has been installed! CasperJS linux-ntfs PHP
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.