docker login
docker push repository:tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| sudo apt-get update | |
| cd /tmp | |
| ########################################### | |
| ################ install chrome ################ | |
| ########################################### | |
| #Download from qiniu (https://www.qiniu.com) |
Take port 8080 for example
netstat -ap | grep 8080
Take port 8080 for example
netstat -ap | grep 8080
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| ######################################## | |
| ############ Install Docker ############ | |
| ######################################## | |
| sudo apt-get remove docker docker-engine docker.io | |
| sudo apt-get update | |
| sudo apt-get install -y\ | |
| apt-transport-https \ | |
| ca-certificates \ |
A host(target-host) in the lab is behind the NAT. A host(public-host) in the aliyun has a public IP (120.79.47.78) I want to connect to the target-host from somewhere else (e.g., my dormitory)
Refer to ssh远程端口转发 for more details
- At public-host
# Modify the Line "#GatewayPorts no" to "GatewayPorts yes"
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc
sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum