This file contains 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 yum install -y epel-release | |
sudo yum install -y python36 | |
sudo yum install -y python36-devel | |
sudo yum install -y python36-pip | |
sudo yum install -y python36-setuptools | |
sudo easy_install-3.6 pip | |
sudo python3.6 -m pip install --upgrade pip setuptools wheel | |
sudo python3 -m pip install faker | |
sudo python3 -m pip install ipaddress |
This file contains 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 yum install -y epel-release | |
sudo yum install -y python36 | |
sudo yum install -y python36-devel | |
sudo yum install -y python36-pip | |
sudo yum install -y python36-setuptools | |
sudo easy_install-3.6 pip | |
sudo python3.6 -m pip install --upgrade pip setuptools wheel |
This file contains 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
docker pull ubuntu # downloads image from Docker repository | |
docker ps -a # shows all available containers | |
docker ps -as # shows all containers with the actual size of the rw-layer | |
docker exec -ti ceb1be03097d /bin/bash # run bash on running container | |
docker commit ceb1be03097d /: # create image based on container |
This file contains 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
pi@raspberrypi:~ $ /opt/vc/bin/vcgencmd measure_temp | |
temp=56.9'C |
NewerOlder