'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글
일단은 freet SKT로 번호이동! (0) | 2019.04.08 |
---|---|
에라이 3g 못써먹겠다!!! (4) | 2019.04.05 |
마이크로 SD 64GB에 만원이라니.. (3) | 2019.03.09 |
VR 헬멧 (0) | 2019.03.07 |
바쁜.. 월..요일이 아니라 목요일이네? (0) | 2019.02.07 |
일단은 freet SKT로 번호이동! (0) | 2019.04.08 |
---|---|
에라이 3g 못써먹겠다!!! (4) | 2019.04.05 |
마이크로 SD 64GB에 만원이라니.. (3) | 2019.03.09 |
VR 헬멧 (0) | 2019.03.07 |
바쁜.. 월..요일이 아니라 목요일이네? (0) | 2019.02.07 |
Class 10 이고 UHS는 없는데
저 속도가 나올수 있나 싶긴 하지만 싸니까 한번 써볼까?
[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=B573271368]
에라이 3g 못써먹겠다!!! (4) | 2019.04.05 |
---|---|
VaR VR 플레이어 한글 자막 문제 (0) | 2019.03.09 |
VR 헬멧 (0) | 2019.03.07 |
바쁜.. 월..요일이 아니라 목요일이네? (0) | 2019.02.07 |
노트2 / 노트4 볼륨이 다른가? (0) | 2019.02.05 |
java app 메모리 상태 확인하기 (0) | 2019.04.18 |
---|---|
Transaction was marked for rollback only; cannot commit (0) | 2019.03.25 |
gradle 에 jar 추가하여 빌드하기 (0) | 2019.03.08 |
maven 빌드하기 (0) | 2019.03.08 |
spring 변수 생명주기 (0) | 2019.01.08 |
머.. 링크는 저런데 실제로는 14개의 대체 프로그램 목록
(좀 자세히 봐야겠지만 요즘 무료가 무료가 아닌지라..)
배터리 체크 유틸리티 (2) | 2019.03.25 |
---|---|
hdsentinel (0) | 2019.03.15 |
glusterFS (0) | 2019.02.28 |
extplorer (0) | 2019.02.28 |
pydio 대체할 녀석들.. (0) | 2019.02.25 |
당연하지만.. 얘도 db인지라 인코딩 언어를 설정해주어야 한다..
아무생각없이 그냥 initdb 하면 en_us로 설정되는 망할 centos ㅠㅠ
[링크 : http://linux.systemv.pe.kr/postgresql-과-문자셋/]
[링크 : https://www.postgresql.org/docs/9.5/app-initdb.html]
[링크 : https://www.postgresql.org/docs/9.3/multibyte.html]
+
이런 에러 발생 -_-
[링크 : https://stackoverflow.com/.../strange-postgresql-value-too-long-for-type-character-varying500]
+
윈도우용 postgresql에서 언어설정에 따라 collate가 정해지는데
ko_KR.UTF-8은 포기해도 UTF-8은 포기 못하니 영어(English_United State)로 하라고..
(auto로 하니 한글 윈10에서는 cp949로 되어버린다)
[링크 : https://stackoverflow.com/questions/40673339/creating-utf-8-database-in-postgresql-on-windows10]
postgresql 계정은 있는데 로그인 안될때 (0) | 2019.03.20 |
---|---|
postgresql WAL? (0) | 2019.03.14 |
postgresql 설치(centos) (0) | 2019.03.08 |
postgreSQL centos 패키지 (0) | 2019.02.01 |
postgreSQL 명령어 정리 (0) | 2019.02.01 |
읽지 않은 메일에 있길래 호기심에 눌러보았거늘 크롬이 차단해버리네 ㅠㅠ
도메인 또 1년 연장 (0) | 2019.06.03 |
---|---|
저작권 협상(?) 메일 (3) | 2019.03.25 |
간만에 해피빈 기부 (0) | 2019.03.08 |
별별 희한한 제약을 다 만들었네 -_- (4) | 2019.01.28 |
오랫만에 마음에 드는 티스토리 개편 (3) | 2018.10.10 |
설치
postgresql 은 client
postgresql-server 는 server
# yum install postgresql postgresql-server |
db 초기화
# service postgresql initdb |
(그냥 centos7 에서 이렇게 하니 Encoding이 SQL_ASCII로 Collate가 C로 된다.. 아놔..)
+
$ su -l postgres -c "initdb -E UTF8 --locale=ko_KR.UTF-8 --locale=en_US.utf8" |
설정 확인
# chkconfig postgresql on |
서비스 시작
# systemctl start postgresql |
[링크 : https://wiki.postgresql.org/wiki/YUM_Installation]
[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=31850584]
사용자 생성 (암호 없이)
# sudo -i -u postgres # psql postgres=# create user [계정아이디] with password ''; postgres=# create database [데이터베이스 이름]; postgres=# \q # exit |
[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=61899197]
[링크 : http://database.sarang.net/database/postgres/tutorial/lecture/x58.htm]
+
2019.06.18
sudo -u postgres psql postgres # \password postgres Enter new password: |
[링크 : https://serverfault.com/questions/110154/...]
암호 바꾸기
postgres=# ALTER USER postgres WITH PASSWORD ''; |
[링크 : https://stackoverflow.com/questions/5421807/set-blank-password-for-postgresql-user]
접속되지 않을 경우
connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host
# vim /var/lib/pgsql/data/pg_hba.conf host all all ::1/128 trust host all postgres 127.0.0.1/32 trust |
# vim /var/lib/pgsql/data/pg_hba.conf listen_addresses = '*' |
[링크 : https://dba.stackexchange.com/.../connect-to-postgresql-server-fatal-no-pg-hba-conf-entry-for-host]
[링크 : https://sysops.tistory.com/8]
+
2019.06.18
서비스 재시작만으로는 포트가 안바뀌는 듯..(ubuntu 18.04) 그래서 완전히 재기동을 해야 하는 문제가 있었음
[링크 : https://blog.bigbinary.com/2016/01/23/configure-postgresql-to-allow-remote-connection.html]
+
2020.01.16
psql 상에서 현재 db의 locale을 확인할 수 있다.
# show LC_COLLATE;
postgresql WAL? (0) | 2019.03.14 |
---|---|
postgresql encoding / collate (0) | 2019.03.08 |
postgreSQL centos 패키지 (0) | 2019.02.01 |
postgreSQL 명령어 정리 (0) | 2019.02.01 |
psql - postgreSQL CLI client (0) | 2019.02.01 |
으으 얼마전에 검색하고 잊고 있던 단어인가...
망할(?) 10GbE NIC이 하나만 더 있었어도 고민을 안했을텐데..
4개 짜리 GbE만 서버에 꽂혀있어서 고민을 하는 중..
대개는 관리허브가 필요해서(L3) 못하는데 balance-alb 요건 허브없이 가능하지만
NIC에서 MAC을 변경할수있는 드라이버가 필요하다고..(이게 더 까다로워 보이는데..)
[링크 : http://www.mikrotik.co.kr/wiki/index.php/메뉴얼:Bonding#balance-alb]
[링크 : https://onecellboy.tistory.com/279]
[링크 : https://www.lesstif.com/pages/viewpage.action?pageId=6979680]
된다는겨 안된다는겨..
[링크 : https://access.redhat.com/.../deployment_guide/sec-configuring_a_vlan_over_a_bond]
rs232 to rs485 무전원 컨버터 전원공급 방법 RI(ring indicator) (0) | 2021.12.08 |
---|---|
win10 시대의 pl2303HX 칩 (UART / TTL) (0) | 2021.01.28 |
TLS 하드웨어 가속 (0) | 2019.02.07 |
iptime port trunk / link aggregation (0) | 2019.01.24 |
iptime VPN 관련 펌웨어 버전 (0) | 2018.05.14 |
별건 없고
아래처럼 dependencies에 jar을 넣어주면 된다.
dependencies { compile files('libs/lombok-1.16.8.jar') } |
Transaction was marked for rollback only; cannot commit (0) | 2019.03.25 |
---|---|
spring boot cassandra (0) | 2019.03.08 |
maven 빌드하기 (0) | 2019.03.08 |
spring 변수 생명주기 (0) | 2019.01.08 |
gradle buildship (0) | 2019.01.02 |
pom.xml이 있으면 maven으로 빌드가 가능한건데
maven 설치하기
(패키지 설치가 아니라 maven을 다운로드 받아서 해당 경로 패스 정해주면 끝)
[링크 : https://blog.hanumoka.net/2018/05/23/centOs-20180523-centos-install-maven/]
maven 프로젝트 빌드하기
$ mvn pakage
spring boot cassandra (0) | 2019.03.08 |
---|---|
gradle 에 jar 추가하여 빌드하기 (0) | 2019.03.08 |
spring 변수 생명주기 (0) | 2019.01.08 |
gradle buildship (0) | 2019.01.02 |
spring for android (0) | 2018.12.28 |