본문 바로가기

728x90
반응형

리눅스

SPA와 MPA 차이점 및 장단점 비교 SPA와 MPA 차이점 및 장단점 비교 SPA와 MPA는 모두 웹 애플리케이션의 유형을 나타내는데, SPA는 Single-Page Application, MPA는 Multi-Page Application을 의미합니다. SPA는 단일 HTML 페이지를 로드하고, 이후에는 JavaScript를 사용하여 필요한 데이터와 UI 요소를 동적으로 로드하는 방식을 채택합니다. 이는 사용자가 다른 페이지로 이동할 때마다 전체 페이지를 로드하지 않아도 되기 때문에 애플리케이션의 반응성이 높아집니다. SPA의 대표적인 예로는 Gmail, Facebook 등이 있습니다. SPA에서는 주로 React, Vue.js, Angular 등의 프론트엔드 프레임워크를 사용하여 개발합니다. 이러한 프레임워크는 상태 관리와 라우팅과 같은.. 더보기
리눅스에서 MySQL을 설치하는 방법 리눅스에서 MySQL 설치하는 방법 1. MySQL 다운로드 MySQL 공식 웹사이트 (https://dev.mysql.com/downloads/mysql/)에서 해당 버전의 tar 파일을 다운로드합니다. 다운로드한 파일은 원하는 경로에 저장합니다. 2. 설치 디렉토리 생성 MySQL을 설치할 디렉토리를 생성합니다. sudo mkdir -p /usr/local/mysql 3. tar 파일 압축 해제 다운로드한 tar 파일을 압축 해제합니다. sudo tar xvf mysql-*.tar -C /usr/local/mysql --strip-components=1 4. MySQL 사용자 및 그룹 생성 MySQL을 실행할 사용자와 그룹을 생성합니다. sudo groupadd mysql sudo useradd -r.. 더보기
앤서블 디렉토리 레이아웃(Directory Layout) 앤서블 디렉토리 레이아웃(Directory Layout) 디렉토리 레이아웃(Directory Layout) production # inventory file for production servers staging # inventory file for staging environment group_vars/ group1.yml # here we assign variables to particular groups group2.yml host_vars/ hostname1.yml # here we assign variables to particular systems hostname2.yml library/ # if any custom modules, put them here (optional) module_ut.. 더보기
ansibe 명령어 ansibe 명령어 ansible : 호스트 집합에 대해 단일 작업 'playbook' 정의 및 실행 ansible-config : 앤서블 구성 보기 ansible-inventory : 앤서블이 보는 대로 구성된 인벤토리를 표시하거나 덤프하는 데 사용됩니다. ansible-playbook : 앤서블 플레이북을 실행하여 대상 호스트에서 정의된 작업을 실행합니다. ansible-doc : 플러그인 문서화 도구 ansible-galaxy : 다양한 역할 및 수집 관련 작업을 수행합니다. ansible ansible -m ping all ansible-config ansible-config init -f vars --disabled ansible-inventory ansible-inventory -i ~/inv.. 더보기

728x90
반응형