23-03-07

First Post:

Last Update:

2023-03-07 | 搭链

全命令

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
[linzepore@localhost ~]$ cd ~/fisco
bash: cd: /home/linzepore/fisco: 没有那个文件或目录
[linzepore@localhost ~]$ cd ~
[linzepore@localhost ~]$ mkdir fisco
[linzepore@localhost ~]$ cd fisco
[linzepore@localhost fisco]$ curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/build_chain.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: github.com; 未知的错误
[linzepore@localhost fisco]$ chmod u+x build.sh
chmod: 无法访问"build.sh": 没有那个文件或目录
[linzepore@localhost fisco]$ chmod u+x build_chain.sh
chmod: 无法访问"build_chain.sh": 没有那个文件或目录
[linzepore@localhost fisco]$ chmod u+x fisco
chmod: 无法访问"fisco": 没有那个文件或目录
[linzepore@localhost fisco]$ cd ..
[linzepore@localhost ~]$ chmod fisco
chmod: "fisco" 后缺少操作数
Try 'chmod --help' for more information.
[linzepore@localhost ~]$ chmod u+x fisco
[linzepore@localhost ~]$ curl -LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/build_chain.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: github.com; 未知的错误
[linzepore@localhost ~]$ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/build_chain.sh

curl: (6) Could not resolve host: github.com; 未知的错误
[linzepore@localhost ~]$ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/build_chain.sh

