プログラミング備忘録

初級プログラマ。python、DL勉強中

2018-01-01から1ヶ月間の記事一覧

Dockerfileについてのメモ

Dockerfile 書式 # ベースのイメージ FROM ubuntu:latest # ディレクトリ作成 RUN mkdir -p /work # ホストからゲストへ資材のコピー COPY data /work/ 実行(Dockerfiileの存在するディレクトリで実行) $ docker build -t test1:latest . 起動(バックグラウ…

dockerコマンドのメモ

インストール centos7にインストール # rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 # yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # yum -y install docker-io # systemctl sta…

KVMについてのメモ

インストール $ su - # yum -y install qemu-kvm libvirt virt-install bridge-utils virt-manager 起動 # systemctl start libvirtd # systemctl enable libvirtd # virt-manager KVM ネットワーク設定 方法は2つ NATを使う方法 外部サーバから直接使用でき…

SELinuxについてのメモ

無効化 $ vim /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of e…