
Linux
文章平均质量分 64
pwtitle
这个作者很懒,什么都没留下…
展开
-
Squid做反向加速,配合DNS轮询实现简单负载均衡典型配置
编译squid的时候最少要加上 --disable-internal-dns编译选项,否则将不能使用。[root@it800 /]# more /usr/local/squid/etc/squid.confhttp_port 192.168.33.10:800icp_port 0hierarchy_stoplist cgi-bin ?acl QUERY urlpath_regex cgi-b原创 2004-10-09 09:57:00 · 1652 阅读 · 0 评论 -
Linux下使用libreoffice把doc转换成Pdf
先安装libreoffice,然后使用命令soffice --headless --invisible --convert-to pdf /tmp/abc.docx --outdir /tmp/转换成PDF,几乎所有人都遇到root@panda-dev:~/bin $ soffice --headless --convert-to txt:text blah.doc/us原创 2016-06-15 19:28:15 · 19662 阅读 · 1 评论