Advertisement
iRacer

Untitled

Nov 12th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.33 KB | None | 0 0
  1. pi@raspberrypi:~ $ cd tempiture
  2. pi@raspberrypi:~/tempiture $ chmod +x ./setup.sh
  3. pi@raspberrypi:~/tempiture $ sudo ./setup.sh
  4.  
  5. ## Installing the NodeSource Node.js 6.x LTS Boron repo...
  6.  
  7.  
  8. ## Populating apt-get cache...
  9.  
  10. + apt-get update
  11. Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB]
  12. Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
  13. Hit:4 https://deb.nodesource.com/node_6.x stretch InRelease
  14. Hit:3 https://packagecloud.io/Hypriot/Schatzkiste/debian jessie InRelease
  15. Fetched 15.0 kB in 3s (4,737 B/s)
  16. Reading package lists... Done
  17.  
  18. ## Confirming "stretch" is supported...
  19.  
  20. + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dists/stretch/Release'
  21.  
  22. ## Adding the NodeSource signing key to your keyring...
  23.  
  24. + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
  25. OK
  26.  
  27. ## Creating apt sources list file for the NodeSource Node.js 6.x LTS Boron repo...
  28.  
  29. + echo 'deb https://deb.nodesource.com/node_6.x stretch main' > /etc/apt/sources.list.d/nodesource.list
  30. + echo 'deb-src https://deb.nodesource.com/node_6.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
  31.  
  32. ## Running `apt-get update` for you...
  33.  
  34. + apt-get update
  35. Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
  36. Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
  37. Hit:3 https://deb.nodesource.com/node_6.x stretch InRelease
  38. Hit:4 https://packagecloud.io/Hypriot/Schatzkiste/debian jessie InRelease
  39. Reading package lists... Done
  40.  
  41. ## Run `sudo apt-get install -y nodejs` to install Node.js 6.x LTS Boron and npm
  42. ## You may also need development tools to build native addons:
  43. sudo apt-get install gcc g++ make
  44. ## To install the Yarn package manager, run:
  45. curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  46. echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  47. sudo apt-get update && sudo apt-get install yarn
  48.  
  49.  
  50. Reading package lists... Done
  51. Building dependency tree
  52. Reading state information... Done
  53. nodejs is already the newest version (8.11.1~dfsg-2~bpo9+1).
  54. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
  55. Reading package lists... Done
  56. Building dependency tree
  57. Reading state information... Done
  58. jq is already the newest version (1.5+dfsg-1.3).
  59. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
  60. Reading package lists... Done
  61. Building dependency tree
  62. Reading state information... Done
  63. python-pip is already the newest version (9.0.1-2+rpt2).
  64. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
  65. Collecting docker-compose
  66. Using cached https://files.pythonhosted.org/packages/dd/e6/1521d1dfd9c0da1d1863b18e592d91c3df222e55f258b9876fa1e59bc4b5/docker_compose-1.24.1-py2.py3-none-any.whl
  67. Collecting docker[ssh]<4.0,>=3.7.0 (from docker-compose)
  68. Using cached https://files.pythonhosted.org/packages/09/da/7cc7ecdcd01145e9924a8ccbe9c1baf3a362fc75d4cb150676eb5231ea60/docker-3.7.3-py2.py3-none-any.whl
  69. Requirement already satisfied: backports.ssl-match-hostname>=3.5; python_version < "3.5" in /usr/local/lib/python2.7/dist-packages (from docker-compose)
  70. Requirement already satisfied: websocket-client<1.0,>=0.32.0 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
  71. Requirement already satisfied: ipaddress>=1.0.16; python_version < "3.3" in /usr/lib/python2.7/dist-packages (from docker-compose)
  72. Collecting PyYAML<4.3,>=3.10 (from docker-compose)
  73. Collecting dockerpty<0.5,>=0.4.1 (from docker-compose)
  74. Exception:
  75. Traceback (most recent call last):
  76. File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
  77. status = self.run(options, args)
  78. File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
  79. wb.build(autobuilding=True)
  80. File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
  81. self.requirement_set.prepare_files(self.finder)
  82. File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
  83. ignore_dependencies=self.ignore_dependencies))
  84. File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
  85. require_hashes
  86. File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link
  87. self.link = finder.find_requirement(self, upgrade)
  88. File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
  89. all_candidates = self.find_all_candidates(req.name)
  90. File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
  91. for page in self._get_pages(url_locations, project_name):
  92. File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
  93. page = self._get_page(location)
  94. File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
  95. return HTMLPage.get_page(link, session=self.session)
  96. File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
  97. "Cache-Control": "max-age=600",
  98. File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
  99. return self.request('GET', url, **kwargs)
  100. File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
  101. return super(PipSession, self).request(method, url, *args, **kwargs)
  102. File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
  103. resp = self.send(prep, **send_kwargs)
  104. File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
  105. r = adapter.send(request, **kwargs)
  106. File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
  107. resp = super(CacheControlAdapter, self).send(request, **kw)
  108. File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
  109. timeout=timeout
  110. File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
  111. _stacktrace=sys.exc_info()[2])
  112. File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
  113. total -= 1
  114. TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
  115. OK
  116. deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main
  117. Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
  118. Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
  119. Hit:3 https://deb.nodesource.com/node_6.x stretch InRelease
  120. Hit:4 https://packagecloud.io/Hypriot/Schatzkiste/debian jessie InRelease
  121. Reading package lists... Done
  122. Reading package lists... Done
  123. Building dependency tree
  124. Reading state information... Done
  125. docker-hypriot is already the newest version (1.11.1-1).
  126. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded.
  127. Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
  128. Executing: /lib/systemd/systemd-sysv-install enable docker
  129. ./setup.sh: line 33: npm: command not found
  130. sudo: npm: command not found
  131. curl: (6) Could not resolve host: tempiture.local
  132. curl: (6) Could not resolve host: tempiture.local
  133. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  134. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  135. % Total % Received % Xferd Average Speed Time Time Time Current
  136. Dload Upload Total Spent Left Speed
  137. 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0curl: (6) Could not resolve host: tempiture.local
  138. curl: (6) Could not resolve host: tempiture.local
  139. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  140. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  141. sudo: pm2: command not found
  142. sudo: pm2: command not found
  143. env: ‘/usr/lib/node_modules/pm2/bin/pm2’: No such file or directory
  144. ********************************************************************************
  145. ********************************************************************************
  146.  
  147. The setup has completed. You should change the admin password for your Grafana
  148. instance by logging in to http://localhost:3000/login and then choosing Menu ->
  149. Admin -> Global Users -> admin -> edit.
  150.  
  151. ********************************************************************************
  152. ********************************************************************************
  153. pi@raspberrypi:~/tempiture $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement