Sign inSign up

dandi200600/cloudresponsi195410028

By dandi200600

Updated over 5 years ago

Image
0

2.0K

dandi200600/cloudresponsi195410028 repository overview

Cloud195410028

LINK DOCKER HUB :

  https://hub.docker.com/r/dandi200600/cloudresponsi195410028

LINK IMAGE Docker hub :

php:7.4-apache :

  https://hub.docker.com/_/php
  
  

mysql :

  https://hub.docker.com/_/mysql
  

PETUNJUK/TUTORIAL :

  1. git clone pada terminal unbuntu/katacoda :
 git clone https://github.com/dandi200600/Cloud195410028.git
  1. pull image dari dockerhub pada terminal unbuntu/katacoda :
 docker pull dandi200600/cloudresponsi195410028
  1. masuk ke dalam directory file dari dari repostory github :
 cd Cloud195410028
  1. Setelah masuk ke dalam repostory github dandi200600/Cloud195410028 jalankan perintah berikut :
 docker-compose up -d
  1. setelah selesai buka web browser, untuk akses localhost :

lcl

 localhost --> port 80 masuk ke menu web

localhost

 localhost:8080 --> untuk masuk ke dalam adminer database mysql

localhost8080 8080

  1. setting database mysql dengan menggunakan adminer yang diakses dari localhost:8080 tadi dengan cara login ke database :
 username : root
 password : example
 database : (none atau dikosongkan)
 

login db

lalu create database dengan nama :

 akademik

create db

buat tabel dengan nama :

 mahasiswa

buat kolom table dengan format :

  Nim | int | length (11) | options (kosong) | NOT NULL | AI (isi, yang merupakan primary key) |
  Nama_Mhs | varchar | length (50) | NOT NULL | options (latin1)
  Jenis_Kelamin | varchar | length (50) | NOT NULL | options (latin1)
  Program_Studi | varchar | length (50) | NOT NULL | options (latin1)
  default values (conteng), comment (conteng)
  

table

Kemudian klik save (simpan)

table2

  1. buka localhost/localhost:80 untuk mengakses web kembali. kemudian web tersebut dapat melakukan proses CRUD.

apk apk1 apk2

  1. untuk menghentikan docker composer dengan mengetikan perintah berikut pada terminal unbuntu/katacoda :
 docker-compose down

Tag summary

Content type

Image

Digest

Size

140.2 MB

Last updated

over 5 years ago

docker pull dandi200600/cloudresponsi195410028