Login
Discover
Waves
Decks
Plus
Login
Signup
starnote
@starnote
43
Followers
4
Following
0
Resource Credits
Available
Used
Created
November 22, 2019
RSS Feed
Subscribe
Comments
Blog
Posts
Comments
Communities
Wallet
starnote
starnote
2020-01-15 13:10
RE: Nginx笔记
ubunbu 18.04 sudo apt update sudo apt install nginx nginx -v //nginx version: nginx/1.14.0 (Ubuntu) nginx -V //编译参数 查询nginx主进程号 ps -ef | grep nginx
$ 0.136
1
starnote
starnote
2020-01-15 13:06
RE: Nginx笔记
当前域名指向设置: ( 点击编辑 ) 主机名 类型 地址 www A(IP指向) 35.249.192.58 @ A(IP指向) 35.249.192.58
$ 0.142
2
starnote
starnote
2020-01-15 13:04
RE: Nginx笔记
nginx version: nginx/1.14.0 (Ubuntu) 官网
$ 0.138
1
starnote
starnote
2020-01-15 10:10
RE: test
cnpm install ipfs-http-client --save //main.js import ipfsClient from 'ipfs-http-client' Vue.prototype.ipfs = ipfs //挂载到全局
$ 0.000
1
starnote
starnote
2019-12-17 02:42
RE: test
ipfs的公共网关还是蛮稀缺的,而且很多在国内是访问不了的,所以,只能多试下啰。 查询公共网关 //图片存储
$ 0.000
0
starnote
starnote
2019-12-17 02:38
RE: test
cd ~/.jsipfs可以看到ipfs的配置文件“config”。ipfs的所有设置都在这个文件中,可以看下它长什么样: { "Addresses": { "Swarm": [ "/ip4/0.0.0.0/tcp/4002", "/ip4/127.0.0.1/tcp/4003/ws" ], "API":
$ 0.000
1
starnote
starnote
2019-12-17 02:29
RE: test
Commands: jsipfs add [file...] Add a file to IPFS using the UnixFS data format jsipfs bitswap <command> Interact with the bitswap agent. jsipfs block <command> Manipulate raw IPFS blocks. jsipfs
$ 0.000
1
starnote
starnote
2019-12-15 08:33
RE: test
npm install ipfs --global jsipfs --help jsipfs init //默认仓库路径 ~/.jsipfs (/root/.jsipfs/config) //更改仓库路径,set the $IPFS_PATH environment export IPFS_PATH=/path/to/ipfsrepo
$ 0.138
2
starnote
starnote
2019-12-15 08:33
RE: test
IPFS的全称是InterPlanetary File System(星际文件系统),从名称上看,这是一个很炫酷、很有野心的项目。简单地说它就是一个点对点的分布式文件系统。官网和github都可以找到所有的相关资料。建议从它的白皮书,和直译中文版本开始了解,后面我们会慢慢地认识它。白皮书上指出了多个应用场景:
$ 0.141
2