root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u https://android.googlesource.com/platform/manifest -b android-7.0.0_r1
.repo/manifests/: discarding commits Your identity is: Gitzhongzh <blueheart@google.com>
If you want to change this, please re-run 'repo init' with --config-name repo has been initialized in /root/AndroidCode
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.177]: errno=拒绝连接 fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.177]: errno=拒绝连接 fatal: cannot obtain manifest git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: cannot obtain manifest git://aosp.tuna.tsinghua.edu.cn/android/platform/manifest
root@zhongzhenhua-virtual-machine:~/AndroidCode# repo init -u git://aosp.tuna.tsinghua.edu.cn/platform/manifest
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn[: 101.6.6.178]: errno=拒绝连接 fatal: cannot obtain manifest git://aosp.tuna.tsinghua.edu.cn/platform/manifest
root@zhongzhenhua-virtual-machine:~/AndroidCode# mkdir ../WORKING_DIRECTORY
root@zhongzhenhua-virtual-machine:~/AndroidCode# cd ../WORKING_DIRECTORY
root@zhongzhenhua-virtual-machine:~/WORKING_DIRECTORY# repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest
^CTraceback (most recent call last):
File "/usr/bin/repo", line , in <module>
main(sys.argv[:])
File "/usr/bin/repo", line , in main
_Init(args, gitc_init=(cmd == 'gitc-init'))
File "/usr/bin/repo", line , in _Init
_Clone(url, dst, opt.quiet, not opt.no_clone_bundle)
File "/usr/bin/repo", line , in _Clone
if clone_bundle and _DownloadBundle(url, local, quiet):
File "/usr/bin/repo", line , in _DownloadBundle
r = urllib.request.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line , in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line , in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line , in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line , in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line , in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line , in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line , in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line , in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line , in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line , in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line , in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line , in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line , in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line , in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line , in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
root@zhongzhenhua-virtual-machine:~/WORKING_DIRECTORY# wget https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
---- ::-- https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
正在连接 127.0.0.1:... 已连接。
已发出 Proxy 请求,正在等待回应... OK
长度: (35G) [application/octet-stream]
正在保存至: “aosp-latest.tar” aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[> aosp-latest.tar %[ aosp-latest.tar %[> aosp-latest.tar %[ ] 896.30M 484KB/s in 33m 13s -- :: ( KB/s) - 在 / 字节处发生读取错误 (成功)。 重试中。 ---- ::-- (尝试次数: ) https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
正在连接 127.0.0.1:... 已连接。
已发出 Proxy 请求,正在等待回应... Partial Content
长度: (35G),剩余 (34G) [application/octet-stream]
正在保存至: “aosp-latest.tar” aosp-latest.tar %[=> ] .88G 500KB/s in 3h 14m -- :: ( KB/s) - 在 / 字节处发生读取错误 (成功)。 重试中。 ---- ::-- (尝试次数: ) https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar
正在连接 127.0.0.1:... 已连接。
已发出 Proxy 请求,正在等待回应... Partial Content
长度: (35G),剩余 (31G) [application/octet-stream]
正在保存至: “aosp-latest.tar” aosp-latest.tar %[++==> ] .75G 489KB/s in 3h 32m 无法写入 “aosp-latest.tar” (成功)。
root@zhongzhenhua-virtual-machine:~/WORKING_DIRECTORY#

  | |       +-- balanced-match@0.4.2
| | `-- concat-map@0.0.1
| +-- glob@7.1.0
| | +-- fs.realpath@1.0.0
| | +-- minimatch@3.0.3
| | | `-- brace-expansion@1.1.6
| | | +-- balanced-match@0.4.2
| | | `-- concat-map@0.0.1
| | `-- path-is-absolute@1.0.1
| +-- graceful-fs@4.1.9
| +-- has-unicode@2.0.1
| +-- hosted-git-info@2.1.5
| +-- iferr@0.1.5
| +-- imurmurhash@0.1.4
| +-- inflight@1.0.5
| +-- inherits@2.0.3
| +-- ini@1.3.4
| +-- init-package-json@1.9.4
| | +-- glob@6.0.4
| | | +-- minimatch@3.0.3
| | | | `-- brace-expansion@1.1.6
| | | | +-- balanced-match@0.4.2
| | | | `-- concat-map@0.0.1
| | | `-- path-is-absolute@1.0.0
| | `-- promzard@0.3.0
| +-- lockfile@1.0.2
| +-- lodash._baseindexof@3.1.0
| +-- lodash._baseuniq@4.6.0
| | +-- lodash._createset@4.0.3
| | `-- lodash._root@3.0.1
| +-- lodash._bindcallback@3.0.1
| +-- lodash._cacheindexof@3.0.2
| +-- lodash._createcache@3.1.2
| +-- lodash._getnative@3.9.1
| +-- lodash.clonedeep@4.5.0
| +-- lodash.restparam@3.6.1
| +-- lodash.union@4.6.0
| +-- lodash.uniq@4.5.0
| +-- lodash.without@4.4.0
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| +-- node-gyp@3.4.0
| | +-- minimatch@3.0.3
| | | `-- brace-expansion@1.1.6
| | | +-- balanced-match@0.4.2
| | | `-- concat-map@0.0.1
| | +-- npmlog@3.1.2
| | | +-- are-we-there-yet@1.1.2
| | | | `-- delegates@1.0.0
| | | +-- console-control-strings@1.1.0
| | | +-- gauge@2.6.0
| | | | +-- has-color@0.1.7
| | | | +-- object-assign@4.1.0
| | | | +-- signal-exit@3.0.0
| | | | +-- string-width@1.0.2
| | | | | +-- code-point-at@1.0.0
| | | | | | `-- number-is-nan@1.0.0
| | | | | `-- is-fullwidth-code-point@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- wide-align@1.1.0
| | | `-- set-blocking@2.0.0
| | `-- path-array@1.0.1
| | `-- array-index@1.0.0
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | `-- es6-symbol@3.1.0
| | +-- d@0.1.1
| | `-- es5-ext@0.10.12
| | `-- es6-iterator@2.0.0
| +-- nopt@3.0.6
| +-- normalize-git-url@3.0.2
| +-- normalize-package-data@2.3.5
| | `-- is-builtin-module@1.0.0
| | `-- builtin-modules@1.1.1
| +-- npm-cache-filename@1.0.2
| +-- npm-install-checks@3.0.0
| +-- npm-package-arg@4.2.0
| +-- npm-registry-client@7.2.1
| | +-- concat-stream@1.5.2
| | | +-- readable-stream@2.0.6
| | | | +-- core-util-is@1.0.2
| | | | +-- isarray@1.0.0
| | | | +-- process-nextick-args@1.0.7
| | | | +-- string_decoder@0.10.31
| | | | `-- util-deprecate@1.0.2
| | | `-- typedarray@0.0.6
| | +-- npmlog@3.1.2
| | | +-- are-we-there-yet@1.1.2
| | | | `-- delegates@1.0.0
| | | +-- console-control-strings@1.1.0
| | | +-- gauge@2.6.0
| | | | +-- has-color@0.1.7
| | | | +-- object-assign@4.1.0
| | | | +-- signal-exit@3.0.0
| | | | +-- string-width@1.0.2
| | | | | +-- code-point-at@1.0.0
| | | | | | `-- number-is-nan@1.0.0
| | | | | `-- is-fullwidth-code-point@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- wide-align@1.1.0
| | | `-- set-blocking@2.0.0
| | `-- retry@0.10.0
| +-- npm-user-validate@0.1.5
| +-- npmlog@4.0.0
| | +-- are-we-there-yet@1.1.2
| | | `-- delegates@1.0.0
| | +-- console-control-strings@1.1.0
| | +-- gauge@2.6.0
| | | +-- has-color@0.1.7
| | | +-- object-assign@4.1.0
| | | +-- signal-exit@3.0.0
| | | +-- string-width@1.0.2
| | | | +-- code-point-at@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- is-fullwidth-code-point@1.0.0
| | | | `-- number-is-nan@1.0.0
| | | `-- wide-align@1.1.0
| | `-- set-blocking@2.0.0
| +-- once@1.4.0
| +-- opener@1.4.2
| +-- osenv@0.1.3
| | +-- os-homedir@1.0.1
| | `-- os-tmpdir@1.0.1
| +-- path-is-inside@1.0.2
| +-- read@1.0.7
| | `-- mute-stream@0.0.5
| +-- read-cmd-shim@1.0.1
| +-- read-installed@4.0.3
| | `-- util-extend@1.0.3
| +-- read-package-json@2.0.4
| | +-- glob@6.0.4
| | | +-- minimatch@3.0.3
| | | | `-- brace-expansion@1.1.6
| | | | +-- balanced-match@0.4.2
| | | | `-- concat-map@0.0.1
| | | `-- path-is-absolute@1.0.0
| | `-- json-parse-helpfulerror@1.0.3
| | `-- jju@1.3.0
| +-- read-package-tree@5.1.5
| +-- readable-stream@2.1.5
| | +-- buffer-shims@1.0.0
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@1.0.7
| | +-- string_decoder@0.10.31
| | `-- util-deprecate@1.0.2
| +-- readdir-scoped-modules@1.0.2
| +-- realize-package-specifier@3.0.3
| +-- request@2.75.0
| | +-- aws-sign2@0.6.0
| | +-- aws4@1.4.1
| | +-- bl@1.1.2
| | | `-- readable-stream@2.0.6
| | | +-- core-util-is@1.0.2
| | | +-- isarray@1.0.0
| | | +-- process-nextick-args@1.0.7
| | | +-- string_decoder@0.10.31
| | | `-- util-deprecate@1.0.2
| | +-- caseless@0.11.0
| | +-- combined-stream@1.0.5
| | | `-- delayed-stream@1.0.0
| | +-- extend@3.0.0
| | +-- forever-agent@0.6.1
| | +-- form-data@2.0.0
| | | `-- asynckit@0.4.0
| | +-- har-validator@2.0.6
| | | +-- chalk@1.1.3
| | | | +-- ansi-styles@2.2.1
| | | | +-- escape-string-regexp@1.0.5
| | | | +-- has-ansi@2.0.0
| | | | `-- supports-color@2.0.0
| | | +-- commander@2.9.0
| | | | `-- graceful-readlink@1.0.1
| | | +-- is-my-json-valid@2.15.0
| | | | +-- generate-function@2.0.0
| | | | +-- generate-object-property@1.2.0
| | | | | `-- is-property@1.0.2
| | | | +-- jsonpointer@4.0.0
| | | | `-- xtend@4.0.1
| | | `-- pinkie-promise@2.0.1
| | | `-- pinkie@2.0.4
| | +-- hawk@3.1.3
| | | +-- boom@2.10.1
| | | +-- cryptiles@2.0.5
| | | +-- hoek@2.16.3
| | | `-- sntp@1.0.9
| | +-- http-signature@1.1.1
| | | +-- assert-plus@0.2.0
| | | +-- jsprim@1.3.1
| | | | +-- extsprintf@1.0.2
| | | | +-- json-schema@0.2.3
| | | | `-- verror@1.3.6
| | | `-- sshpk@1.10.1
| | | +-- asn1@0.2.3
| | | +-- assert-plus@1.0.0
| | | +-- bcrypt-pbkdf@1.0.0
| | | +-- dashdash@1.14.0
| | | +-- ecc-jsbn@0.1.1
| | | +-- getpass@0.1.6
| | | +-- jodid25519@1.0.2
| | | +-- jsbn@0.1.0
| | | `-- tweetnacl@0.14.3
| | +-- is-typedarray@1.0.0
| | +-- isstream@0.1.2
| | +-- json-stringify-safe@5.0.1
| | +-- mime-types@2.1.12
| | | `-- mime-db@1.24.0
| | +-- node-uuid@1.4.7
| | +-- oauth-sign@0.8.2
| | +-- qs@6.2.1
| | +-- stringstream@0.0.5
| | +-- tough-cookie@2.3.1
| | `-- tunnel-agent@0.4.3
| +-- retry@0.10.0
| +-- rimraf@2.5.4
| +-- semver@5.3.0
| +-- sha@2.0.1
| +-- slide@1.1.6
| +-- sorted-object@2.0.1
| +-- strip-ansi@3.0.1
| +-- tar@2.2.1
| | `-- block-stream@0.0.8
| +-- text-table@0.2.0
| +-- uid-number@0.0.6
| +-- umask@1.1.0
| +-- unique-filename@1.1.0
| | `-- unique-slug@2.0.0
| +-- unpipe@1.0.0
| +-- validate-npm-package-license@3.0.1
| | +-- spdx-correct@1.0.2
| | | `-- spdx-license-ids@1.2.0
| | `-- spdx-expression-parse@1.0.2
| | +-- spdx-exceptions@1.0.4
| | `-- spdx-license-ids@1.2.0
| +-- validate-npm-package-name@2.2.2
| | `-- builtins@0.0.7
| +-- which@1.2.11
| | `-- isexe@1.1.2
| +-- wrappy@1.0.2
| `-- write-file-atomic@1.2.0
+-- only@0.0.2
+-- open@0.0.5
`-- request@2.81.0
+-- aws-sign2@0.6.0
+-- aws4@1.6.0
+-- caseless@0.12.0
+-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- forever-agent@0.6.1
+-- form-data@2.1.4
| `-- asynckit@0.4.0
+-- har-validator@4.2.1
| +-- ajv@4.11.8
| | +-- co@4.6.0
| | `-- json-stable-stringify@1.0.1
| | `-- jsonify@0.0.0
| `-- har-schema@1.0.5
+-- hawk@3.1.3
| +-- boom@2.10.1
| +-- cryptiles@2.0.5
| +-- hoek@2.16.3
| `-- sntp@1.0.9
+-- http-signature@1.1.1
| +-- assert-plus@0.2.0
| +-- jsprim@1.4.1
| | +-- assert-plus@1.0.0
| | +-- extsprintf@1.3.0
| | +-- json-schema@0.2.3
| | `-- verror@1.10.0
| | +-- assert-plus@1.0.0
| | `-- core-util-is@1.0.2
| `-- sshpk@1.13.1
| +-- asn1@0.2.3
| +-- assert-plus@1.0.0
| +-- bcrypt-pbkdf@1.0.1
| +-- dashdash@1.14.1
| | `-- assert-plus@1.0.0
| +-- ecc-jsbn@0.1.1
| +-- getpass@0.1.7
| | `-- assert-plus@1.0.0
| +-- jsbn@0.1.1
| `-- tweetnacl@0.14.5
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.17
| `-- mime-db@1.30.0
+-- oauth-sign@0.8.2
+-- performance-now@0.2.0
+-- qs@6.4.0
+-- safe-buffer@5.1.1
+-- stringstream@0.0.5
+-- tough-cookie@2.3.2
| `-- punycode@1.4.1
+-- tunnel-agent@0.6.0
`-- uuid@3.1.0 C:\Users\zhongzh>
C:\Users\zhongzh>npm install -g npm@2
[ ..............] \ loadRequestedDeps: sill install loadAllDepsIntoIdealTree

C:\Users\zhongzh>npm install -g npm@2
C:\Users\zhongzh\AppData\Roaming\npm\npm -> C:\Users\zhongzh\AppData\Roaming\npm
\node_modules\npm\bin\npm-cli.js
C:\Users\zhongzh\AppData\Roaming\npm
`-- npm@2.15.12
+-- abbrev@1.0.9
+-- ansi@0.3.1
+-- ansi-regex@2.0.0
+-- ansicolors@0.3.2
+-- ansistyles@0.1.3
+-- archy@1.0.0
+-- async-some@1.0.2
+-- block-stream@0.0.9
+-- char-spinner@1.0.1
+-- chmodr@1.0.2
+-- chownr@1.0.1
+-- cmd-shim@2.0.2
+-- columnify@1.5.4
| `-- wcwidth@1.0.0
| `-- defaults@1.0.3
| `-- clone@1.0.2
+-- config-chain@1.1.10
| `-- proto-list@1.2.4
+-- dezalgo@1.0.3
| `-- asap@2.0.3
+-- editor@1.0.0
+-- fs-vacuum@1.2.9
+-- fs-write-stream-atomic@1.0.8
| `-- iferr@0.1.5
+-- fstream@1.0.10
+-- fstream-npm@1.1.1
| `-- fstream-ignore@1.0.5
+-- github-url-from-git@1.4.0
+-- github-url-from-username-repo@1.0.2
+-- glob@7.0.6
| +-- fs.realpath@1.0.0
| `-- path-is-absolute@1.0.0
+-- graceful-fs@4.1.6
+-- hosted-git-info@2.1.5
+-- imurmurhash@0.1.4
+-- inflight@1.0.5
+-- inherits@2.0.3
+-- ini@1.3.4
+-- init-package-json@1.9.4
| +-- glob@6.0.4
| | `-- path-is-absolute@1.0.0
| `-- promzard@0.3.0
+-- lockfile@1.0.1
+-- lru-cache@4.0.1
| +-- pseudomap@1.0.2
| `-- yallist@2.0.0
+-- minimatch@3.0.3
| `-- brace-expansion@1.1.6
| +-- balanced-match@0.4.2
| `-- concat-map@0.0.1
+-- mkdirp@0.5.1
| `-- minimist@0.0.8
+-- node-gyp@3.6.0
| `-- semver@5.3.0
+-- nopt@3.0.6
+-- normalize-git-url@3.0.2
+-- normalize-package-data@2.3.5
| `-- is-builtin-module@1.0.0
| `-- builtin-modules@1.1.0
+-- npm-cache-filename@1.0.2
+-- npm-install-checks@1.0.7
+-- npm-package-arg@4.1.0
+-- npm-registry-client@7.2.1
| +-- concat-stream@1.5.2
| | +-- readable-stream@2.0.6
| | | +-- core-util-is@1.0.2
| | | +-- isarray@1.0.0
| | | +-- process-nextick-args@1.0.7
| | | +-- string_decoder@0.10.31
| | | `-- util-deprecate@1.0.2
| | `-- typedarray@0.0.6
| `-- retry@0.10.0
+-- npm-user-validate@0.1.5
+-- npmlog@2.0.4
| +-- are-we-there-yet@1.1.2
| | `-- delegates@1.0.0
| `-- gauge@1.2.7
| +-- has-unicode@2.0.0
| +-- lodash.pad@4.4.0
| | +-- lodash._baseslice@4.0.0
| | +-- lodash._basetostring@4.12.0
| | `-- lodash.tostring@4.1.4
| +-- lodash.padend@4.5.0
| `-- lodash.padstart@4.5.0
+-- once@1.4.0
+-- opener@1.4.1
+-- osenv@0.1.3
| +-- os-homedir@1.0.0
| `-- os-tmpdir@1.0.1
+-- path-is-inside@1.0.1
+-- read@1.0.7
| `-- mute-stream@0.0.5
+-- read-installed@4.0.3
| +-- debuglog@1.0.1
| +-- readdir-scoped-modules@1.0.2
| `-- util-extend@1.0.1
+-- read-package-json@2.0.4
| +-- glob@6.0.4
| | `-- path-is-absolute@1.0.0
| `-- json-parse-helpfulerror@1.0.3
| `-- jju@1.3.0
+-- readable-stream@2.1.5
| +-- buffer-shims@1.0.0
| +-- core-util-is@1.0.2
| +-- isarray@1.0.0
| +-- process-nextick-args@1.0.7
| +-- string_decoder@0.10.31
| `-- util-deprecate@1.0.2
+-- realize-package-specifier@3.0.1
+-- request@2.74.0
| +-- aws-sign2@0.6.0
| +-- aws4@1.4.1
| +-- bl@1.1.2
| | `-- readable-stream@2.0.6
| | +-- core-util-is@1.0.2
| | +-- isarray@1.0.0
| | +-- process-nextick-args@1.0.7
| | +-- string_decoder@0.10.31
| | `-- util-deprecate@1.0.2
| +-- caseless@0.11.0
| +-- combined-stream@1.0.5
| | `-- delayed-stream@1.0.0
| +-- extend@3.0.0
| +-- forever-agent@0.6.1
| +-- form-data@1.0.0-rc4
| | `-- async@1.5.2
| +-- har-validator@2.0.6
| | +-- chalk@1.1.3
| | | +-- ansi-styles@2.2.1
| | | +-- escape-string-regexp@1.0.5
| | | +-- has-ansi@2.0.0
| | | `-- supports-color@2.0.0
| | +-- commander@2.9.0
| | | `-- graceful-readlink@1.0.1
| | +-- is-my-json-valid@2.13.1
| | | +-- generate-function@2.0.0
| | | +-- generate-object-property@1.2.0
| | | | `-- is-property@1.0.2
| | | +-- jsonpointer@2.0.0
| | | `-- xtend@4.0.1
| | `-- pinkie-promise@2.0.1
| | `-- pinkie@2.0.4
| +-- hawk@3.1.3
| | +-- boom@2.10.1
| | +-- cryptiles@2.0.5
| | +-- hoek@2.16.3
| | `-- sntp@1.0.9
| +-- http-signature@1.1.1
| | +-- assert-plus@0.2.0
| | +-- jsprim@1.3.0
| | | +-- extsprintf@1.0.2
| | | +-- json-schema@0.2.2
| | | `-- verror@1.3.6
| | `-- sshpk@1.9.2
| | +-- asn1@0.2.3
| | +-- assert-plus@1.0.0
| | +-- dashdash@1.14.0
| | +-- ecc-jsbn@0.1.1
| | +-- getpass@0.1.6
| | +-- jodid25519@1.0.2
| | +-- jsbn@0.1.0
| | `-- tweetnacl@0.13.3
| +-- is-typedarray@1.0.0
| +-- isstream@0.1.2
| +-- json-stringify-safe@5.0.1
| +-- mime-types@2.1.11
| | `-- mime-db@1.23.0
| +-- node-uuid@1.4.7
| +-- oauth-sign@0.8.2
| +-- qs@6.2.1
| +-- stringstream@0.0.5
| +-- tough-cookie@2.3.1
| `-- tunnel-agent@0.4.3
+-- retry@0.10.0
+-- rimraf@2.5.4
+-- semver@5.1.0
+-- sha@2.0.1
| `-- readable-stream@2.0.2
| +-- core-util-is@1.0.1
| +-- isarray@0.0.1
| +-- process-nextick-args@1.0.3
| +-- string_decoder@0.10.31
| `-- util-deprecate@1.0.1
+-- slide@1.1.6
+-- sorted-object@2.0.0
+-- spdx-license-ids@1.2.2
+-- strip-ansi@3.0.1
+-- tar@2.2.1
+-- text-table@0.2.0
+-- uid-number@0.0.6
+-- umask@1.1.0
+-- validate-npm-package-license@3.0.1
| +-- spdx-correct@1.0.2
| `-- spdx-expression-parse@1.0.2
| `-- spdx-exceptions@1.0.4
+-- validate-npm-package-name@2.2.2
| `-- builtins@0.0.7
+-- which@1.2.11
| `-- isexe@1.1.2
+-- wrappy@1.0.2
`-- write-file-atomic@1.1.4 C:\Users\zhongzh>

6.        启动Linux虚拟机,以root用户登录,因为后面的操作需要root用户的权限。打开终端窗口,输入”df -h”,查看文件系统。如下图所示,可以看到在我的虚拟机中/的大小为20G,可用容量为0M,本次扩展硬盘的目标就是增加/目录的大小,注意文件分区为/dev/sda1,后面的操作主要是针对该分区进行的。

7.        下面执行fdisk –l命令,查看硬盘分区情况,可以发现硬盘空间确实已经扩展了到了40G。

8.        现在对硬盘/dev/sda进行硬盘操作,执行命令fdisk /dev/sda,在command后输入d(删除分区的命令),然后输入需要删除分区的号码,此处输入要删除的分区3,执行完毕后输入p,查看硬盘分区情况,/dev/sda3已经删除掉了。

11.    若Linux安装了桌面应用程序的话,也可以使用图形化的磁盘实用工具,在此以分配swap分区为例,简要介绍一下。在应用程序中选择磁盘实用工具,打开如下图所示的界面,点击左侧最下方的硬盘,在右侧选择空闲空间,点击下方的创建分区,选择分区大小,类型后,点击创建按钮,完成分区的创建。

还是参考这篇文章吧

clone成功后:

Reactive Native开发环境搭建的更多相关文章

  1. Android React Native 开发环境搭建---windows下

    环境搭建 环境搭建可以参考RN官网,也可以参考中文版本:http://reactnative.cn/docs/0.45/getting-started.html 如果你希望可以看到原版的安装流程,可以 ...

  2. React Native开发环境搭建

    安装Xcode 安装Homebrew 安装Android SDK 安装flow和watchman 安装nodejs 安装react-native-cli 安装Genymotion 安装Webstorm ...

  3. win10的react native 开发环境搭建,使用Android模拟器

    1.打开cmd的管理员模式,win+X,选择命令提示符(管理员)即可,运行如下命令: @"%SystemRoot%\System32\WindowsPowerShell\v1.0\power ...

  4. React Native 开发环境搭建

    1.安装 Python 2,不知道是否已支持 Python 3 2.安装 node,npm... 修改 npm 镜像,不建议使用 cnpm,cnpm 安装模块的路径与 npm 有差别 npm conf ...

  5. Window平台下React Native 开发环境搭建

    1. 安装Node.js 2. 安装react-native-cli 命令行工具 npm install -g react-nativew-cli 3. 创建项目 $ react-native ini ...

  6. React Native的环境搭建以及开发的IDE

    (一)前言 前面的课程我们已经对React Native的环境搭建以及开发的IDE做了相关的讲解,今天我们的主要讲解的是应用设备运行(Running)以及调试方法(Debugging).本节的前提条件 ...

  7. React Native开发 - 搭建React Native开发环境

    移动开发以前一般都是原生的语言来开发,Android开发是用Java语言,IOS的开发是Object-C或者Swift.那么对于开发一个App,至少需要两套代码.两个团队.对于公司来说,成本还是有的. ...

  8. 搭建React Native开发环境

    搭建React Native开发环境 本文档是Mac下搭建的环境,针对的目标平台不同,以及开发 iOS 和 Android 的不同,环境搭建也有差异. Github地址:https://github. ...

  9. 搭建基本的React Native开发环境

    步骤如下: 1.安装HomeBrew,命令如下: 在终端输入命令:$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Home ...

随机推荐

  1. PAT-day1

    1001 害死人不偿命的(3n+1)猜想 (15 分)   卡拉兹(Callatz)猜想: 对任何一个正整数 n,如果它是偶数,那么把它砍掉一半:如果它是奇数,那么把 ( 3n+1)砍掉一半.这样一直 ...

  2. python--(十步代码学会线程)

    python--(十步代码学会线程) 一.线程的创建 Thread实例对象的方法 # isAlive(): 返回线程是否活动的. # getname(): 返回线程名. # setName(): 设置 ...

  3. ansible - playbook(剧组)

    目录 ansible - playbook(剧组) 常用命令 五种传参方式 常用元素详解 tags handlers template when 循环 嵌套循环 ansible - playbook( ...

  4. 【7】Django网页视图模板处理

    天下难事必作於易.天下大事必作於细.是以圣人终不为大,故能成其大 --老子<道德经> 本节内容 HTML页面的渲染 使用页面模板 异常处理 超链接路径处理 路由命名空间 1. HTML页面 ...

  5. 【IntelliJ IDEA】idea上安装Translation插件后,需要AppKey才能生效的解决方案

    使用idea安装的翻译插件translation,但是使用的时候并不友好 无奈,如果想使用翻译软件并且更方便的话,可以如下: 可以选择将translation进行卸载 清除缓存并进行重启 然后再启动之 ...

  6. 洛谷 P2155 BZOJ 2186 codevs 2301 [SDOI2008]沙拉公主的困惑

    题目描述 大富翁国因为通货膨胀,以及假钞泛滥,政府决定推出一项新的政策:现有钞票编号范围为1到N的阶乘,但是,政府只发行编号与M!互质的钞票.房地产第一大户沙拉公主决定预测一下大富翁国现在所有真钞票的 ...

  7. noip模拟赛 赤の夜

    题目背景 下发压缩包链接: https://pan.baidu.com/s/1geC4ooz 密码: 3vpt(同T1) 正在想这么说的时候—— 突然涌出一种强烈的晕眩感. 这是,什么……? 眼花吗? ...

  8. 【DEBUG】不能将参数 1 从“CString”转换为“const char *”

    1.  在vc6.0下用CString str;num = atoi(str);就可以顺利取到num: 但是同样代码拿到vs2008就报错,error C2664: "atoi": ...

  9. applicationcontext理解使用

    Spring ApplicationContext 容器 Application Context 是 spring 中较高级的容器.和 BeanFactory 类似,它可以加载配置文件中定义的 bea ...

  10. 【转】storm 开发系列一 第一个程序

    原文: http://blog.csdn.net/csfreebird/article/details/49104777 --------------------------------------- ...