Created
February 2, 2018 23:43
-
-
Save dontfight/188f7e3fb08eba740a89af9becac979c to your computer and use it in GitHub Desktop.
ubuntu setup history
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
| 1 ifconfig | |
| 2 sudo apt update | |
| 3 sudo apt install openssh-server | |
| 4 ifconfig | |
| 5 sudo shutdown now | |
| 6 curl -O https://hyperledger.github.io/composer/prereqs-ubuntu.sh | |
| 7 chmod u+x prereqs-ubuntu.sh | |
| 8 ./prereqs-ubuntu.sh | |
| 9 logout | |
| 10 ifconfig | |
| 11 sudo reboot | |
| 12 ifconfig | |
| 13 ifconfig|less | |
| 14 history|less | |
| 15 w | |
| 16 sudo restart | |
| 17 sudo reboot | |
| 18 ls -la | |
| 19 cd ~ | |
| 20 ls -la | |
| 21 composer -v | |
| 22 npm install -g composer-cli@0.16.2 | |
| 23 composer -v | |
| 24 git clone --recursive git@github.com:HealthChainRx/healthchain.git | |
| 25 ls -la | |
| 26 ssh-keygen -t rsa -b 4096 -C "your_email@example.com" | |
| 27 ssh-keygen -t rsa -b 4096 -C "bruce@virtualbox" | |
| 28 less ~/.ssh/id_rsa.pub | |
| 29 git clone --recursive git@github.com:HealthChainRx/healthchain.git | |
| 30 cd healthchain/ | |
| 31 git submodule update --init --recursive | |
| 32 git submodule foreach npm install | |
| 33 cd packages/healthchain-fabric/local | |
| 34 curl -sSL https://goo.gl/byy2Qj | bash -s 1.0.4 | |
| 35 ./clean-network.sh | |
| 36 ./fabric-network.sh | |
| 37 composer | |
| 38 ls -la | |
| 39 cd composer_deployer | |
| 40 docker ps|grep composer | |
| 41 docker exec cli.org.healthchain.ca peer channel list | |
| 42 docker ps |grep peers | |
| 43 docker ps |grep peer | |
| 44 docker exec fa73253d4527 peer channel list | |
| 45 docker exec 89350e1fa1ab peer channel list | |
| 46 cd composer_deployer | |
| 47 ./bin/build | |
| 48 ./bin/deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment