'프로그램 사용 > docker' 카테고리의 다른 글
| docker desktop for windows (0) | 2019.07.09 |
|---|---|
| docker / win10 home / hyper-V (0) | 2019.07.09 |
| docker api (0) | 2019.06.12 |
| docker ps 옵션 차이 (0) | 2019.06.11 |
| docker 컨테이너 이미지 이름으로 검색하기 (0) | 2019.06.10 |
| docker desktop for windows (0) | 2019.07.09 |
|---|---|
| docker / win10 home / hyper-V (0) | 2019.07.09 |
| docker api (0) | 2019.06.12 |
| docker ps 옵션 차이 (0) | 2019.06.11 |
| docker 컨테이너 이미지 이름으로 검색하기 (0) | 2019.06.10 |
실수로 오른쪽의 X를 눌러 없앴는데
다시 살리는법 찾다가 도움되는건 못보고
걍 위에 우클릭하고 Add Panel 하니 다시 살릴수 있네...

| xsd to postgresql DDL (0) | 2019.06.18 |
|---|---|
| postgresql dbms 설정 (0) | 2019.06.14 |
| postresql backup & recovery (0) | 2019.06.12 |
| postgresql schema (0) | 2019.06.12 |
| postgres db 속도 향상 (0) | 2019.06.07 |
기존의 시스템에서 사용자가 설치한 postgresql 을 쓰고 있는데
이걸 리눅스 패키지에서 제공하는 녀석으로 파일 레벨에서 갈아 치우는 방법 찾는 중
(일일이 백업해서 옮기기 귀찮...)
[링크 : https://www.postgresql.org/docs/9.1/backup-file.html]
[링크 : https://stackabuse.com/backing-up-and-restoring-postgresql-databases/]
+
[링크 : https://h391106.tistory.com/352]
+
정 안되면
pg_dumpall | gzip > backup.gz
식으로 한번 뺴봐야 할 듯
[링크 : https://www.postgresql.org/docs/9.1/backup-dump.html]
+
[링크 : https://www.opsdash.com/blog/postgresql-backup-restore.html]
| postgresql dbms 설정 (0) | 2019.06.14 |
|---|---|
| pgadmin dashboard 살려내기 (0) | 2019.06.13 |
| postgresql schema (0) | 2019.06.12 |
| postgres db 속도 향상 (0) | 2019.06.07 |
| postgresql drop all tables (0) | 2019.06.05 |
pgadmin 으로 보다 보니 database > schema > table 순서로 냐오는게 있어서 찾는중
기본은 public schema인데 이게 머하는거지?
DB는 하나 이상의 'named schemaf'를 포함함.
일단은.. 귀찮으면 기본으로 제공되는 public 하나만 쓰고 테이블 별로 권한을 주고 싶으면
schema를 생성해서 테이블별로 사용자 권한을 주면 될 듯.
|
A database contains one or more named schemas, which in turn contain tables. Schemas also contain other kinds of named objects, including data types, functions, and operators.
There are several reasons why one might want to use schemas:
database.schema.table
Thus, the following are equivalent: |
[링크 : https://www.postgresql.org/docs/9.1/ddl-schemas.html]
스키마는 테이블들의 named collection 이다.
| A schema is a named collection of tables. A schema can also contain views, indexes, sequences, data types, operators, and functions. |
[링크 : https://www.tutorialspoint.com/postgresql/postgresql_schema.htm]
[링크 : http://www.postgresqlforbeginners.com/2010/12/schema.html]
| pgadmin dashboard 살려내기 (0) | 2019.06.13 |
|---|---|
| postresql backup & recovery (0) | 2019.06.12 |
| postgres db 속도 향상 (0) | 2019.06.07 |
| postgresql drop all tables (0) | 2019.06.05 |
| postgresql import from csv (0) | 2019.06.04 |
헐.. 핸드폰에서 바로 아두이노 프로그래밍하고 올릴수 있는 신세계라니!
[링크 : https://www.youtube.com/watch?v=YgK2l6xdmbE]
[링크 : https://play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2&hl=ko]
| TOAD 단축키 (0) | 2019.12.18 |
|---|---|
| flyway - 데이터베이스 형상관리 툴 (0) | 2019.07.29 |
| ups protocol (0) | 2019.04.29 |
| 열해석 프로그램(오픈소스) (0) | 2019.03.31 |
| 배터리 체크 유틸리티 (2) | 2019.03.25 |
윽... 뱀은 있어도 c계열은 unofficial이네..
걍 소켓으로 HTTP로 주고 받는게 편하려나...
| docker / win10 home / hyper-V (0) | 2019.07.09 |
|---|---|
| docker run -p hport:cport (0) | 2019.06.13 |
| docker ps 옵션 차이 (0) | 2019.06.11 |
| docker 컨테이너 이미지 이름으로 검색하기 (0) | 2019.06.10 |
| docker create와 docker rm (0) | 2019.05.30 |
ubuntu 18.04에서 docker-ce로 깐건데.. 이상하네
| $ sudo docker help ps Usage: docker ps [OPTIONS] List containers Options: -a, --all Show all containers (default shows just running) -f, --filter filter Filter output based on conditions provided --format string Pretty-print containers using a Go template -n, --last int Show n last created containers (includes all states) (default -1) -l, --latest Show the latest created container (includes all states) --no-trunc Don't truncate output -q, --quiet Only display numeric IDs -s, --size Display total file sizes |
요거야 원래 옵션이고 도는 놈들만(run) 보여주는거니 문제 안되는데
| $ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES |
읭.. -a과 --all이 같은거였나. -all이 아니었냐.. 아무튼 얘는 죽은것도 보여줌
| $ sudo docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4fdb1194f2c6 httpd "-d" 6 minutes ago Created 80/tcp blissful_sinoussi d913540567fc httpd "httpd-foreground" 6 minutes ago Exited (0) 6 minutes ago admiring_colden 8c8c15aee063 mysql "docker-entrypoint.s…" 7 minutes ago Exited (1) 7 minutes ago quirky_fermi 54eb43ad0783 atmoz/sftp "/entrypoint" 8 minutes ago Exited (3) 7 minutes ago elegant_napier |
| $ sudo docker ps --all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4fdb1194f2c6 httpd "-d" 6 minutes ago Created 80/tcp blissful_sinoussi d913540567fc httpd "httpd-foreground" 6 minutes ago Exited (0) 6 minutes ago admiring_colden 8c8c15aee063 mysql "docker-entrypoint.s…" 7 minutes ago Exited (1) 7 minutes ago quirky_fermi 54eb43ad0783 atmoz/sftp "/entrypoint" 8 minutes ago Exited (3) 7 minutes ago elegant_napier |
얘는 일단 잘못된 옵션인데.. -a랑도 다르게 나오고 머지?
| $ sudo docker ps -all CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4fdb1194f2c6 httpd "-d" 6 minutes ago Created 80/tcp blissful_sinoussi |
| docker run -p hport:cport (0) | 2019.06.13 |
|---|---|
| docker api (0) | 2019.06.12 |
| docker 컨테이너 이미지 이름으로 검색하기 (0) | 2019.06.10 |
| docker create와 docker rm (0) | 2019.05.30 |
| docker 자원 제한하기 (0) | 2019.05.17 |
일단은 qemu-kvm이 설치되어 있어야 하고
kvm 그룹에 넣어주어야 하는 듯?
| sudo apt install qemu-kvm sudo adduser $USER kvm |
원인은 모르겠고.. 어플리케이션 런처에서 실행하면
리부팅 전까지 변경내용이 적용되지 않아, 한번은 껐다 켜야 한다. -_-
[링크 : https://stackoverflow.com/questions/37300811/android-studio-dev-kvm-device-permission-denied]
[링크 : https://codechacha.com/ko/android-kvm-permission-denied/]
| failed to find target with hash string 'android-27' (0) | 2019.08.08 |
|---|---|
| android / 구글 지도 API 발급 (0) | 2019.06.21 |
| ubuntu android studio (0) | 2019.06.10 |
| 안드로이드 무선 디버깅(adb wifi) (0) | 2019.03.14 |
| AndroidManifest.xml (binary) 디코더 (0) | 2019.03.14 |
|
sudo add-apt-repository ppa:maarten-fonville/android-studio sudo apt-get update sudo apt-get install android-studio |
[링크 : https://webnautes.tistory.com/1134]
그나저나 윈도우용은 용량 무지 컸던거 같은데 리눅스라 그런가 용량이 적다?
| $ sudo apt-get install android-studio 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다: linux-headers-4.18.0-18 linux-headers-4.18.0-18-generic linux-image-4.18.0-18-generic linux-modules-4.18.0-18-generic linux-modules-extra-4.18.0-18-generic Use 'sudo apt autoremove' to remove them. 다음의 추가 패키지가 설치될 것입니다 : lib32gcc1 lib32ncurses5 lib32stdc++6 lib32tinfo5 lib32z1 libc6-i386 제안하는 패키지: default-jdk 다음 새 패키지를 설치할 것입니다: android-studio lib32gcc1 lib32ncurses5 lib32stdc++6 lib32tinfo5 lib32z1 libc6-i386 0개 업그레이드, 7개 새로 설치, 0개 제거 및 30개 업그레이드 안 함. 3,388 k바이트 아카이브를 받아야 합니다. 이 작업 후 15.6 M바이트의 디스크 공간을 더 사용하게 됩니다. 계속 하시겠습니까? [Y/n] |
는 개뿔. 똑같이 크네 -_-
| 받기:1 http://kr.archive.ubuntu.com/ubuntu bionic/main amd64 libc6-i386 amd64 2.27-3ubuntu1 [2,651 kB] 받기:2 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu bionic/main amd64 android-studio amd64 183.5400832~bionic [36.2 kB] 받기:3 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 lib32tinfo5 amd64 6.1-1ubuntu1.18.04 [79.1 kB] 받기:4 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 lib32ncurses5 amd64 6.1-1ubuntu1.18.04 [100 kB] 받기:5 http://kr.archive.ubuntu.com/ubuntu bionic/main amd64 lib32z1 amd64 1:1.2.11.dfsg-0ubuntu2 [58.3 kB] 받기:6 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 lib32gcc1 amd64 1:8.3.0-6ubuntu1~18.04 [47.9 kB] 받기:7 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 lib32stdc++6 amd64 8.3.0-6ubuntu1~18.04 [415 kB] 내려받기 3,388 k바이트, 소요시간 1초 (2,693 k바이트/초) Selecting previously unselected package android-studio. (데이터베이스 읽는중 ...현재 283062개의 파일과 디렉터리가 설치되어 있습니다.) Preparing to unpack .../0-android-studio_183.5400832~bionic_amd64.deb ... --2019-06-10 23:21:23-- https://dl.google.com/dl/android/studio/ide-zips/3.4.0.17/android-studio-ide-183.5400832-linux.zip Resolving dl.google.com (dl.google.com)... 64.233.189.91, 64.233.189.93, 64.233.189.136, ... 접속 dl.google.com (dl.google.com)|64.233.189.91|:443... 접속됨. HTTP request sent, awaiting response... 200 OK Length: 1091186070 (1.0G) [application/zip] Saving to: ‘/opt/android-studio-ide.zip’ /opt/android-studio-ide.zip 100%[===========================================================>] 1.02G 5.64MB/s in 3m 6s 2019-06-10 23:24:30 (5.59 MB/s) - ‘/opt/android-studio-ide.zip’ saved [1091186070/1091186070] |
+
2019.06.11
메모리 사용량 장난아니네.. ㄷㄷ
|
// 안드로이드 가상 머신 + studio $ free -h
// studio $ free -h
// 전부 종료 후 $ free -h |
| android / 구글 지도 API 발급 (0) | 2019.06.21 |
|---|---|
| android studio /dev/kvm permission denied (0) | 2019.06.11 |
| 안드로이드 무선 디버깅(adb wifi) (0) | 2019.03.14 |
| AndroidManifest.xml (binary) 디코더 (0) | 2019.03.14 |
| android REST client (0) | 2019.02.07 |
ADATA SU650 2.5" SATA 6Gb/s 240GB 두개 도착
근데 언제 포맷하지? ㅋㅋㅋ
이제 남은건.. 그래픽 카드인가?!
| 노트북 완전체 업그레이드 (8) | 2019.06.21 |
|---|---|
| 오늘의 지름! (3) | 2019.06.20 |
| 아.. 누가 미친 지름신좀 말려줘... (2) | 2019.06.06 |
| 망할 서버 지름신.. (2) | 2019.06.05 |
| 기계식 RGB 키보드 도착 (6) | 2019.06.04 |