curl: (6) Could not resolve host: github.com; 未知的错误
[linzepore@localhost ~]$ curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/build_chain.sh
######################################################################## 100.0%
[linzepore@localhost ~]$ chmod u+x build_chain.sh
[linzepore@localhost ~]$ chmod u+x build_chain.sh
[linzepore@localhost ~]$ ./build_chain.sh
Usage:
-l <IP list> [Required] "ip1:nodeNum1,ip2:nodeNum2" e.g:"192.168.0.1:2,192.168.0.2:3"
-f <IP list file> [Optional] split by line, every line should be "ip:nodeNum agencyName groupList p2p_port,channel_port,jsonrpc_port". eg "127.0.0.1:4 agency1 1,2 30300,20200,8545"
-v <FISCO-BCOS binary version> Default is the latest v2.6.0
-e <FISCO-BCOS binary path> Default download fisco-bcos from GitHub. If set -e, use the binary at the specified location
-o <Output Dir> Default ./nodes/
-p <Start Port> Default 30300,20200,8545 means p2p_port start from 30300, channel_port from 20200, jsonrpc_port from 8545
-q <List FISCO-BCOS releases> List FISCO-BCOS released versions
-i <Host ip> Default 127.0.0.1. If set -i, listen 0.0.0.0
-s <DB type> Default rocksdb. Options can be rocksdb / mysql / scalable, rocksdb is recommended
-d <docker mode> Default off. If set -d, build with docker
-c <Consensus Algorithm> Default PBFT. Options can be pbft / raft /rpbft, pbft is recommended
-C <Chain id> Default 1. Can set uint.
-g <Generate guomi nodes> Default no
-z <Generate tar packet> Default no
-t <Cert config file> Default auto generate
-6 <Use ipv6> Default no. If set -6, treat IP as IPv6
-k <The path of ca root> Default auto generate, the ca.crt and ca.key must in the path, if use intermediate the root.crt must in the path
-K <The path of sm crypto ca root> Default auto generate, the gmca.crt and gmca.key must in the path, if use intermediate the gmroot.crt must in the path
-D <Use Deployment mode> Default false, If set -D, use deploy mode directory struct and make tar
-G <channel use sm crypto ssl> Default false, only works for guomi mode
-X <Certificate expiration time> Default 36500 days
-T <Enable debug log> Default off. If set -T, enable debug log
-S <Enable statistics> Default off. If set -S, enable statistics
-F <Disable log auto flush> Default on. If set -F, disable log auto flush
-E <Enable free_storage_evm> Default off. If set -E, enable free_storage_evm
-h Help
e.g
./build_chain.sh -l "127.0.0.1:4"
[linzepore@localhost ~]$ ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.164.132 netmask 255.255.255.0 broadcast 192.168.164.255
inet6 fe80::c58c:39d2:728f:e7c prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:c3:ee:6b txqueuelen 1000 (Ethernet)
RX packets 188 bytes 98192 (95.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 157 bytes 16476 (16.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 752 bytes 64592 (63.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 752 bytes 64592 (63.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:91:20:4e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[linzepore@localhost ~]$ ./build_chain.sh -l "127.0.0.1:4" -p 30300,20200,8454
[INFO] Downloading fisco-bcos binary from https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/fisco-bcos.tar.gz ...
######################################################################## 100.0%
==============================================================
Generating CA key...
==============================================================
Generating keys and certificates ...
Processing IP=127.0.0.1 Total=4 Agency=agency Groups=1
==============================================================
Generating configuration files ...
Processing IP=127.0.0.1 Total=4 Agency=agency Groups=1
==============================================================
[INFO] Start Port : 30300 20200 8454
[INFO] Server IP : 127.0.0.1:4
[INFO] Output Dir : /home/linzepore/nodes
[INFO] CA Path : /home/linzepore/nodes/cert/
==============================================================
[INFO] Execute the download_console.sh script in directory named by IP to get FISCO-BCOS console.
e.g. bash /home/linzepore/nodes/127.0.0.1/download_console.sh -f
==============================================================
[INFO] All completed. Files in /home/linzepore/nodes
[linzepore@localhost ~]$ cd fisco
[linzepore@localhost fisco]$ cd nodes/12/0.0.1
bash: cd: nodes/12/0.0.1: 没有那个文件或目录
[linzepore@localhost fisco]$ ls
[linzepore@localhost fisco]$ ll
总用量 0
[linzepore@localhost fisco]$ cd..
bash: cd..: 未找到命令...
[linzepore@localhost fisco]$ ll
总用量 0
[linzepore@localhost fisco]$ cd ..
[linzepore@localhost ~]$ ls
build_chain.sh fisco nodes 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ mv build_chain.sh fisco/build_chain.sh
[linzepore@localhost ~]$ ls
fisco nodes 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ mv nodes fisco/nodes
[linzepore@localhost ~]$ ls
fisco 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ cd fisco
[linzepore@localhost fisco]$ cd nodes/12.0.0.1
bash: cd: nodes/12.0.0.1: 没有那个文件或目录
[linzepore@localhost fisco]$ ls
build_chain.sh nodes
[linzepore@localhost fisco]$ cd codes
bash: cd: codes: 没有那个文件或目录
[linzepore@localhost fisco]$ cd nodes
[linzepore@localhost nodes]$ ls
127.0.0.1 cert
[linzepore@localhost nodes]$ cd 127.0.0.1
[linzepore@localhost 127.0.0.1]$ ./start_all.sh
try to start node0
try to start node1
try to start node2
try to start node3
node0 start successfully
node2 start successfully
node1 start successfully
node3 start successfully
[linzepore@localhost 127.0.0.1]$ ps -ef|grep -v grep|grep fisco-bcos
linzepo+ 3958 1 1 10:41 pts/0 00:00:00 /home/linzepore/fisco/nodes/127.0.0.1/node1/../fisco-bcos -c config.ini
linzepo+ 3960 1 1 10:41 pts/0 00:00:00 /home/linzepore/fisco/nodes/127.0.0.1/node3/../fisco-bcos -c config.ini
linzepo+ 3962 1 1 10:41 pts/0 00:00:00 /home/linzepore/fisco/nodes/127.0.0.1/node2/../fisco-bcos -c config.ini
linzepo+ 3964 1 1 10:41 pts/0 00:00:00 /home/linzepore/fisco/nodes/127.0.0.1/node0/../fisco-bcos -c config.ini
[linzepore@localhost 127.0.0.1]$ tail -f node0/log/log*\grep connected
tail: 无法打开"node0/log/log*grep" 读取数据: 没有那个文件或目录
tail: 无法打开"connected" 读取数据: 没有那个文件或目录
tail: 没有剩余文件
[linzepore@localhost 127.0.0.1]$ tail -f node0/log/log*|grep connected
info|2023-03-07 10:43:45.153141|[P2P][Service] heartBeat,connected count=3
info|2023-03-07 10:43:55.153870|[P2P][Service] heartBeat,connected count=3
info|2023-03-07 10:44:05.154141|[P2P][Service] heartBeat,connected count=3
info|2023-03-07 10:44:15.154337|[P2P][Service] heartBeat,connected count=3
^C
[linzepore@localhost 127.0.0.1]$ tail -f node0/log/log*|grep +++
info|2023-03-07 10:44:40.568786|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=3,hash=28597e2f...

info|2023-03-07 10:44:44.592018|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=3,hash=ba8a21de...
info|2023-03-07 10:44:48.617871|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=3,hash=176eebf9...
info|2023-03-07 10:44:52.639213|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=1,tx=0,nodeIdx=3,hash=964fa6dd...
^C
[linzepore@localhost 127.0.0.1]$ sudo yum insstall -y java java-devel
[sudo] linzepore 的密码:
已加载插件:fastestmirror, langpacks
没有该命令:insstall。请使用 /bin/yum --help
[linzepore@localhost 127.0.0.1]$ sudo yum install -y java java-devel
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.ustc.edu.cn
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/4): base/7/x86_64/group_gz | 153 kB 00:00:00
(2/4): extras/7/x86_64/primary_db | 249 kB 00:00:03
(3/4): base/7/x86_64/primary_db | 6.1 MB 00:00:04
(4/4): updates/7/x86_64/primary_db | 19 MB 00:00:07
软件包 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.x86_64 已安装并且是最新版本
正在解决依赖关系
--> 正在检查事务
---> 软件包 java-1.8.0-openjdk-devel.x86_64.1.1.8.0.362.b08-1.el7_9 将被 安装
--> 正在处理依赖关系 java-1.8.0-openjdk(x86-64) = 1:1.8.0.362.b08-1.el7_9,它被软件包 1:java-1.8.0-openjdk-devel-1.8.0.362.b08-1.el7_9.x86_64 需要
--> 正在检查事务
---> 软件包 java-1.8.0-openjdk.x86_64.1.1.8.0.262.b10-1.el7 将被 升级
---> 软件包 java-1.8.0-openjdk.x86_64.1.1.8.0.362.b08-1.el7_9 将被 更新
--> 正在处理依赖关系 java-1.8.0-openjdk-headless(x86-64) = 1:1.8.0.362.b08-1.el7_9,它被软件包 1:java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64 需要
--> 正在检查事务
---> 软件包 java-1.8.0-openjdk-headless.x86_64.1.1.8.0.262.b10-1.el7 将被 升级
---> 软件包 java-1.8.0-openjdk-headless.x86_64.1.1.8.0.362.b08-1.el7_9 将被 更新
--> 正在处理依赖关系 tzdata-java >= 2022g,它被软件包 1:java-1.8.0-openjdk-headless-1.8.0.362.b08-1.el7_9.x86_64 需要
--> 正在检查事务
---> 软件包 tzdata-java.noarch.0.2020a-1.el7 将被 升级
---> 软件包 tzdata-java.noarch.0.2022g-1.el7 将被 更新
--> 解决依赖关系完成

依赖关系解决

================================================================================================================================================================================
Package 架构 版本 源 大小
================================================================================================================================================================================
正在安装:
java-1.8.0-openjdk-devel x86_64 1:1.8.0.362.b08-1.el7_9 updates 9.8 M
为依赖而更新:
java-1.8.0-openjdk x86_64 1:1.8.0.362.b08-1.el7_9 updates 317 k
java-1.8.0-openjdk-headless x86_64 1:1.8.0.362.b08-1.el7_9 updates 33 M
tzdata-java noarch 2022g-1.el7 updates 185 k

事务概要
================================================================================================================================================================================
安装 1 软件包
升级 ( 3 依赖软件包)

总下载量:43 M
Downloading packages:
No Presto metadata available for updates
警告:/var/cache/yum/x86_64/7/updates/packages/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64.rpm: 头V3 RSA/SHA256 Signature, 密钥 ID f4a80eb5: NOKEY/s | 321 kB --:--:-- ETA
java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64.rpm 的公钥尚未安装
(1/4): java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64.rpm | 317 kB 00:00:00
(2/4): tzdata-java-2022g-1.el7.noarch.rpm | 185 kB 00:00:00
(3/4): java-1.8.0-openjdk-devel-1.8.0.362.b08-1.el7_9.x86_64.rpm | 9.8 MB 00:00:04
(4/4): java-1.8.0-openjdk-headless-1.8.0.362.b08-1.el7_9.x86_64.rpm | 33 MB 00:02:30
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 296 kB/s | 43 MB 00:02:30
从 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 检索密钥
导入 GPG key 0xF4A80EB5:
用户ID : "CentOS-7 Key (CentOS 7 Official Signing Key) <[email protected]>"
指纹 : 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
软件包 : centos-release-7-9.2009.0.el7.centos.x86_64 (@anaconda)
来自 : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在更新 : tzdata-java-2022g-1.el7.noarch 1/7
正在更新 : 1:java-1.8.0-openjdk-headless-1.8.0.362.b08-1.el7_9.x86_64 2/7
warning: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/blacklisted.certs created as /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/blacklisted.certs.rpmnew
warning: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.policy created as /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.policy.rpmnew
warning: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.security created as /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.security.rpmnew
restored /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/blacklisted.certs.rpmnew to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/blacklisted.certs
restored /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.policy.rpmnew to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.policy
restored /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.security.rpmnew to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64/jre/lib/security/java.security
正在更新 : 1:java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64 3/7
正在安装 : 1:java-1.8.0-openjdk-devel-1.8.0.362.b08-1.el7_9.x86_64 4/7
清理 : 1:java-1.8.0-openjdk-1.8.0.262.b10-1.el7.x86_64 5/7
清理 : 1:java-1.8.0-openjdk-headless-1.8.0.262.b10-1.el7.x86_64 6/7
清理 : tzdata-java-2020a-1.el7.noarch 7/7
验证中 : 1:java-1.8.0-openjdk-headless-1.8.0.362.b08-1.el7_9.x86_64 1/7
验证中 : 1:java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64 2/7
验证中 : tzdata-java-2022g-1.el7.noarch 3/7
验证中 : 1:java-1.8.0-openjdk-devel-1.8.0.362.b08-1.el7_9.x86_64 4/7
验证中 : 1:java-1.8.0-openjdk-headless-1.8.0.262.b10-1.el7.x86_64 5/7
验证中 : 1:java-1.8.0-openjdk-1.8.0.262.b10-1.el7.x86_64 6/7
验证中 : tzdata-java-2020a-1.el7.noarch 7/7

已安装:
java-1.8.0-openjdk-devel.x86_64 1:1.8.0.362.b08-1.el7_9

作为依赖被升级:
java-1.8.0-openjdk.x86_64 1:1.8.0.362.b08-1.el7_9 java-1.8.0-openjdk-headless.x86_64 1:1.8.0.362.b08-1.el7_9 tzdata-java.noarch 0:2022g-1.el7

完毕!
[linzepore@localhost 127.0.0.1]$ vi ./etc/profile
[linzepore@localhost 127.0.0.1]$ vi /etc/profile

[已修改但尚未保存]
/bin/bash: q: 未找到命令

Shell 已返回127

请按 ENTER 或其它命令继续
[linzepore@localhost 127.0.0.1]$ cd /usr/lib/jvm
[linzepore@localhost jvm]$ ls
java java-openjdk jre-1.8.0
java-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.x86_64 jre jre-1.8.0-openjdk
java-1.8.0 jre-1.7.0 jre-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64
java-1.8.0-openjdk jre-1.7.0-openjdk jre-openjdk
java-1.8.0-openjdk-1.8.0.362.b08-1.el7_9.x86_64 jre-1.7.0-openjdk-1.7.0.261-2.6.22.2.el7_8.x86_64
[linzepore@localhost jvm]$ cd java-1.8.0
[linzepore@localhost java-1.8.0]$ ls
ASSEMBLY_EXCEPTION bin include jre lib LICENSE tapset THIRD_PARTY_README
[linzepore@localhost java-1.8.0]$ cd lib
[linzepore@localhost lib]$ ls
amd64 ct.sym dt.jar ir.idl jconsole.jar jexec orb.idl sa-jdi.jar tools.jar
[linzepore@localhost lib]$ cd ..
[linzepore@localhost java-1.8.0]$ cd ..
[linzepore@localhost jvm]$ cd /
[linzepore@localhost /]$ vi etc/profile

[已修改但尚未保存]
/bin/bash: q: 未找到命令

Shell 已返回127

请按 ENTER 或其它命令继续
[linzepore@localhost /]$ sudo vi etc/profile
[sudo] linzepore 的密码:
[linzepore@localhost /]$ source etc/profile
[linzepore@localhost /]$ echo JAVA_HOME
JAVA_HOME
[linzepore@localhost /]$ echo ${JAVA_HOME}
/usr/lib/jvm/java-1.8.0
[linzepore@localhost /]$ echo ${JRE_HOME}
/usr/lib/jvm/java-1.8.0/jre
[linzepore@localhost /]$ echo ${PATH}
{JAVA_HOME}/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/linzepore/.local/bin:/home/linzepore/bin
[linzepore@localhost /]$ sudo vi etc/profile
[linzepore@localhost /]$ echo ${PATH}
{JAVA_HOME}/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/linzepore/.local/bin:/home/linzepore/bin
[linzepore@localhost /]$ source etc/profile
[linzepore@localhost /]$ echo ${PATH}
/usr/lib/jvm/java-1.8.0/bin:{JAVA_HOME}/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/linzepore/.local/bin:/home/linzepore/bin
[linzepore@localhost /]$ sudo vi etc/profile
[linzepore@localhost /]$ echo ${PATH}
/usr/lib/jvm/java-1.8.0/bin:{JAVA_HOME}/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/linzepore/.local/bin:/home/linzepore/bin
[linzepore@localhost /]$ source etc/profile
[linzepore@localhost /]$ echo ${PATH}
/usr/lib/jvm/java-1.8.0/bin:/usr/lib/jvm/java-1.8.0/bin:{JAVA_HOME}/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/linzepore/.local/bin:/home/linzepore/bin
[linzepore@localhost /]$ source etc/profile
[linzepore@localhost /]$ echo ${PATH}
/usr/lib/jvm/java-1.8.0/bin:/usr/lib/jvm/java-1.8.0/bin:/usr/lib/jvm/java-1.8.0/bin:{JAVA_HOME}/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/linzepore/.local/bin:/home/linzepore/bin
[linzepore@localhost /]$ cd ~
[linzepore@localhost ~]$ wget https://osp-1257653870.cos.ap-guangdong.myqcloud.com/weBASE/releases/download/v1.5.3/webase-front.zip
--2023-03-07 11:13:45-- https://osp-1257653870.cos.ap-guangdong.myqcloud.com/weBASE/releases/download/v1.5.3/webase-front.zip
正在解析主机 osp-1257653870.cos.ap-guangdong.myqcloud.com (osp-1257653870.cos.ap-guangdong.myqcloud.com)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “osp-1257653870.cos.ap-guangdong.myqcloud.com”
[linzepore@localhost ~]$ wget http:/tools.zepo.re/0c5c52c7
--2023-03-07 11:17:10-- ftp://http//tools.zepo.re/0c5c52c7
=> “0c5c52c7”
正在解析主机 http (http)... ^[[A^C
[linzepore@localhost ~]$ wget http://tools.zepo.re/0c5c52c7
--2023-03-07 11:17:23-- http://tools.zepo.re/0c5c52c7
正在解析主机 tools.zepo.re (tools.zepo.re)... 104.21.47.181, 172.67.171.203, 2606:4700:3032::ac43:abcb, ...
正在连接 tools.zepo.re (tools.zepo.re)|104.21.47.181|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 301 Moved Permanently
位置:https://tools.zepo.re/0c5c52c7 [跟随至新的 URL]
--2023-03-07 11:17:24-- https://tools.zepo.re/0c5c52c7
正在连接 tools.zepo.re (tools.zepo.re)|104.21.47.181|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 302 Found
位置:https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/WeBASE/releases/download/v1.5.3/webase-front.zip [跟随至新的 URL]
--2023-03-07 11:17:25-- https://osp-1257653870.cos.ap-guangzhou.myqcloud.com/WeBASE/releases/download/v1.5.3/webase-front.zip
正在解析主机 osp-1257653870.cos.ap-guangzhou.myqcloud.com (osp-1257653870.cos.ap-guangzhou.myqcloud.com)... 27.155.119.181, 27.155.119.179, 27.155.119.180, ...
正在连接 osp-1257653870.cos.ap-guangzhou.myqcloud.com (osp-1257653870.cos.ap-guangzhou.myqcloud.com)|27.155.119.181|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:110965309 (106M) [application/zip]
正在保存至: “0c5c52c7”

100%[======================================>] 110,965,309 18.4MB/s 用时 10s

2023-03-07 11:17:37 (10.1 MB/s) - 已保存 “0c5c52c7” [110965309/110965309])

[linzepore@localhost ~]$ ls
0c5c52c7 fisco 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ cd 0c5c52c7
bash: cd: 0c5c52c7: 不是目录
[linzepore@localhost ~]$ unzip 0c5c52c7.zip
unzip: cannot find or open 0c5c52c7.zip, 0c5c52c7.zip.zip or 0c5c52c7.zip.ZIP.
[linzepore@localhost ~]$ unzip 0c5c52c7
Archive: 0c5c52c7
creating: webase-front/
inflating: webase-front/status.sh
creating: webase-front/conf/
creating: webase-front/conf/conf/
inflating: webase-front/conf/conf/sdk.publickey
creating: webase-front/conf/conf/gm/
inflating: webase-front/conf/conf/gm/gmsdk.publickey
inflating: webase-front/conf/template
inflating: webase-front/conf/libsigar-x86-linux.so
inflating: webase-front/conf/libsigar-amd64-linux.so
inflating: webase-front/conf/application-docker.yml
inflating: webase-front/conf/libsigar-universal64-macosx.dylib
creating: webase-front/conf/files/
inflating: webase-front/conf/files/ContractAbiMgr_
creating: webase-front/conf/swagger/
inflating: webase-front/conf/swagger/swagger-ui-bundle.js
inflating: webase-front/conf/swagger/swagger-ui.js
inflating: webase-front/conf/swagger/swagger-ui-standalone-preset.js
extracting: webase-front/conf/swagger/favicon-32x32.png
inflating: webase-front/conf/swagger/index.html
inflating: webase-front/conf/swagger/swagger-ui.css
inflating: webase-front/conf/swagger/swagger-ui.css.map
extracting: webase-front/conf/swagger/favicon-16x16.png
inflating: webase-front/conf/swagger/swagger-ui-bundle.js.map
inflating: webase-front/conf/swagger/swagger-ui.js.map
inflating: webase-front/conf/swagger/swagger-ui-standalone-preset.js.map
inflating: webase-front/conf/application.yml
inflating: webase-front/conf/libsigar-aarch64-linux.so
inflating: webase-front/conf/log4j2.xml
inflating: webase-front/stop.sh
creating: webase-front/lib/
inflating: webase-front/lib/jackson-annotations-2.11.4.jar
inflating: webase-front/lib/spring-plugin-core-1.2.0.RELEASE.jar
inflating: webase-front/lib/hibernate-entitymanager-5.0.12.Final.jar
inflating: webase-front/lib/log4j-api-2.15.0.jar
inflating: webase-front/lib/lombok-1.18.6.jar
inflating: webase-front/lib/tomcat-annotations-api-8.5.56.jar
inflating: webase-front/lib/tcnative-2.0.34.0.jar
inflating: webase-front/lib/error_prone_annotations-2.3.4.jar
inflating: webase-front/lib/activation-1.1.1.jar
inflating: webase-front/lib/solc-gradle-plugin-1.0.1.jar
inflating: webase-front/lib/tomcat-embed-el-8.5.56.jar
inflating: webase-front/lib/spring-boot-starter-data-jpa-1.5.22.RELEASE.jar
inflating: webase-front/lib/spring-tx-4.3.29.RELEASE.jar
inflating: webase-front/lib/spring-boot-configuration-processor-1.5.22.RELEASE.jar
inflating: webase-front/lib/springfox-core-2.8.0.jar
inflating: webase-front/lib/byte-buddy-1.7.9.jar
inflating: webase-front/lib/log4j-slf4j-impl-2.15.0.jar
inflating: webase-front/lib/aspectjweaver-1.8.14.jar
inflating: webase-front/lib/SmartDev-Scaffold-1.0.0.1.jar
inflating: webase-front/lib/commons-codec-1.6.jar
inflating: webase-front/lib/checker-qual-2.11.1.jar
inflating: webase-front/lib/httpclient-4.3.6.jar
inflating: webase-front/lib/spring-boot-autoconfigure-1.5.22.RELEASE.jar
inflating: webase-front/lib/log4j-web-2.15.0.jar
inflating: webase-front/lib/springfox-swagger2-2.8.0.jar
inflating: webase-front/lib/solcJ-0.4.25.1.jar
inflating: webase-front/lib/springfox-schema-2.8.0.jar
inflating: webase-front/lib/springfox-swagger-common-2.8.0.jar
inflating: webase-front/lib/spring-boot-starter-aop-1.5.22.RELEASE.jar
inflating: webase-front/lib/commons-lang3-3.8.1.jar
inflating: webase-front/lib/jackson-datatype-jsr310-2.11.4.jar
inflating: webase-front/lib/spring-amqp-1.7.14.RELEASE.jar
inflating: webase-front/lib/jboss-logging-3.3.0.Final.jar
inflating: webase-front/lib/spring-boot-starter-1.5.22.RELEASE.jar
inflating: webase-front/lib/httpcore-4.3.3.jar
inflating: webase-front/lib/reflections-0.9.11.jar
inflating: webase-front/lib/jcl-over-slf4j-1.7.30.jar
inflating: webase-front/lib/spring-boot-starter-amqp-1.5.22.RELEASE.jar
inflating: webase-front/lib/jackson-databind-2.11.4.jar
inflating: webase-front/lib/hibernate-validator-5.3.6.Final.jar
inflating: webase-front/lib/spring-core-4.3.29.RELEASE.jar
inflating: webase-front/lib/spring-plugin-metadata-1.2.0.RELEASE.jar
inflating: webase-front/lib/toml4j-0.7.2.jar
inflating: webase-front/lib/guava-29.0-jre.jar
inflating: webase-front/lib/hibernate-core-5.0.12.Final.jar
inflating: webase-front/lib/tomcat-juli-8.5.56.jar
inflating: webase-front/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
inflating: webase-front/lib/swagger-annotations-1.5.14.jar
inflating: webase-front/lib/gson-2.8.1.jar
inflating: webase-front/lib/slf4j-api-1.7.30.jar
inflating: webase-front/lib/dom4j-1.6.1.jar
inflating: webase-front/lib/jsr305-3.0.2.jar
inflating: webase-front/lib/validation-api-1.1.0.Final.jar
inflating: webase-front/lib/bcprov-jdk15on-1.60.jar
inflating: webase-front/lib/spring-context-4.3.29.RELEASE.jar
inflating: webase-front/lib/xml-apis-1.0.b2.jar
inflating: webase-front/lib/spring-boot-starter-tomcat-1.5.22.RELEASE.jar
inflating: webase-front/lib/spring-beans-4.3.29.RELEASE.jar
inflating: webase-front/lib/sigar-1.6.4.jar
inflating: webase-front/lib/spring-aop-4.3.29.RELEASE.jar
inflating: webase-front/lib/hibernate-commons-annotations-5.0.1.Final.jar
inflating: webase-front/lib/classmate-1.3.4.jar
inflating: webase-front/lib/netty-sm-ssl-context-1.2.0.jar
inflating: webase-front/lib/netty-all-4.1.53.Final.jar
inflating: webase-front/lib/jaxb-impl-2.3.0.jar
inflating: webase-front/lib/spring-test-4.3.29.RELEASE.jar
inflating: webase-front/lib/spring-expression-4.3.29.RELEASE.jar
inflating: webase-front/lib/tomcat-embed-websocket-8.5.56.jar
inflating: webase-front/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar
inflating: webase-front/lib/jaxb-core-2.3.0.jar
inflating: webase-front/lib/spring-boot-1.5.22.RELEASE.jar
inflating: webase-front/lib/amqp-client-4.0.3.jar
inflating: webase-front/lib/failureaccess-1.0.1.jar
inflating: webase-front/lib/spring-rabbit-1.7.14.RELEASE.jar
inflating: webase-front/lib/swagger-models-1.5.14.jar
inflating: webase-front/lib/spring-retry-1.2.4.RELEASE.jar
inflating: webase-front/lib/http-client-1.1.1.RELEASE.jar
inflating: webase-front/lib/javax.transaction-api-1.2.jar
inflating: webase-front/lib/tomcat-jdbc-8.5.56.jar
inflating: webase-front/lib/springfox-spi-2.8.0.jar
inflating: webase-front/lib/solscaffold-1.0.2.jar
inflating: webase-front/lib/javassist-3.21.0-GA.jar
inflating: webase-front/lib/jsqlparser-2.0.jar
inflating: webase-front/lib/antlr-2.7.7.jar
inflating: webase-front/lib/spring-webmvc-4.3.29.RELEASE.jar
inflating: webase-front/lib/tomcat-embed-core-8.5.56.jar
inflating: webase-front/lib/spring-jdbc-4.3.29.RELEASE.jar
inflating: webase-front/lib/spring-messaging-4.3.29.RELEASE.jar
inflating: webase-front/lib/log4j-core-2.15.0.jar
inflating: webase-front/lib/h2-1.4.200.jar
inflating: webase-front/lib/spring-boot-starter-jdbc-1.5.22.RELEASE.jar
inflating: webase-front/lib/jaxb-api-2.3.0.jar
inflating: webase-front/lib/spring-data-jpa-1.11.23.RELEASE.jar
inflating: webase-front/lib/springfox-swagger-ui-2.8.0.jar
inflating: webase-front/lib/spring-boot-starter-web-1.5.22.RELEASE.jar
inflating: webase-front/lib/jackson-core-2.11.4.jar
inflating: webase-front/lib/picocli-4.6.1.jar
inflating: webase-front/lib/fisco-bcos-java-sdk-2.7.2.jar
inflating: webase-front/lib/springfox-spring-web-2.8.0.jar
inflating: webase-front/lib/spring-web-4.3.29.RELEASE.jar
inflating: webase-front/lib/jandex-2.0.0.Final.jar
inflating: webase-front/lib/j2objc-annotations-1.3.jar
inflating: webase-front/lib/commons-io-2.4.jar
inflating: webase-front/lib/javapoet-1.7.0.jar
inflating: webase-front/lib/spring-orm-4.3.29.RELEASE.jar
inflating: webase-front/lib/spring-data-commons-1.13.23.RELEASE.jar
inflating: webase-front/lib/snakeyaml-1.17.jar
inflating: webase-front/lib/commons-logging-1.2.jar
inflating: webase-front/lib/key-mini-toolkit-1.0.3.jar
inflating: webase-front/lib/mapstruct-1.2.0.Final.jar
inflating: webase-front/lib/spring-aspects-4.3.29.RELEASE.jar
creating: webase-front/gradle/
creating: webase-front/gradle/wrapper/
inflating: webase-front/gradle/wrapper/gradle-wrapper.jar
inflating: webase-front/gradle/wrapper/gradle-wrapper.properties
inflating: webase-front/start.sh
inflating: webase-front/get_solc_js.sh
creating: webase-front/static/
inflating: webase-front/static/index.html
creating: webase-front/static/static/
creating: webase-front/static/static/fonts/
inflating: webase-front/static/static/fonts/fontello.e73a064.eot
inflating: webase-front/static/static/fonts/iconfont.8ddfca3.eot
inflating: webase-front/static/static/fonts/fontello.068ca2b.ttf
inflating: webase-front/static/static/fonts/iconfont.ee39531.ttf
inflating: webase-front/static/static/fonts/element-icons.535877f.woff
inflating: webase-front/static/static/fonts/element-icons.732389d.ttf
creating: webase-front/static/static/js/
inflating: webase-front/static/static/js/5.3de44c8af7d57401ccff.js
inflating: webase-front/static/static/js/v0.4.25.js
inflating: webase-front/static/static/js/v0.6.10-gm.js
inflating: webase-front/static/static/js/10.4ec34b4c668409851945.js
inflating: webase-front/static/static/js/v0.4.25-gm.js
inflating: webase-front/static/static/js/7.9a8a4f53acd01c9cb183.js
inflating: webase-front/static/static/js/6.af6ac9aab23086b4000b.js
inflating: webase-front/static/static/js/12.80cc7afdc7d342baa5fb.js
inflating: webase-front/static/static/js/base-loading.js
inflating: webase-front/static/static/js/1.d36c3ac2e1e33301d217.js
extracting: webase-front/static/static/js/10.4ec34b4c668409851945.js.gz
inflating: webase-front/static/static/js/1.d36c3ac2e1e33301d217.js.gz
inflating: webase-front/static/static/js/web3.min.js.gz
inflating: webase-front/static/static/js/2.6602fb5a113f7b41a7b7.js
inflating: webase-front/static/static/js/0.ae1f106e6753c022a156.js.gz
inflating: webase-front/static/static/js/v0.6.10.js
inflating: webase-front/static/static/js/17.4018b6dc2baa10d8984a.js
inflating: webase-front/static/static/js/13.055b0a18633af2c97aa9.js
inflating: webase-front/static/static/js/0.ae1f106e6753c022a156.js
inflating: webase-front/static/static/js/5.3de44c8af7d57401ccff.js.gz
inflating: webase-front/static/static/js/11.2a8233ac71b1166c4189.js
inflating: webase-front/static/static/js/6.af6ac9aab23086b4000b.js.gz
inflating: webase-front/static/static/js/9.5047e29e39abbe3fdf76.js
inflating: webase-front/static/static/js/14.5dd9ee26d1fa8898120f.js
inflating: webase-front/static/static/js/16.4d0153a2620c5489082b.js
inflating: webase-front/static/static/js/15.120cd94287d0c8f016f6.js
inflating: webase-front/static/static/js/3.eb12a41a6deb04d256ae.js.gz
inflating: webase-front/static/static/js/8.3b8ae5b298eeba40c9cb.js
inflating: webase-front/static/static/js/browserfs.min.js
extracting: webase-front/static/static/js/12.80cc7afdc7d342baa5fb.js.gz
extracting: webase-front/static/static/js/7.9a8a4f53acd01c9cb183.js.gz
inflating: webase-front/static/static/js/browserfs.min.js.gz
inflating: webase-front/static/static/js/3.eb12a41a6deb04d256ae.js
inflating: webase-front/static/static/js/v0.5.2-gm.js
inflating: webase-front/static/static/js/19.9be217e8770c86e8fbf4.js
inflating: webase-front/static/static/js/v0.5.2.js
inflating: webase-front/static/static/js/runtime.ae846189f4d523a0caf3.js
inflating: webase-front/static/static/js/18.d979e449a918792042e9.js
inflating: webase-front/static/static/js/web3.min.js
creating: webase-front/static/static/font/
extracting: webase-front/static/static/font/webfont.ttf
extracting: webase-front/static/static/font/webfont.woff
inflating: webase-front/static/static/font/webfont.svg
extracting: webase-front/static/static/font/webfont.eot
extracting: webase-front/static/static/font/webfont.woff2
creating: webase-front/static/static/img/
extracting: webase-front/static/static/img/transationPedding.d68f750.png
extracting: webase-front/static/static/img/transation.1a3785f.png
inflating: webase-front/static/static/img/fontello.9354499.svg
inflating: webase-front/static/static/img/iconfont.7fa1e8d.svg
creating: webase-front/static/static/image/
extracting: webase-front/static/static/image/[email protected]
inflating: webase-front/static/static/image/logo-title.png
inflating: webase-front/static/static/image/logo-2 [email protected]
inflating: webase-front/static/static/image/banner.jpg
inflating: webase-front/static/static/image/block.png
extracting: webase-front/static/static/image/logo.jpg
extracting: webase-front/static/static/image/webase_35x35.png
extracting: webase-front/static/static/image/transation.png
inflating: webase-front/static/static/image/nodes.png
extracting: webase-front/static/static/image/transationPedding.png
creating: webase-front/static/static/css/
inflating: webase-front/static/static/css/base.css
inflating: webase-front/static/static/css/reset.css
creating: webase-front/apps/
inflating: webase-front/apps/WeBASE-Front.jar
extracting: webase-front/release_note.txt
[linzepore@localhost ~]$ ls
0c5c52c7 fisco webase-front 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ rm 0c5c52c7
[linzepore@localhost ~]$ ls
fisco webase-front 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ cp -r fisco/nodes/127.0.0.1/sdk/* webase-front/conf
[linzepore@localhost ~]$ ls
fisco webase-front 公共 模板 视频 图片 文档 下载 音乐 桌面
[linzepore@localhost ~]$ cd webase-front/conf
[linzepore@localhost conf]$ ls
application-docker.yml libsigar-amd64-linux.so sdk.crt
application.yml libsigar-universal64-macosx.dylib sdk.key
ca.crt libsigar-x86-linux.so sdk.publickey
conf log4j2.xml swagger
files node.crt template
libsigar-aarch64-linux.so node.key
[linzepore@localhost conf]$ cd..
bash: cd..: 未找到命令...
[linzepore@localhost conf]$ cd ..
[linzepore@localhost webase-front]$ bash start.sh
===============================================================================================
Server com.webank.webase.front.Application Port 5002 ....PID(6230) [Starting]. Please check message through the log file (default path:./log/).
===============================================================================================

步骤分析

配置Fisco

在当前用户目录下,创建fisco目录:cd ~ && mkdir fisco

给fisco文件夹加权限然后进入:cd ~ && chmod u+x fisco && cd fisco

下载安装build_chain.sh
curl -#LO https://github.com/FISCO-BCOS/FISCO-BCOS/releases/download/v2.6.0/build_chain.sh

运行build_chain.sh:./build_chain.sh,如下图则为下载完成

指定链的标识符:./build_chain.sh -l "127.0.0.1:4" -p 30300,20200,8454,如图二则成功完成

确保文件存放位置无误后,开启节点:cd ~/fisco/nodes/127.0.0.1 ./start_all.sh,有四个节点则为成功部署

查找正在运行的 fisco-bcos 进程:ps -ef|grep -v grep|grep fisco-bcos

依次执行tail -f node0/log/log*|grep connected tail -f node0/log/log*|grep +++

安装jdk:sudo yum install -y java java-devel

配置环境变量:sudo vi etc/profile,在下方添加(可自行进入”/usr/lib/jvm“进行查看版本号及目录名称)

1
2
3
4
export JAVA_HOME=/usr/lib/jvm/java-1.8.0
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH

刷新:source etc/profile

下载weBASE:wget http:/tools.zepo.re/0c5c52c7

解压:unzip 0c5c52c7,然后把Fisco-Bcos的SDK复制到weBASE-Front:cp -r fisco/nodes/127.0.0.1/sdk/* webase-front/conf

在解压后主目录下执行脚本:bash start.sh,浏览器打开”http://localhost:5002/WeBASE-Front“

出现错误及相应解决

curl: (6) Could not resolve host: github.com; 未知的错误

没有开网络