본문 바로가기

전체 글

(119)
[ Docker ] Apache ↔ Tomcat 연동 서버 만들기 1. 연동 서버 이미지 및 실행 파일 설치 ( cmd 실행 ) :: docker toolbox 로 이용하여 도커 사용시 아래 명령어를 이용하여 docker toolbox 실행 :: docker-machine start :: centos 이미지 확인 :: [ https://hub.docker.com/ ] 에서 태그(버전) 확인 docker search centos :: centos7 이미지 다운로드 docker pull centos:7 :: centos7 이미지 다운로드 확인 docker images :: centos7 bandit 이라는 이름으로 설치 :: -d : background 로 실행 :: -p : 포트 포워딩 :: -it : 터미널 입력모드 사용 :: --privileged ~ init : s..
[ Linux ] APACHE 서버 설치 [ APACHE 서버 ] yum -y install wget yum -y install libtool yum -y install make yum -y install gcc-c++ yum -y install pcre-devel mkdir -p /app/install /app/temp wget https://downloads.apache.org/httpd/httpd-2.4.55.tar.gz -O /app/install/httpd-2.4.55.tar.gz wget https://downloads.apache.org/apr/apr-1.7.0.tar.gz -O /app/install/apr-1.7.0.tar.gz wget https://downloads.apache.org/apr/apr-util-1.6.1.tar..
[ JavaScript ] 크롬 확장프로그램 마우스 우클릭 방지 1. manifest.json { "name": "MouseDrag", "version": "1.1", "manifest_version": 3, "description": "Available your Mouse Drag, Select And Right Click", "background": { "service_worker": "background.js" }, "action": { "default_icon": "mouseDrag.png" }, "permissions": ["activeTab", "scripting"], "host_permissions": [ "file:///*/*", "https://*/*", "http://*/*" ] } 2. background.js chrome.action.onClic..
[ Convention ] 시멘틱 버전 관리 보호되어 있는 글입니다.
[ Git ] Git 컨벤션 GIt 커밋 메시지는 아래와 작성합니다. type subject [[(issue num)] | body ... ... footer [(issue num)] ] 예를 들어 다음과 같습니다. # body 를 작성하지 않을 경우 ♻️ 메인 소스 코드 리펙토링 # body 를 작성하지 않은 이슈 대응 작업 🚑️ 핫픽스 대응 (#215) # body를 작성하는 경우 🐛 버그 발생 대응 메인 엑티비티 발생 에러 - activity_main.xml 의 내용 삭제 Closes # body를 작성한 이슈 대응 작업 ✨ 회원가입 기능 추가 로그인 액티비티 회원가입 기능 추가 - activity_login.xml 의 회원가입 추가 Closes (#241) Git 커밋에 사용되는 문구의 타입은 아래의 이모지를 사용합니다. 이..
[ Git ] Git 자격증명 사용 프로젝트를 깃 허브등의 서버에 업로드 할 때 사용자 인증을 위한 아이디 및 패스워드가 필요하다. 개발 중 업로드 시 마다 아이디 및 패스워드를 치는 것이 불편하기 때문에 Credntial Helper 라는 것을 사용해 아이디 및 패스워드 입력을 생략할 수 있다. 깃허브의 경우 패스워드가 깃 허브 로그인 패스워드가 아닌 토큰이라고 하는 값을 패스워드로 사용한다. 토큰 발급 방법은 다음과 같다. 발급 받은 자격증명을 이용해서 Credntial Helper 를 이용하는 방법은 다음과 같다. 1. 공통 - 자격증명이 필요할 때마다 아이디/토큰 값 입력 # credential helper 삭제 git config --global --unset credential.helper git config --system -..
[ Git ] Git 명령어 활용 0. 깃 도움말 # git 명령어 확인 git help # git 모든 명령어 확인 git help -a # git 명령어의 설명과 옵션보기 git 명령어 -h 1. 깃 버전 확인 git --version 2. 깃 OS간 개행 문자 차이로 인한 문제 해결 # 윈도우의 경우 git config --global core.autocrlf true # 맥의 경우 brew install git git config --global core.autocrlf input 3. 깃 초기 설정 # 현재 설정 확인 git config --global --list # 현재 설정 에디터에서 확인 git config --global -e # 기본 사용 에디터 변경 git config --global core.editor "에디터이..
[ Linux ] APACHE SSL 설정 [ 임시저장 ] 1. CentOS7 [ Apache Server ] yum -y install mod_ssl yum -y install openssl mkdir -p /app/ssl # ROOT CA 개인키 생성 openssl genrsa -aes256 -passout pass:P@ssw0rd! -out /app/ssl/rootca.key 2048 chmod 600 /app/ssl/rootca.key # ROOT CA 인증요청서 생성 cat