1
|
$ NAME=delete-me-$RANDOM; gcloud compute instances create $NAME --image=/ubuntu-os-cloud/ubuntu-1404-trusty-v20150316 --machine-type n1-standard-1
|
2
|
Created [https://www.googleapis.com/compute/v1/projects/curoverse/zones/us-central1-a/instances/delete-me-32540].
|
3
|
NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
|
4
|
delete-me-32540 us-central1-a n1-standard-1 xx.xxx.xxx.xx xxx.xxx.xx.xxx RUNNING
|
5
|
$ gcloud compute ssh $NAME
|
6
|
Warning: Permanently added 'xxx.xxx.xx.xxx' (ECDSA) to the list of known hosts.
|
7
|
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-31-generic x86_64)
|
8
|
(...)
|
9
|
ncesar@delete-me-32540:~$ wget -qO- https://get.docker.com/ | sh
|
10
|
apparmor is enabled in the kernel and apparmor utils were already installed
|
11
|
/sbin/apparmor_parser
|
12
|
+ [ https://get.docker.com/ = https://get.docker.com/ ]
|
13
|
(...)
|
14
|
|
15
|
ncesar@delete-me-32540:~$ \curl -sSL get.arvados.org | sudo bash
|
16
|
|
17
|
If necessary, this command will download the latest Arvados docker images.
|
18
|
The download can take a long time, depending on the speed of your internet connection.
|
19
|
When the images are downloaded, it will then start an Arvados environment on this computer.
|
20
|
(...)
|
21
|
|
22
|
******************************************************************
|
23
|
To access Arvados you must add the Arvados nameserver to the top
|
24
|
of your DNS configuration in /etc/resolv.conf:
|
25
|
nameserver 172.17.42.1
|
26
|
|
27
|
Then run './arvdock start' again
|
28
|
******************************************************************
|
29
|
|
30
|
To stop the containers, run
|
31
|
|
32
|
./arvdock stop
|
33
|
|
34
|
ncesar@delete-me-32540:~$ sudo vi /etc/resolv.conf
|
35
|
ncesar@delete-me-32540:~$ cat /etc/resolv.conf
|
36
|
nameserver 172.17.42.1
|
37
|
nameserver 169.254.169.254
|
38
|
nameserver 10.240.0.1
|
39
|
ncesar@delete-me-32540:~$ sudo ./arvdock start
|
40
|
sudo: unable to resolve host delete-me-32540
|
41
|
bridge=docker0
|
42
|
start_api=false
|
43
|
start_compute=false
|
44
|
start_doc=false
|
45
|
start_keep=false
|
46
|
start_keepproxy=false
|
47
|
start_nameserver=false
|
48
|
start_sso=false
|
49
|
start_vm=false
|
50
|
start_workbench=false
|
51
|
You have a running container with name api_server -- skipping.
|
52
|
You have a running container with name compute0 -- skipping.
|
53
|
You have a running container with name compute1 -- skipping.
|
54
|
You have a running container with name keep_server_0 -- skipping.
|
55
|
You have a running container with name keep_server_1 -- skipping.
|
56
|
You have a running container with name keepproxy_server -- skipping.
|
57
|
You have a running container with name doc_server -- skipping.
|
58
|
You have a running container with name shell -- skipping.
|
59
|
You have a running container with name workbench_server -- skipping.
|
60
|
|
61
|
******************************************************************
|
62
|
You can access the Arvados documentation at http://doc.dev.arvados
|
63
|
******************************************************************
|
64
|
|
65
|
|
66
|
********************************************************************
|
67
|
You can access the Arvados workbench at http://workbench.dev.arvados
|
68
|
********************************************************************
|
69
|
|
70
|
ncesar@delete-me-32540:~$ w3m http://127.0.0.1:9899 ## works..
|
71
|
ncesar@delete-me-32540:~$ sudo docker exec api_server supervisorctl status
|
72
|
sudo: unable to resolve host delete-me-32540
|
73
|
cron EXITED May 22 06:32 PM
|
74
|
crunch-dispatch RUNNING pid 1746, uptime 0:05:27
|
75
|
munge EXITED May 22 06:32 PM
|
76
|
passenger RUNNING pid 9, uptime 0:07:18
|
77
|
postgres RUNNING pid 10, uptime 0:07:18
|
78
|
setup EXITED May 22 06:34 PM
|
79
|
setup-gitolite EXITED May 22 06:33 PM
|
80
|
slurm EXITED May 22 06:32 PM
|
81
|
ssh EXITED May 22 06:32 PM
|
82
|
|
83
|
|