2020의 게시물 표시

docker import export with oracle 9

  ## import oracle docker  root@gnoti04-dreamsys:~# docker import --change 'CMD ["/entrypoint.sh"]' /home/gnoti04/db.tar oracle sha256:a058aeb177da995d0a2b2c386390ae2ea891fb0e492c8c064dd30be8ed04434b root@gnoti04-dreamsys:~# docker run -d -p 49161:1521 oracle 18e5f71c47e32cd0b388a288d1e3406580d24d8480706c336aead6cd7d37ae9f root@gnoti04-dreamsys:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 18e5f71c47e3 oracle "/entrypoint.sh" 4 seconds ago Up 3 seconds 0.0.0.0:49161->1521/tcp vigilant_swanson bc60a61e3088 gitlab/gitlab-ce:12.2.7-ce.0 "/assets/wrapper" 3 minutes ago Exited (0) 2 seconds ago gitlab root@gnoti04-dreamsys:~# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS

check gitlab version

#check gitlab version  [root@gitlab ~]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/gitlab/gitlab-ce 12.2.5-ce.0 cc590709bbd3 14 months ago 1.75 GB #login gitlab  Help> Help GitLab Community Edition 12.2.5 #login gitlab  [root@localhost ~]# docker exec -it gitlab /bin/bash root@giterp:/# gitlab-rake gitlab:env:info System information System: Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.22.0 Sidekiq Version:5.2.7 Go Version: unknown GitLab information Version: 12.2.5 Revision: 09f8edbc29a Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.9 URL: http://giterp.gnoti.com HTTP Clone URL: http://giterp.gnoti.com/some-group/some-project.git SSH Clone URL: git@giterp.gnoti.com:some-gr

oracle 19c on docker

  ## get docker images https://www.oracle.com/database/technologies/oracle-database-software-downloads.html#license-lightbox ## git clone oracle docker [root@localhost ~]# git clone https://github.com/oracle/docker-images Cloning into 'docker-images'... remote: Enumerating objects: 12757, done. remote: Total 12757 (delta 0), reused 0 (delta 0), pack-reused 12757 Receiving objects: 100% (12757/12757), 9.53 MiB | 3.93 MiB/s, done. Resolving deltas: 100% (7520/7520), done. [root@localhost ~]# ll 합계 12 -rw-------. 1 root root 1696 5월 12 09:45 anaconda-ks.cfg drwxr-xr-x. 23 root root 4096 10월 15 22:08 docker-images -rw-r--r--. 1 root root 1744 5월 21 12:06 initial-setup-ks.cfg [root@localhost ~]# cd docker-images/ [root@localhost docker-images]# ll 합계 24 drwxr-xr-x. 6 root root 110 10월 15 22:08 Archive -rw-r--r--. 1 root root 760 10월 15 22:08 CODEOWNERS -rw-r--r--. 1 root root 9371 10월 15 22:08 CONTRIBUTING.md drwxr-xr-x. 3 root root 53 10월 15 22:08 Contrib drwxr-xr-x. 3

oracle 11g change charset on docker

## get docker list [root@localhost ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 08d434228dfe jaspeen/oracle-xe-11g "/entrypoint.sh " 5 weeks ago Up 9 days 0.0.0.0:1521->1521/tcp, 0.0.0.0:9000->8080/tcp db ## get docker list [root@localhost ~]# docker exec -it db sqlplus SQL*Plus: Release 11.2.0.2.0 Production on Thu Aug 6 13:15:38 2020 Copyright (c) 1982, 2011, Oracle. All rights reserved. Enter user-name: system Enter password: Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production SQL> SELECT name, value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET'; SELECT name, value$ FROM sys.props$ WHERE name = 'NLS_NCHAR_CHARACTERSET'; NAME ------------------------------ VALUE$ -------------------------------------------------------------------------------- NLS_

install redis on kubernetes

## set repo [root@k8smaster ~]# helm repo add bitnami https://charts.bitnami.com/bitnami "bitnami" has been added to your repositories ## set repo [root@k8smaster ~]# helm repo add bitnami https://charts.bitnami.com/bitnami^C [root@k8smaster ~]# helm install bitnami/redis NAME: esteemed-pug LAST DEPLOYED: Wed Jun 24 18:16:53 2020 NAMESPACE: default STATUS: DEPLOYED RESOURCES: ==> v1/ConfigMap NAME DATA AGE esteemed-pug-redis 3 0s esteemed-pug-redis-health 6 0s ==> v1/Pod(related) NAME READY STATUS RESTARTS AGE esteemed-pug-redis-master-0 0/1 Pending 0 0s esteemed-pug-redis-slave-0 0/1 Pending 0 0s ==> v1/Secret NAME TYPE DATA AGE esteemed-pug-redis Opaque 1 0s ==> v1/Service NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE esteemed-pug-redis-headless ClusterIP None <none> 6379/TCP

install stackedit

## install nodejs root@min-HVM-domU:~/stackedit# curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update 기존:1 https://deb.nodesource.com/node_12.x bionic InRelease 기존:2 http://security.ubuntu.com/ubuntu bionic-security InRelease 기존:3 http://kr.archive.ubuntu.com/ubuntu bionic InRelease 기존:4 http://kr.archive.ubuntu.com/ubuntu bionic-updates InRelease 기존:5 http://kr.archive.ubuntu.com/ubuntu bionic-backports InRelease 패키지 목록을 읽는 중입니다... 완료 ## Confirming "bionic" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/bionic/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x bionic main' > /etc/apt/sou