ComputerScience(112)
-
[Docker] Dockerfile WebSocket Client/Server Build
# Dockerfile WebSocket https://leimao.github.io/blog/Boost-Docker/ Boost C++ Library Docker ContainerPortable and Convenient C++ Libraryleimao.github.io ๐ฉ๐ปDocker desktop์ ํตํด ์์ ๋์์ ํด๋ผ์ด์ธํธ๋ฅผ ์ด์ด๋ ๋๊ณ , (์๋ฒ์ ํด๋ผ์ด์ธํธ๋ฅผ ํ๋์ ์ด๋ฏธ์ง ํ์ผ๋ก ๋น๋ํ ๊ฒฝ์ฐ) ์๋ก ๋ค๋ฅธ ์ด๋ฏธ์ง๋ก ๋ถ๋ฆฌํ์ฌ, ํต์ ์ ์ํฌ ์๋ ์์ต๋๋ค! ๐ณ ์ ์ถํ Docker hub link https://hub.docker.com/repository/docker/sohyeonkimdev/websocket_docker/general Doc..
2024.05.16 -
[Docker] Cpp Boost WebSocket Client/Server
# WebSocket Server/Client with Docker Composehttps://github.com/Chrischuck/websocket-docker-example GitHub - Chrischuck/websocket-docker-example: Example of a real time chat application with React, Express, Postgres, and Docker.Example of a real time chat application with React, Express, Postgres, and Docker. - Chrischuck/websocket-docker-examplegithub.com: Cpp ์น์์ผ ์์ ํ๋ก์ ํธ ๋๋ ค๋ณด๊ธฐ ..
2024.05.09 -
[FreeBSD] Kernel Services and Process Management
Kernel Services The boundary between the kernel- and user-level code is enforced by hardware-protection facilities provided by the underlying hardware. The kernel operates in a separate address space that is inaccessible to user processes. Privileged operations—such as starting I/O and halting the central processing unit (CPU)—are available to only the kernel. Applications request services from ..
2024.05.01 -
[Docker] ์ค๊ฐ๊ณ ์ฌ ์ ๋ฆฌ(2)
Chap5. Docker Introduction - ๋์ปค๋ ๊ตฌ๊ธ์ด ๋ง๋ SW ์๋๋ค. ‘Solomon Hykes’ ํ์ด์ฝ 2013์์ ๋ฐํ- 2013๋ , ๋์ปค๊ฐ Go ์ธ์ด๋ก ์ง ์๊ฐ, ์ฟ ๋ฒ๋คํฐ์ค ๋ฑ์ฅ (Go) -> ๋ sw๊ฐ ์ถ์๋๋ฉฐ Go ์ธ์ด๊ฐ ์ธ์ ๋ฐ์ - ๋์ปค๋ ๊ฑฐ์ ๋๋ถ๋ถ์ ํ๋ซํผ ์์ ์ฌ๋ผ๊ฐ๋ค + ์คํ์์ค / ํ๋ซํผ์ ๋ ๋ฆฝ์ ์ผ๋ก SW๋ฅผ ๋๋ฆด ์ ์๋ค -> OS์ ๋ฌด๊ดํ๊ฒ ๋์ปค ์์์ ์ดํ๋ฆฌ์ผ์ด์ ์ ์ง๋ฉด ๋๋ค, infrastructure ๊ณผ ๋ฌด๊ดํ๊ฒ ์ง๋ฉด ๋๋ค.- ํ๋ก๊ทธ๋๋ฐ ํ๋ฏ์ด infrastructure๋ฅผ ๊ด๋ฆฌํ ์ ์๋ค, infrastructure as code (IaC)- ์คํํ ํ๋ก๊ทธ๋จ์ ์์ค ์ฝ๋์, ์ด๋ฏธ์ง๋ฅผ ๋ง๋ค๊ธฐ์ํ ๋์ปค ํ์ผ ์ฝ๋, ์ด๋ ๊ฒ ์ฝ๋ ํ์ผ์ด 2๊ฐ ํ์ํ๋ค. * Immuta..
2024.05.01 -
[Docker] ์ค๊ฐ๊ณ ์ฌ ์ ๋ฆฌ(1)
Chap1. Overview - ์์ฒ ์๋ง๋์ ์ปดํจํฐ๋ค์ด ์น์ ๊ธฐ๋ฐ์ผ๋ก ์๋น์ค ex) ๊ตฌ๊ธ, MS / Datacenter programming ๊ธฐ์ ์ ๊ฐ๋ฐ ์ฒ ํ๊ณผ ๋ฐฐ๊ฒฝ๋ค – Agile, DevOps, CI/CD – Continuous Integration and Delivery, Microservice and Serverless - IP Address - ์ปดํจํฐ ๊ธฐ๊ธฐ์ ์ฃผ์ด์ง๋ ์ฃผ์, internet protocol address - Port number - ํ ์ปดํจํฐ ๋ด์์๋ ํ๋ก๊ทธ๋จ๋ง๋ค ์ฃผ์๊ฐ ๋ถ์ / ํ๋ก๊ทธ๋จ์ด OS์ ๊ตฌ๋ฉ์ ๋ซ๋ ๊ฒ ex) ์น์ 80๋ฒ ํฌํธ ์ฌ์ฉ - Domain name - ์ฌ๋์ด ์ดํดํ๊ธฐ ์ฌ์ด ์์ด ์ด๋ฆ / ๋ค์ ์๋ (com) ๋๋ฉ์ธ์ด ๋ ๋์ ๊ฐ๋ Ex) https://www..
2024.05.01 -
[Docker] Ubuntu Docker-machine ์ค์น
๐ณ2024. 04. 29 Monday ์ง๋ ์ค๊ฐ๊ณ ์ฌ ์ , ์ฐ๋ถํฌ์ GUI ์ค์น๊น์ง ๋ง์น ์ํฉ์ ๋๋ค. ๐ฉ๐ปdocker desktop์ ์ค์นํ ์ ์์๊ณ , ๋์ปค ๋ค์์ผ๋ก ๋์ปค ๋จธ์ ์ ์ค์นํด์คฌ์ต๋๋ค! https://docs.docker.com/engine/install/ubuntu/ Install Docker Engine on UbuntuJumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install Docker Engine on Ubuntu.docs.docker.comhttps://git..
2024.04.30 -
[Database] SQL Assignment 6
#1 SELECT last_name, hire_date FROM employees WHERE department_id in ( SELECT department_id FROM employees WHERE last_name = 'Zlotkey' ) AND last_name 'Zlotkey'; subquery ์์ด join์ผ๋ก ํํํ๊ธฐ SELECT D.last_name, D.hire_date FROM employees E, employees D WHERE E.department_id = D.department_id AND E.last_name = 'Zlotkey' AND D.last_name 'Zlotkey' #2 SELECT employee_id, last_name FROM employees WHERE sa..
2024.04.19 -
[Database] SQL Assignment 5
#1 SELECT MAX(salary) "Maximum", MIN(salary) "Minimum", SUM(salary) "Sum", AVG(salary) "Average" FROM employees #2 SELECT job_id, MAX(salary) "Maximum", MIN(salary) "Minimum", SUM(salary) "Sum", AVG(salary) "Average" FROM employees GROUP BY job_id #3 SELECT job_id, COUNT(employee_id) FROM employees GROUP BY job_id -- COUNT(*) : ๊ฐ ๊ทธ๋ฃน์ ํฌํ ์๋ฅผ count #4 SELECT COUNT(COUNT(MANAGER_ID)) "Number of mana..
2024.04.19 -
[Docker] M1 Docker-machine Error, Ubuntu ์ค์น
์ค๋ ์ฒ์์ผ๋ก m1 ์ ์ ๊ฐ ๋ ๊ฒ์ ํํํฉ๋๋ค .. https://github.com/docker/machine/releases Releases · docker/machineMachine management for a container-centric world. Contribute to docker/machine development by creating an account on GitHub.github.com์ ๋ ์๊น๋ฆฌ๋๋ผ๊ณ ์ ^^* . . ๋๋ฌผ์ ๋จธ๊ธ๊ณ ์ฐ๋ถํฌ ์ค์น r r https://velog.io/@suzu11/Mac-M1-์์-์ฐ๋ถํฌ-์ค์นํ๊ธฐ-UTM Mac M1 ์์ ์ฐ๋ถํฌ ์ค์นํ๊ธฐ ( UTM )๐ง ์ฐ๋ถํฌ๋ฅผ ๊น๊ธฐ ์ํ ์ฌ์ ๐งvelog.io ..
2024.04.17 -
[Docker] CI/CD with Jenkins
๋์ปค์์ ์ ํจ์ค๋ฅผ ํ์ฉํ์ฌ CI/CD ์ฒดํํ๊ธฐ https://www.jenkins.io Jenkins Jenkins – an open source automation server which enables developers around the world to reliably build, test, and deploy their software www.jenkins.io https://hub.docker.com/r/jenkins/jenkins Docker hub.docker.com * ์ฃผ์์ฌํญ - ํฐ๋ฏธ๋ ์์์ ํ์๋๋ key ๊ฐ์ ์ ์ฅํด๋ก๋๋ค. - ์ดํ ๋ก๊ทธ์ธ์ admin(ID)๊ณผ key ๊ฐ(๋น๋ฐ๋ฒํธ)๋ก ์งํ๋ฉ๋๋ค. - ๋์ผํ ํฌํธ๋ก ์ปจํ ์ด๋๋ฅผ ๋์ธ ์ ์์ผ๋, ํฌํธ ๋๋ฒ๋ฅผ ์์ ํด์ค๋๋ค. - ์์ดํ ํฌํธ..
2024.04.16