{"id":423,"date":"2017-05-17T21:02:26","date_gmt":"2017-05-17T13:02:26","guid":{"rendered":"http:\/\/blogs.woria.cn\/?p=423"},"modified":"2017-05-17T21:02:26","modified_gmt":"2017-05-17T13:02:26","slug":"shell-python-%e4%ba%8c%e7%bb%b4%e7%a0%81-%e7%ad%94%e9%a2%98%e5%8d%a1-%e6%99%ba%e8%83%bd%e8%af%86%e5%88%ab%e7%ad%94%e9%a2%98%e5%8d%a1%ef%bc%81","status":"publish","type":"post","link":"https:\/\/blogs.woria.cn\/?p=423","title":{"rendered":"shell python \u4e8c\u7ef4\u7801 \u7b54\u9898\u5361 \u667a\u80fd\u8bc6\u522b\u7b54\u9898\u5361\uff01"},"content":{"rendered":"<p>\u55ef\u3002<br \/>\n\u4f60\u611f\u5174\u8da3\u7684\u90fd\u5728\u8fd9\u91cc\u3002<\/p>\n<p>\u9996\u5148\u6211\u4eec\u5148\u5b89\u88c5\u4e00\u4e9b\u5fc5\u5907\u7ec4\u4ef6\uff01<br \/>\nyum install python-devel<br \/>\nyum install libjpeg libjpeg-devel zlib zlib-devel freetype freetype-devel lcms lcms-devel<br \/>\nyum install python-imaging<br \/>\nyum install nginx mariadb* lighttpd-fastcgi php-cli php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy php-common php-devel php-fpm php php-mysqli<\/p>\n<p>yum install ImageMagick ImageMagick-devel gcc<br \/>\n\u7ed9php\u88c5\u4e0aImageMagick<br \/>\npecl install imagick<\/p>\n<p>\u7136\u540e\u6211\u4eec\u9700\u8981\u4f7f\u7528zbar<br \/>\n\u5b89\u88c5zbar<br \/>\nyum install zbar zbar-devel<\/p>\n<p>\u4e0b\u8f7d\u6e90\u7801\u53bb\u4ed6\u4eec\u5bb6\u7f51\u7ad9\u4e0a\u627e\u6700\u65b0\u7684<br \/>\nhttps:\/\/pypi.python.org\/simple\/zbar\/<br \/>\n\u4e0b\u8f7d\u4e4b\u540e\u89e3\u538b\u3002\u8fdb\u5165\u5b89\u88c5 .\/setup.py install<\/p>\n<p>\u597d\u4e86\u3002\u4e0a\u8fb9\u8fd9\u4e9b\u7ec4\u4ef6\u90fd\u662f\u7528\u6765\u89e3\u6790\u56fe\u50cf\uff0c\u4e8c\u7ef4\u7801\u7684\u3002\u5982\u679czbar\u65e0\u6cd5\u5b89\u88c5\u90a3\u662f\u8f6f\u4ef6\u4ed3\u5e93\u4e0d\u5b8c\u7f8e\u7684\u4e8b\u60c5\u3002\u6ce8\u610f\u5bfc\u5165\u4e09\u65b9\u8f6f\u4ef6\u5e93<br \/>\nhttp:\/\/dl.fedoraproject.org\/pub\/epel\/<br \/>\n\u627e\u9002\u5408\u4f60\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\u3002<br \/>\n\u7136\u540e\uff0crpm -ivh<br \/>\n\u7136\u540e\u8bb0\u5f97\u542f\u7528\uff0c\u9ed8\u8ba4\u662f\u4e0d\u542f\u7528\u7684\u3002<br \/>\nyum \u2013enablerepo=epel -y install htop pbzip2<br \/>\n\u6216\u8005vim \/etc\/yum.repos.d\/epel \u628a0\u6539\u62101<\/p>\n<p>\u81f3\u6b64\u7ec4\u4ef6\u90e8\u5206\u5df2\u7ecf\u641e\u5b9a\u4e86\u3002<br \/>\n\u6211\u4eec\u5f00\u59cb\u8fdb\u884c\u56fe\u7247\u8bc6\u522b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u55ef\u3002 \u4f60\u611f\u5174\u8da3\u7684\u90fd\u5728\u8fd9\u91cc\u3002 \u9996\u5148\u6211\u4eec\u5148\u5b89\u88c5\u4e00\u4e9b\u5fc5\u5907\u7ec4\u4ef6\uff01 yum install python-devel y&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,8,9,4,5],"tags":[],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-technique","category-master","category-programmer","category-windtalker","category-magician"],"_links":{"self":[{"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=423"}],"version-history":[{"count":0,"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=\/wp\/v2\/posts\/423\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.woria.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}