niwacchi.log

niwacchiのログ。

CentOS

Docker + CentOS7 + nginx

CentOS7をDockerで動かす環境を作る。 # イメージ取得 docker pull centos:centos7 # イメージ確認 docker images # 起動 docker run -it -d --name centos7 centos:centos7 # 起動確認 docker ps # 接続 docker exec -it {CONTAINERE ID} bash # 停止 docke…

mondorescueでバックアップ&ダウンロード

VPSをまるっとバックアップ取得してみたメモ。 環境 CentOS 6.9 mondorscueのインストール リポジトリの公開鍵を読み込み # wget ftp://ftp.mondorescue.org/centos/6/x86_64/mondorescue.pubkey # rpm --import mondorescue.pubkey リポジトリファイルをyum…

runlevelを3に変更

runlevelを5→3に変更する。 (/etc/inittab) id:5:initdefault: ↓ id:3:initdefault: