본문 바로가기

개발56

Ubuntu 사용자 계정 생성 및 접속 방법 1. 서버 접속비밀 키를 이용하여 SSH로 서버에 접속합니다.ssh -i [비밀 키] [사용자 계정]@[서버 IP] 2. 사용자 생성 및 비밀번호 설정sudo suadduser [유저 이름]passwd [유저 이름]3. 사용자 sudo 권한 추가chmod u+w /etc/sudoersvi /etc/sudoerssudoers 파일 하단에 추가:[사용자 이름] ALL=(ALL:ALL) ALL 4. 비밀번호 기반 로그인 활성화vi /etc/ssh/sshd_config PasswordAuthentication를 yes로 수정합니다.5. SSH 서비스 재시작service sshd restart비밀번호 로그인 사용 시 보안 조치가 필요합니다.자세한 내용은 여기에서 확인하세요. 2024. 5. 21.
스프링 코틀린 다운로드 설정 1. https://start.spring.io/ 2. application.yml (src - resouress - application.yml ) server: port: 9999 servlet: context-path: / encoding: charset: UTF-8 force: true spring: jpa: database: mysql show-sql: true generate-ddl: false hibernate: ddl-auto: update datasource: url: jdbc:mysql://{DB주소}:{DB포트}/{DB명}?characterEncoding=UTF-8&serverTimezone=UTC username: {USER 명} password: {비밀번호} 2024. 1. 22.
.gitignore 문법 # : comments # no .a files *.a # but do track lib.a, even though you're ignoring .a files above !lib.a # only ignore the TODO file in the current directory, not subdir/TODO /TODO # ignore all files in the build/ directory build/ # ignore doc/notes.txt, but not doc/server/arch.txt doc/*.txt # ignore all .pdf files in the doc/ directory doc/**/*.pdf https://nesoy.github.io/articles/2017-01/Git-Ign.. 2023. 6. 9.
코드이그나이터 mogoDB 라이브러리 https://github.com/nekoromancer/Mongoq-library 2023. 4. 26.