Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore tutorial_instalasi_slims_berbasis_docker_v1

tutorial_instalasi_slims_berbasis_docker_v1

Published by Nono Sutisno, 2021-11-26 10:44:28

Description: tutorial_instalasi_slims_berbasis_docker_v1

Search

Read the Text Version

Instalasi Docker di Ubuntu 18.04 Ref: https://docs.docker.com/install/linux/docker-ce/ubuntu/ sudo apt-get remove docker docker-engine docker.io containerd runc sudo apt autoremove sudo apt-get update sudo apt-get install \\ apt-transport-https \\ ca-certificates \\ curl \\ gnupg-agent \\ Software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo apt-key fingerprint 0EBFCD88 sudo add-apt-repository \\ \"deb [arch=amd64] https://download.docker.com/linux/ubuntu \\ $(lsb_release -cs) \\ Stable\" sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io

Instalasi Docker di Ubuntu 18.04 Tes dengan menjalankan: sudo docker run hello-world nanti akan muncul tampilan kira-kira seperti: Unable to find image 'hello-world:latest' locally latest: Pulling from library/hello-world 1b930d010525: Pull complete Digest: sha256:fc6a51919cfeb2e6763f62b6d9e8815acbf7cd2e476ea353743570610737b752 Status: Downloaded newer image for hello-world:latest Hello from Docker! This message shows that your installation appears to be working correctly. To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub. (amd64) 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal. To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/ For more examples and ideas, visit: https://docs.docker.com/get-started/ SELAMAT, berarti sudah berhasil install Docker di Ubuntu 18.04

Instalasi Docker compose di Ubuntu 18.04 sudo curl -L \"https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$ (uname -s)-$(uname -m)\" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose Tes dengan menjalankan: docker-compose --version maka akan muncul pesan semacam dibawah ini: docker-compose version 1.25.4, build 8d51620a

Install SLiMS (fresh install, new install) di Ubuntu berbasis Docker Opsional: Buat folder .slims: cd mkdir -p .slims Kemudian masuk ke folder tersebut: cd .slims Akses web: https://github.com/slims/docker-compose-for-slims Kemudian unduh di \"Clone or dowload\" => \"Download ZIP\" (https://github.com/slims/docker- compose-for-slims/archive/master.zip) wget -c https://github.com/slims/docker-compose-for-slims/archive/master.zip Install aplikasi unzip: sudo apt-get install unzip Kemudian unzip file master.zip unzip master.zip akan terbentuk folder \"docker-compose-for-slims-master\" rename biar lebih pendek: mv docker-compose-for-slims-master compose masuk ke folder \"compose\": cd compose

Install SLiMS (fresh install, new install) di Ubuntu berbasis Docker Di dalam folder app/slims sudah tersedia SLiMS Bulian versi 9.1.1. Opsional: Jika ingin mengganti dengan versi SLiMS yang lebih tinggi, tinggal download, ekstrak dan rename folder menjadi \"slims\". Oke berikutny menjalankan Docker compose. Ada tiga opsi untuk menjalankannya: (1) versi Default. Menggunakan Apache web server, Database, and mekanisme session bawaan. untuk menjalankan servis: sudo docker-compose -f docker-compose.yaml up -d --remove-orphans untuk mematikan servis: sudo docker-compose -f docker-compose.yaml down (2) Versi Redis: Menggunakan Apache web server, Database, mekanisme session menggunakan Redis. untuk menjalankan servis: sudo docker-compose -f docker-compose-redis.yaml up -d --remove-orphans untuk mematikan servis: sudo docker-compose -f docker-compose-redis.yaml down (3) Versi advanced. 3 instance container SLiMS di load balancing dengan haproxy. Mensyaratkan haproxy diinstall pada Host server. untuk menginstall haproxy: sudo apt-get install haproxy Kemudian replace file /etc/haproxy/haproxy.cfg dengan file compose/conf/haproxy/haproxy.cfg sudo cp conf/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg untuk menjalankan servis: sudo docker-compose -f docker-compose-redis-load_balanced-haproxy.yaml up -d --remove- orphans untuk mematikan servis: sudo docker-compose -f docker-compose-redis-load_balanced-haproxy.yaml down

Install SLiMS (fresh install, new install) di Ubuntu berbasis Docker Oiya jangan lupa agar folder images, files, repository dan config bisa ditulis oleh web server: sudo chmod -R 777 app/slims/files app/slims/repository app/slims/images app/slims/config harusnya slims sudah bisa diakses dan langsung masuk ke menu instalasi berbasis web. Sebelum mulai melakukan instalasi, alangkah baiknya merubah password default root password MySQL dalam file “db_default.env”. Jangan lupa ya.
















Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook