admin管理员组

文章数量:1536095

1.安装VirtualBox 和 Vagrant

安装virtualbox官网下载地址:https://www.virtualbox一路next就可以了

安装vagrant从官网:http://www.vagrantup,选择安装路径一路next就可以了

2.使用Vagrant

下载vbox 下载地址:https://oss-binaries.phusionpassenger/vagrant/boxes/latest/ubuntu-14.04-amd64-vbox.box

拷贝到一个目录,我这边是D:\Vagrant\ubuntu-14.04-amd64

开启cmd,进入D:\Vagrant\ubuntu-14.04-amd64

cd /d D:\Vagrant\ubuntu-14.04-amd64

启动虚拟机

vagrant box add base ubuntu-14.04-amd64-vbox.box

vagrant init

vagrant up

3.登陆虚拟机,安装docker

我使用putty登陆,账号密码默认都是vagrant,地址就用上面提示的127.0.0.1:2222

sudo apt-get update
sudo apt-get install lxc-docker

4.安装paddle

sudo docker pull paddledev/paddle:cpu-demo-latest

sudo docker run -it  paddledev/paddle:cpu-demo-latest

5.测试paddle

paddle version

可以看到下面结果:

PaddlePaddle 0.8.0b, compiled with
    with_avx: ON
    with_gpu: OFF
    with_double: OFF
    with_python: ON
    with_rdma: OFF
    with_glog: ON
    with_gflags: ON
    with_metric_learning: 
    with_timer: OFF
    with_predict_sdk: 


本文标签: 系统Paddle