LoginSignup
9
8

More than 3 years have passed since last update.

CentOS8 OSインストール/cockpit/リポジトリ追加/Ansible/snappy

Last updated at Posted at 2019-09-25

Download

インストール

1.png
2.png
3.png

1.png

スクリーンショット_2019-09-25_13-43-14.png

スクリーンショット_2019-09-26_06-53-07.png
スクリーンショット_2019-09-26_06-54-28.png

ログイン画面

スクリーンショット_2019-09-26_06-55-11.png

スクリーンショット_2019-09-26_06-55-55.png

スクリーンショット_2019-09-26_06-56-19.png

スクリーンショット_2019-09-26_06-56-39.png

スクリーンショット_2019-09-26_06-56-56.png

スクリーンショット_2019-09-26_06-57-39.png

スクリーンショット_2019-09-26_06-58-07.png

スクリーンショット_2019-09-26_06-58-30.png

スクリーンショット_2019-09-26_06-58-50.png

スクリーンショット_2019-09-26_06-59-21.png

text

1.png

Escキーを押すと ブートメニューのオプション手入力。

3.png

4.png

cockpit

  • port 9090
systemctl enable --now cockpit.socket

port.png

1.png

他のリポジトリ

elrepo
yum install elrepo-release
epel,remi
wget "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
wget "https://rpms.remirepo.net/enterprise/remi-release-8.rpm"

rpm -ivh epel-release-latest-8.noarch.rpm
rpm -ivh remi-release-8.rpm
puppetlabs
wget "https://yum.puppetlabs.com/puppet-release-el-8.noarch.rpm"
rpm -ivh puppet-release-el-8.noarch.rpm

Ansible

pip3 install ansible --user

snappy

/usr/lib/rpm/redhat/redhat-hardened-cc1 の解決

gcc: エラー: /usr/lib/rpm/redhat/redhat-hardened-cc1: そのようなファイルやディレクトリはありません

yum install -y redhat-rpm-config

cc1plus の解決

gcc: error trying to exec 'cc1plus': execvp: そのようなファイルやディレクトリはありません

yum install -y gcc-c++

Python.h

Python.h: そのようなファイルやディレクトリはありません

yum install -y python36-devel

snappy-c.h

snappy-c.h: そのようなファイルやディレクトリはありません

yum install -y git
git clone https://github.com/google/snappy/

cd snappy
yum install -y make cmake gcc
mkdir build && cd build

export CXXFLAGS="-fPIC"
cmake ..
make

スクリーンショット_2019-09-26_08-53-15.png

make install

スクリーンショット_2019-09-26_08-54-03.png

snappyのインストール

pip3 install python-snappy

スクリーンショット_2019-09-26_09-07-06.png

python3 -m snappy --help
9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8