我的評(píng)論
re: centos8 安裝 docker 狼愛(ài)上貍 2020-05-18 08:50
3. 配置鏡像加速器
針對(duì)Docker客戶端版本大于 1.10.0 的用戶
您可以通過(guò)修改daemon配置文件/etc/docker/daemon.json來(lái)使用加速器
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://qr18msx0.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
針對(duì)Docker客戶端版本大于 1.10.0 的用戶
您可以通過(guò)修改daemon配置文件/etc/docker/daemon.json來(lái)使用加速器
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://qr18msx0.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
re: centos8 安裝 docker 狼愛(ài)上貍 2020-05-18 08:33
1。centos8安裝docker19.03.8報(bào)錯(cuò)的問(wèn)題
:
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
2。docker的阿里云鏡像地址
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
:
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
2。docker的阿里云鏡像地址
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
re: centos8 安裝 docker 狼愛(ài)上貍 2020-05-06 13:03
re: windows安裝web3 狼愛(ài)上貍 2019-06-19 08:22
1.ubuntu
sudo npm install web3@^0.20.0
2.windows
npm install web3@0.20.0
默認(rèn)安裝就是1.0以上版本,
運(yùn)行時(shí)哪怕是個(gè)顯示web3版本號(hào)都會(huì)出現(xiàn)undefined。
會(huì)非常郁悶的。
sudo npm install web3@^0.20.0
2.windows
npm install web3@0.20.0
默認(rèn)安裝就是1.0以上版本,
運(yùn)行時(shí)哪怕是個(gè)顯示web3版本號(hào)都會(huì)出現(xiàn)undefined。
會(huì)非常郁悶的。
re: 安裝intelliJ IDEA2018.3 狼愛(ài)上貍 2019-06-15 22:54
17.修復(fù)縮進(jìn)問(wèn)題。全選,然后按Ctrl+Alt+I。
re: 安裝intelliJ IDEA2018.3 狼愛(ài)上貍 2019-06-15 17:00
11.配置IDEA。打開(kāi)File-Setting-Tools--External Tools,右邊區(qū)域點(diǎn)擊+號(hào)
12.Name:solidity
Program:solcjs.cmd
Arguments:--abi --bin $FileName$ -o $FileDir$
Working directory:$FileDir$
13.輸入:
pragma solidity ^0.5.9;
contract HelloWorld{
string public name = "jonson";
function getName() public view returns(string memory){
return name;
}
function changeName(string memory _name) public{
name = _name;
}
function testPure(uint a,uint b) public pure returns(uint){
return a+b;
}
}
14.Tools-External Tools->solidity
15.輸出結(jié)果:
Process finished with exit code 0
16.在C:\Users\Administrator\IdeaProjects\1下,多了2個(gè)文件,test_sol_HelloWorld.abi和test_sol_HelloWorld.bin文件,即為成功。
12.Name:solidity
Program:solcjs.cmd
Arguments:--abi --bin $FileName$ -o $FileDir$
Working directory:$FileDir$
13.輸入:
pragma solidity ^0.5.9;
contract HelloWorld{
string public name = "jonson";
function getName() public view returns(string memory){
return name;
}
function changeName(string memory _name) public{
name = _name;
}
function testPure(uint a,uint b) public pure returns(uint){
return a+b;
}
}
14.Tools-External Tools->solidity
15.輸出結(jié)果:
Process finished with exit code 0
16.在C:\Users\Administrator\IdeaProjects\1下,多了2個(gè)文件,test_sol_HelloWorld.abi和test_sol_HelloWorld.bin文件,即為成功。
re: 安裝intelliJ IDEA2018.3 狼愛(ài)上貍 2019-06-15 16:53
6 為了能在IDEA里編譯sol智能合約文件,需要安裝nodejs文件,下載地址:
https://nodejs.org/en/download/
7.安裝后,cmd -> powershell
8.npm install --global --production windows-build-tools
9.npm install -g solc
10.命令行里輸入solcjs輸出Must provide a file.即為成功。
https://nodejs.org/en/download/
7.安裝后,cmd -> powershell
8.npm install --global --production windows-build-tools
9.npm install -g solc
10.命令行里輸入solcjs輸出Must provide a file.即為成功。
re: ubuntu 下查看caj文件 狼愛(ài)上貍 2019-05-28 09:50
我用第二種方法裝的。
運(yùn)行 wine CAJVieweru.exe 時(shí)
出現(xiàn)錯(cuò)誤
wine: cannot find L"C:\\windows\\system32\\CAJVieweru.exe"
解決辦法:
sudo chmod u+x CAJVieweru.exe //修改權(quán)限
就可以了。
運(yùn)行 wine CAJVieweru.exe 時(shí)
出現(xiàn)錯(cuò)誤
wine: cannot find L"C:\\windows\\system32\\CAJVieweru.exe"
解決辦法:
sudo chmod u+x CAJVieweru.exe //修改權(quán)限
就可以了。
re: Ubuntu 16.04 藍(lán)牙4.0自動(dòng)連接 狼愛(ài)上貍 2019-05-17 11:12
播放器:sudo apt-get install smplayer
就可以播放酷狗網(wǎng)頁(yè)音樂(lè)了
smplayer已經(jīng)夠用了,如果想更豐富的看國(guó)產(chǎn)神器吧:(是基于smplayer二次開(kāi)發(fā)的)
麒麟影音:http://www.ubuntukylin.com/application/show.php?id=277
就可以播放酷狗網(wǎng)頁(yè)音樂(lè)了
smplayer已經(jīng)夠用了,如果想更豐富的看國(guó)產(chǎn)神器吧:(是基于smplayer二次開(kāi)發(fā)的)
麒麟影音:http://www.ubuntukylin.com/application/show.php?id=277
re: jdk+tomcat+linux+oracle安裝 狼愛(ài)上貍 2007-07-10 06:27
jdk/tomcat/apache安裝都寫(xiě)的非常的好,希望樓主繼續(xù)把oracle安裝寫(xiě)好。