摘要: 很多时候,服务器都没有连接外部互联网的条件,需要利用代理服务器才能够访问外网资源进行软件包的升级: ubuntu修改apt-get的代理可以使用代理进行安装包的升级:ubuntu@ubuntu:~$ cat /etc/apt/apt.conf Acquire::http::Proxy http://Username:Password@proxy.foo.bar.edu.au:8080; 网易... 阅读全文
posted @ 2018-05-08 14:39 justinzhang 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: 使用git clone下载protobuf的源代码,然后git checkout到branch2.7.0: 编译protobuf,先在代码顶层目录执行./configure,然后执行make,成功后执行sudo ldconfig,重新加载动态库。 经过试验发现,使用protoc编译onnx.proto,需要特别注意版本问题,使用3.5.1的版本,编译都会失败,而且中途会有提示gcc版本... 阅读全文
posted @ 2018-05-08 11:30 justinzhang 阅读(1804) 评论(0) 推荐(0) 编辑