전체보기 87

[NGINX - Server] NGINX + Node 연동하기

목록 NGINX 설치하기 Node 설치하기 NGINX + Node 연동하기 NGINX 서버에서 설정을 해야합니다. 1) 셀리눅스 보안해제 # setsebool -P httpd_can_network_connect 1 2) nginx 설정파일 수정 -- 선택 1. default.conf 가 include 되어있는 부분을 지우고 직접 입력하기 vi /etc/nginx/nginx.conf -- 선택 2. default.conf 를 수정하기 vi /etc/nginx/conf.d/default.conf proxy_pass http://[Node 서버 아이피]:[Node Port]; server { listen 80; server_name localhost; // 추가내용 location / { proxy_set_h..

카테고리 없음 2019.08.29

[NGINX - Server] 설치하기

목록 NGINX 설치하기 Node 설치하기 NGINX + Node 연동하기 1) 다운받을 저장소 등록 # yum install -y yum-utils # vi /etc/yum.repos.d/nginx.repo [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key [nginx-mainline] name=nginx mainline repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basea..

카테고리 없음 2019.08.29

[NodeJS - Server] 설치하기

목록 설치하기 프로젝트 폴더 세팅하기 1) 최신버전 사용을 위한 저장소 추가(setup_11.x, setup_12.x .... 버전에따라 셋팅해주면 됩니다.) # curl -sL https://rpm.nodesource.com/setup_10.x | bash - # sudo yum clean all && sudo yum makecache fast 2) 의존성 패키지 설치 # sudo yum install -y gcc-c++ make 3) node js 설치 # sudo yum install -y nodejs 4) 버전 확인 # node -v 5) 셀리눅스 보안해제 # setsebool -P httpd_can_network_connect 1

카테고리 없음 2019.08.29

[Git - Server] 원격 저장소 만들기

목록 설치하기 깃 전용 사용자 생성 깃 서버 SSH-KEY 생성 비밀번호 없이 접속이 가능하도록 SSH-KEY 등록 원격 저장소 만들기 1) 저장소 폴더 생성 : sample.git $ mkdir -p /home/git/repo/sample.git/ $ cd /home/git/repo/sample.git/ $ git init --bare --shared 2) 외부에서 sample.git 프로젝트를 받는 명령어 $ git clone ssh://[유저아이디]@[서버아이피]:[포트]/[저장소경로] ex) git clone ssh:/git@192.168.136.122/home/git/repo/sample.git

카테고리 없음 2019.08.29

[개발환경 구성하기] Windows - Git 설치하기

링크 https://gitforwindows.org/ Git for Windows Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. Git BASH Git for Windows provides a BA gitforwindows.org 1) 위에있는 링크에 접속 후 [Download] 버튼 클릭 2) 원하는 폴더를 더블클릭 후 [저장] 버튼 클릭 3) 받은 설치파일을 더블..

카테고리 없음 2019.08.29

[개발환경 구성하기] 윈도우에서 SSH Key 생성하기

목록 CentOS 7 minimal - 설치 및 파티션 할당 CentOS 7 minimal - 네트워크 설정 CentOS 7 minimal - SSH 접속허용 CentOS 7 minimal - SFTP 접속허용 CentOS 7 minimal - 포트포워딩 참고 : Windows 10 - SSH Key 생성하기 참고 : CentOS 7 minimal - JAVA 8 설치하기 먼저 해야할 작업 Git 설치하기 1) Git Bash 실행하기 2) .ssh 폴더 생성하고 안으로 이동하기 $ mkdir .ssh $ cd .ssh 3) ssh rsa key 생성하기 ( : 이 나오면 3번 다 엔터) $ ssh-keygen -t rsa

카테고리 없음 2019.08.29