APM이란 -Apache + php + mysql 을 뜻하며 -APM은 별도의 소프트웨어가 아닌, 3가지가 연동되어 웹서비스를 할 수 있는 환경을 말함 -웹서버를 구축하고 동작시키기 위해 APM을 많이 사용함 보통 웹서비스(실제서비스)를 할 때는 리눅스OS에서 APM을 설치해서 운영하지만 오늘은 테스트서버 및 공부 등으로 사용할 수 있게 자신의 pc에 설치하겠음 Apache 설치하기 1)Apache 다운로드 → 압축풀기 http://apachelounge.com/download/ 2)압축푼 폴더 안에 Apache24/conf/httpd.conf를 메모장으로 열어봄 3)httpd.conf 파일 내용을 수정합니다. 3-1) Define SRVROOT “Apache24를 설치한 경로” 3-2) ServerAd..
source tree 사용중 원격에 불이 들어옴 에러 : You don't have any remotes which have extended integration settings configured, you need to edit your remotes to add details such as the hosting type and base URL. Click the settings button to open your remote list 해결방법 1)위 화면에서 설정클릭 하면 아래창이 뜸 -> 추가클릭 2) - 원격이름 : 식별할 이름 아무꺼나 입력 - url / 경로 : 원격저장소의 clone주소 입력 - remote account에서 자기 계정을 선택 3) 확인누르면 다른 오류나, 해당방법으로 고칠 ..
Your password has expired. To log in you must change it using a client that supports expired passwords. You must reset your password using ALTER USER statement before executing this statement. 해결방법 ALTER USER 'root'@'localhost' IDENTIFIED BY '새로운 비밀번호'; 참고사이트 https://innocentk.tistory.com/170 [MYSQL]Connect Error: Your password has expired. To log in you must change it using a client that suppor..
git push시 아래와 같은 오류가 발생했다 remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating the current branch in a non-bare repository remote: error: is denied, because it will make the index and work tree inconsistent remote: error: with what you pushed, and will require 'git reset --hard' to match remote: error: the work tree to HEAD. remote: error: r..
목차 -지원 브라우저 -기본문법 -미디어유형(종류,타입) -기본으로 알면좋은 미디어 특성 -쿼리의 조건, 연산자 1)지원브라우저 2)기본 문법 @media (max-width : 630px){ .content{ width : 900px } } 뜻: width 630px이하에서 -content 클래스는 width:900px로 설정 ("width 최대 630까지" 라는 의미) @media (min-width:600px){ .content{ width : 900px } } 뜻: width 600이상에서 -content 클래스는 width:900px로 설정 ("width 최소 600부터"
1)github - repositories 생성 2)repository name(저장소이름) / descripsion(설명) / private(회사프로젝트라면 비공개) 3)생성된 저장소 주소를 복사 (컨트롤+c) - 이때 SSH / HTTS 중에 1개 선택 - 차이점은 추후에 포스팅,,, 4)소스트리에 연결(clone) -소스트리 실행 -> Clone -> 복사한 주소 붙여넣기 (컨트롤+v) 5)clone된 화면 번외)ssh 인증이 필요하다면?? 1)ssh 키 생성 https://edwardelizabeth.tistory.com/entry/git-clone%EC%8B%9C-ssh%ED%82%A4%EA%B0%92-warning-%ED%95%B4%EA%B2%B0%EB%B0%A9%EB%B2%95git-clon..
예제 html 코드 FORM DIV P ======================================================== 이벤트 버블링이란? 엘리먼트에서 이벤트가 감지 되었을 때, 해당 엘리먼트를 포함하고 있는 부모 엘리먼트를 통하여 최상위 까지 이벤트가 전달되는 것 쉽게 말해서 해당 태그부터 ~ 상위태그 -> window 순서로 이벤트가 전달 ex) 예제코드에서 클릭시 P → div → form → ….. →window 순으로 alert *참고사항 해당 경우는 태그마다 이벤트가 등록되어 있기 때문에 상위 요소로 이벤트가 전달되는 것을 확인할 수 있음, 단순히 이벤트가없는 태그라면 확인할수 없음 ==================================================..
git, github의 차이는 쉽게 "로컬 저장소와 원격저장소의 차이"라고 생각한다... 1.git hub repository(원격 저장소) 주소 복사 1)github 접속 - https://github.com/ 2)repository 링크 복사 **repository가 없으면 생성(만들기 쉬움) **참고1) clone시 https , ssh 차이 https://git-scm.com/book/ko/v1/Git-%EC%84%9C%EB%B2%84-%ED%94%84%EB%A1%9C%ED%86%A0%EC%BD%9C 2. local repository 만들기(로컬저장소- 내 pc에 저장소를 만듬) 1)git설치 2)원하는 폴더를 만들고 3)마우스 오른쪽->git bash(git 커맨드창) 4) git clone ..
에러코드 error: failed to push some refs to 'git@github.com:id/repository' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git pus..
초기 git 설치 후 commit시 에러가 나서 안되는 경우 초기설정이 안되었을 가능성이 있음 **해결방법 1)깃 설치시 사용자 이름과 이메일주소를 설정해야함 git config --global user.name "kim xx xx" git config --global user.email nexxxx@dlsls.com 아래는 참고하면 좋은 사이트 참고url - https://git-scm.com/book/ko/v1/%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-Git-%EC%B5%9C%EC%B4%88-%EC%84%A4%EC%A0%95 Git - Git 최초 설정 .5 시작하기 - Git 최초 설정 Git 최초 설정 Git을 설치하고 나면 Git의 사용 환경을 적절하게 설정해 주어야 한..
warning 내용은 permanently added 'github.com112.112.222.333' (RSA) to the list of known hosts. git@github.com : permission denied (publickey) fatal : could not read from remote repository please make sure you have the correct access rights and the repository exists. **해결방법 1)명령어 ssh-keygen로 키 생성을 합니다 1-1)ssh-keygen 1-2)파일위치확인→엔터 1-3)passPharase(일종의 비번) 입력 1-4)id_rsa.pub 파일 메모장으로 열기, 복사 2)아래 위치나, 어딘..
예시(사용법). global $DBINFO; //생략@mysqli_query("SET AUTOCOMMIT=0", $conn); @mysqli_query($DBINFO, "BEGIN"); $rs = @mysqli_query($DBINFO, "select * from _MEMBER where id='asdeqwe@asdt.com' FOR UPDATE"); @$row = assoc($rs); .......do..something //완료처리 @mysqli_query($DBINFO, "COMMIT"); //상황(조건, 처리결과 if)에 따라 복원처리 @mysqli_query("ROLLBACK", $conn); ---------------------------------------------------------..