[born2beroot] Bonus part_ Wordpress

Cadet_42·2021년 7월 7일
0

Born2beroot

목록 보기
4/5

Born2beroot bonus part

#Bonuspart subject :

  • Set up a functional Wordpress website with the following services : lighttpd, MariaDB and PHP.
  • Set up a service of your choice that you think is useful (NGINX /Apache2 excluded!). During the defense, you will have to justify your choice.
  • To complete the bonus part, you have the possibility to set up extra
    services. In this case, you may open more ports to suit your needs.
    Of course, the UFW rules has to be adapted accordingly.

Wp를 설치 하려면 php를 사용할수 있는 웹서버와(lighttpd) 데이터베이스 서버가(MariaDB) 필요함.

1. PHP

서버측에서 실행되는 프로그램 언어 (사용언어: HTML).
웹개발에 특화된 언어로, 개인이 홈페이지를 쉽게 만들기 위해 개발된 실용적 가벼운 도구.

2. Lighttpd (웹서버)

적은 자원을 사용하여 높은 성능을 내는 오픈소스 웹 서버 애플리케이션.
빠른 처리 속도와 가벼운 용량이 장점.

3. MariaDB (데이터베이스 서버)

RDBMS Software, Opensource
Unix socket방식으로 인증/접속 (sudo) 하는 방식을 채택하고 있다.
=> mysql의 사용자와 시스템 사용자를 일치시킨다. 이로인해, 항상 sudo를 통해 접속해야 한다.

4. IP Address 127.0.0.1 (loopback / localhost)

IP주소 127.0.0.1은 localhost 또는 루프백 주소라고 하는 특수 목적의 IPv4 주소이다.
모든 컴퓨터는 이 주소를 자체 주소로 사용하지만 실제 ip주소처럼 다른 장치와 통신 할 수는 없다.
=> 즉, 네트워크를 구축하지 않고도 네트워크처럼 응답을 보내고 받는것이 가능하다.

루프백은 내 컴퓨터가 내 컴퓨터에 응답을 보내고 받는 기능이기 때문에, DNS(Domain Name Server)를 통해 ip 주소로 변환 할 수 있는 기능이 없다.

예시)

< localhost와 127.0.0.1의 차이점 >
localhost:3000 은 www.naver.com
127.0.0.1:3000은 125.209.222.141 (네이버 ip 주소)

5. HTTP(Hyper Transfer Protocol)

  • Web applications are applications that run over HTTP from web servers(known as APIs) to web browsers(also known as clients)

  • HTTP is the set of rules for transferring files(text, graphic images, sound, video, and other multimedia files) on the World Wide Web

  • web browsers (clients) : this is what users see
  • web servers : this is where the logic of the app is defined

출처 :

  1. debian10 버전을 위한 lighttpd,php, mariadb 설치 사용법
    https://www.howtoforge.com/how-to-install-lighttpd-with-php-and-mariadb-on-debian-10/
  2. lighttpd웹서버에 wordpress설치 하는법
    https://www.how2shout.com/linux/install-wordpress-on-lighttpd-web-server-ubuntu/
  3. 루프백 ip주소 설명
    https://ko.eyewated.com/127-0-0-1-ip-%EC%A3%BC%EC%86%8C-%EC%84%A4%EB%AA%85/
    https://velog.io/@lky9303/127.0.0.1-%EA%B3%BC-localhost%EC%9D%98-%EC%B0%A8%EC%9D%B4
profile
안녕하세요! 개발공부를 하고 있습니다. 감사히 배우겠습니다. ;)

0개의 댓글