2013年5月3日

摘要: Ubuntu下安装nginx 和uwsgisudo apt-get install nginxUbuntu安装之后的文件结构大致为:所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下程序文件在/usr/sbin/nginx日志放在了/var/log/nginx中并已经在/etc/init.d/下创建了启动脚本nginx默认的虚拟主机的目录设置在了/var/www/nginx-default启动nginxsudo /etc/init.d/nginx start然后就可以访问了,http://localhost/ , 一切正 阅读全文
posted @ 2013-05-03 17:42 珺之 阅读(136) 评论(0) 推荐(0)
 
摘要: 1、第一步先下载boost库libboost-all-dev.2、获取 mosesgit clone git://github.com/moses-smt/mosesdecoder.git3.进入moses文件cd ~/mosesdecoder./bjam --help./bjam -j4我是四核的。你们看着办官网上说的有很多种。不过听Max先生说KenLM是最新的比较好。所以改用最新的了现在。Language modelsIn addition to KenLM and ORLM (which are always compiled):--with-irstlm=/path/to/irstl 阅读全文
posted @ 2013-05-03 17:06 珺之 阅读(766) 评论(0) 推荐(0)