태그: MAC

8/8 mac+php+mariadb+nginx+ssl 설정

8. ssl 테스트Vue 로 간단하게 title 과 status , priority 를 입력 받아 저장하고 조회하는 화면을 만들어 보았습니다. 1. 타스크 생성 및 조회2. source1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515

7/8 mac+php+mariadb+nginx+ssl 설정

7. 무료 도메인 발급요즘 대부분의 웹서버는 https 통신을 합니다. 이제는 선택이 아닌 필수 인것 같네요 제가 서버를 구축하게 된 직접적인 원인도 https설정을 하기 위함입니다. nginx 에 https 서비스를 구성하기 위해서는 도메인이 필요합니다. 도메인이 준비되면 certbot을 통해서무료 ssl 인증서 적용 및 http/2 적용이

6/8 mac+php+mariadb+nginx+ssl 설정

6. Nginx 설정php 와 nginx 상세설정 내용입니다. 1. nginx.conf 변경아래 명령어로 nginx 의 전반적인 설정(로그나 worker 수등)을 진행합니다. 1sudo vi /etc/nginx/nginx.conf 전체 설정한 내용은 아래와 같습니다. 1,2,3,5,9,17-19,22,24,25,26,31,49 라인 수정1234567

5/8 mac+php+mariadb+nginx+ssl 설정

5. PHP 7.4 설치 및 설정1. repository 추가최신 버전의 php를 설치하기 위해 저장소를 등록합니다. 1goodsaem@goodsaem:~$ sudo apt -y install software-properties-common 아래 명령어를 입력하고 중간에 엔터를 입력하는 부분에서 엔터를 입력합니다. 12345678910111213141

4/8 mac+php+mariadb+nginx+ssl 설정

4. MariaDB 설치mariadb 설치를 진행하겠습니다. 1. 설치우선 repository 부터 아래와 같이 설정합니다. 123goodsaem@goodsaem:~$ sudo apt-get install software-properties-commongoodsaem@goodsaem:~$ sudo apt-key adv --fetch-keys '

3/8 mac+php+mariadb+nginx+ssl 설정

3. Nginx 설치Linux + Nginx + MariaDB + PHP 조합의 LEMP 설치를 진행하겠습니다. 첫번째로 Nginx 에 대해서 설치 하겠습니다. 1. Nginx 현위치https://news.netcraft.com/archives/category/web-server-survey/netcrat의 21년 웹서버 점유율을 보면 아래와 같습니

2/8 mac+php+mariadb+nginx+ssl 설정

2. sever 설정ubuntu 서버의 설정을 진행 하겠습니다. 1. 버전확인먼저 버전을 확인합니다. 다운로드 받은 파일로 설치되어 있습니다. 123456goodsaem@goodsaem:~$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 18

1/8 mac+php+mariadb+nginx+ssl 설정

1. 맥개발 환경mac virtualbox 환경에 ubuntu 18.04.5 서버를 구축하겠습니다. 1. 다운로드아래 url 에서 다운로들 진행합니다. https://ubuntu.com/download/server 2. virtualbox 에서 설치하기새로 만들기를 클릭합니다. 이름은 ubuntu 라고 입력합니다. 메모리 크기는 적