clab69
Exp2 :
~ sudo apt install gcc
~ gcc --version
~ sudo apt install build-essential
~ touch hello.c
~ gcc hello.c -o test
~ ./test
Exp3 :
YAML :
application: hello
version: 1
runtime: python27
api_version: 1
threadsafe: false
handlers:
- url: /.*
script: index.py
Python :
print 'Hello NHCE';
~ gcloud components install app-engine-go
~ google-cloud-sdk\bin\dev_appserver.py “location-of-the-desktop-folder”
Exp4 :
- Open Devices > Shared Folders > Shared Folders Settings.
- Click on the Add new share folder button
- Browse for the folder you plan to share, and click Select Folder.
- In Add Share, give the share a name you can use in both operating systems.
- Check Auto-mount and Make permanent, then OK.
- Click Devices – Insert Guest Addition CD Images and install guest addition
- Create New Folder on Ubuntu where you need to attach the Windows file
- Run the following command in the terminal to attach the windows fil
~ sudo mount –t vboxsf <Windows Folder Name> <Ubuntu Folder Name>
s
Exp 5 :
PROCEDURE
- Open Google Cloud Console
- Create a new project
- Select the project and activate cloud shell
- Execute the following commands in cloud shell
- Navigate to API and Services in menu. Enable API and services
- Search App Engine API and select App Engine Admin API and Enable
- Open cloud shell and perform the following commands
- Drag and drop the website documents in the editor window
- Type
gcloud app deployin cloud shell
commands :
~ gcloud projects list
~ gcloud config set project <project-id>
~ gcloud app create
~ gcloud app deploy
Exp 7 :
~ docker pull docker/getting-started
~ docker run -d -p 80:80 docker/getting-started
~ docker ps -a
Exp 8 :
~ 1. Create a parent folder TEST
~ 2. create new file insside it Dockerfile :
FROM nginx
COPY /src/index.html /usr/share/nginx/html/index.html
~ 3. create a new folder inside TEST -> src : inside that create new html code.
~ 4. Terminal Commands :
~ Docker build -t test .
~ Docker run -p 80:80 test
~ localhost:80