sudo apt-get install xvfbsudo apt-get install wkhtmltopdf验证:wkhtmltopdf http://www.baidu.com baidu.pdf