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
# Log in to the ubuntu server by any means | |
sudo ssh -i [pemfile location] ubuntu@[ip] | |
-> Make a note ou ubuntu version in which you are logged in. For this its 16.04 | |
# Update ubuntu | |
sudo apt-get update | |
# Install python and python-pip | |
sudo apt-get install python && python-pip |
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 exec -it vizbi_nginx_1 bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all containers forcefully | |
docker rm -f $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
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
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/yashrastogi16/dubizzle.git | |
git push -u origin master |