분류 전체보기21 PSQLException: ERROR: permission denied for schema public 에러 현상 Spring Boot에서 데이터 초기화 스크립트 data.sql을 만들었는데 오류가 발생했다."Caused by: org.postgresql.util.PSQLException: ERROR: permission denied for schema public" 이유를 찾아보니 PostgreSQL15 부터는 데이터베이스 소유자가 아니면 public 스키마에서 create를 할 수 없게 변경되었다."PostgreSQL 15 also revokes the CREATE permission from all users except a database owner from the public (or default) schema."(https://www.postgresql.org/about/news/postgre.. 2025. 1. 9. postgresql 설치하기 (AWS, Amazon Linux, dnf, yum) AWS의 Amazon Linux 서버에서 dnf 명령어를 이용하여 postgresql 설치하는 방법여기서 사용되는 dnf명령어는 yum으로 대체할 수 있다. 1) 패키지 조회하기dnf list | grep postgre 2) 패키지 설치하기sudo dnf install postgresql16-server 3) 서비스 등록(systemctl) 확인하기systemctl status postgresql sudo cat /usr/lib/systemd/system/postgresql.servicePGDATA 데이터 경로가 서비스 파일에 등록되어 있다. 데이터 경로 변경 시 서비스 파일도 같이 변경해야 한다. 4) systemctl 시작하기 (오류발생함)sudo systemctl statrt postgresql.. 2024. 12. 19. AWS 루트 볼륨 확장 후 적용 방법 AWS에서 루트(/) 볼륨의 크기를 확장한 후, 서버에 접속해서 확인해 보면 디스크 공간이 늘어나지 않고 그대로 보이는 증상이 있고, EXT4 파일시스템을 사용할 때의 해결 방법을 정리한다. 현재 사용하는 파일시스템을 확인하는 방법은 "df -T"로 확인할 수 있다. (참고로 아래 명령어 실행 결과들은 디스크 확장 실행 전후 순서 상관없이 복사한 결과로 디스크 크기 수치를 참고하면 안됨.)$ df -TFilesystem Type 1K-blocks Used Available Use% Mounted on/dev/root ext4 100476656 52382952 48077320 53% /tmpfs tmpfs 4064360 0 4064360 .. 2024. 10. 29. miniconda 설치 https://docs.anaconda.com/miniconda/ Miniconda — Anaconda documentationThese three commands quickly and quietly download the latest 64-bit Windows installer, rename it to a shorter file name, silently install, and then delete the installer: curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -o minicdocs.anaconda.com Linux용 설치파일 다운로드 링크 클릭하여 설치할 수 있지만,https://repo.anac.. 2024. 10. 17. 이전 1 2 3 4 ··· 6 다음