전체 글 (190) 썸네일형 리스트형 Java 환경설정 1. 환경 변수 설정해놓는 이유. java,javac 명령어를 편하게 사용하기 위함. jar 파일 만들기 등. 2. open jdk vs oracle jdk open jdk로 라이선스 걱정 없이 사용. 3. open jdk 다운받는 사이트. https://jdk.java.net/archive/ Windows 1. Kernel Security Check Failure solutions 0x139 오류 administrator command prompt : regedit -> registry Editor However, the most common reason is that the drivers you were using for the previous Windows version are not compatible with the new Windows version. As a result, the OS gives you the ‘Kernel Security Check Failure’ error message followed by the 0x000000139 error code. Linux 1. dpkg: error: failed to write status database record about 'iputils-ping' to '/var/lib/dpkg/status': No space left on device solution : sudo apt-get clean : sudo apt-get autoclean -This is the reason I don't regularly clean cache. 2. ./gradlew: Permission denied chmod +x gradlew : if i get permission denied, I will do chmod +x "name"!!! 프로젝트하는 과정에서 만난 여러 에러들.. **error 시 항상 생각해야 할 부분 에러는 여러 환경의 다름에서 생길 수 있다. 이러한 부분을 항상 염두에 두어야 한다.** windows 환경과 macOS 환경도 다르다는 것을 인지하고 약간 다른 명령어 다른 행동 등을 해야만 한다.* 1. register key pair error : 바탕화면에 있는 keypair는 Xshell에 등록이 안된다. 경로가 복잡해서 그런 거 같다.* USB 파일이나 아마도 C drive or D drive 같은 경로에 있어야 가능하다.** 2. 유의할 점 : ssh로 접속할 때, ec2가 지정한 이름을 사용해야 접속할 수 있다. 그 지정한 이름은 root ec2-user 3. Elastic beanstalk - create a environment.with spri.. docker - postgresql 접속 에러 1. psql: FATAL: role "springdata" does not exist psql --username dexter --dbname spring 이렇게 유저 이름이 postgres와 다른 경우 명시를 해주면 접속이 가능하다.** 2. docker: Error response from daemon: driver failed programming external connectivity on endpoint : 이 에러가 뜬다면 현재 내가 입력한 포트가 실행 중일 확률이 높다. 그러므로 내가 입력한 포트의 정보를 찾아보고 그 PID를 찾아 실행을 중단 후 그 포트를 사용해야 한다.* netstat -ano | find ":3306" tasklist | find ".. codeCommit /c/Users/xxxx/.ssh/codecommit_rsa id : codecommit_rsa pwd : code https://docs.aws.amazon.com/ko_kr/codecommit/latest/userguide/codecommit-user.pdf :Windows에서 AWS CodeCommit 리포지토리에 대한 SSH 접속을 위한 설정 절차 과정 1. ssh-keygen //키 생성 user id : password : 2. notepad codecommit_rsa.pub : 복사 후 아마존 IAM user에 붙여 넣기 3. vi config Host git-codecommit.*.amazonaws.com User APKAIIQG7RIREQKXUQ IdentityFile ~/.ssh/cod.. AWS command https://aws.amazon.com/ko/blogs/korea/tips-aws-cli/ 0. aws help 1. aws configure 1.0. aws configure list 1.1. aws configure set profile.prod.aws_access_key_id file'sname 1.2. aws configure set profile.prod.aws_secret_access_key bar 1.3. aws configure set profile.prod.region ap-northeast-1 1.4. aws configure set profile.prod.output json AWS AWS를 4학년 재학 시절 필요한 대부분의 기능들을 다루어보았어서 인스턴스를 AWS에 구동하는 것이 그렇게 힘들진 않았었다. 처음에는 ec2, rdb를 만들어서 작업을 하려고 했지만, 사용자가 많이 몰리는 서비스가 아니라 내부 작업자가 사용하는 프로그램이다 보니 Lightsail에서 인스턴스와 디비를 만들어서 작업하였다. 이렇게 하는 것이 훨씬 싸기 때문이다. route 53 서비스를 사용해서 도메인 명을 만들고 적용시켰다. 또 github를 사용하는 것이 아닌 codeCommit을 사용해서 코드를 관리하였는데.. 그 이유가 github는 당시에 private으로 하려면 5천 원을 내야 했었다. 년간 6만 원을 지불하느니 codeCommit으로 코드를 관리하자는 생각을 하였었다. 또 테스트할 데브 서버같.. 이전 1 ··· 18 19 20 21 22 23 24 다음