AKAI TSUKI

System development or Technical something

Linux

use Ansible vault.

about ansible version check version. # ansible --version ansible 2.6.1 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module …

I'd like to use ceph dashboard.

Before this page, please check this post. I'd like to use CephFS on CentOS 7. - AKAI TSUKI ceph dashboard I'd like to use ceph dashboard. http://docs.ceph.com/docs/mimic/mgr/dashboard/ [cuser@ceph01 ~]$ sudo ceph mgr module enable dashboar…

I'd like to use CephFS on CentOS 7.

Before this page, please check these post. Try to install Ceph in CentOS 7 referencing "STORAGE CLUSTER QUICK START" - AKAI TSUKI Install Ceph in CentOS 7. - AKAI TSUKI I'd like to use CephFS. http://docs.ceph.com/docs/master/cephfs/create…

Try to install Ceph in CentOS 7 referencing "STORAGE CLUSTER QUICK START"

Before you read this page, please check below page. Install Ceph in CentOS 7. - AKAI TSUKI STORAGE CLUSTER QUICK START Please check this url. http://docs.ceph.com/docs/master/start/quick-ceph-deploy/ Install ceph-deploy tool. [root@ceph04 …

Install Ceph in CentOS 7.

Preparation PREFLIGHT CHECKLIST http://docs.ceph.com/docs/master/start/quick-start-preflight/ I confirmed this url. I use these nodes. node role ip ceph01 mon.node1/osd.0 172.16.10.111/24 ceph02 osd.1 172.16.10.112/24 ceph03 osd.2 172.16.1…

When I study systemd.

This is useful information page for systemd. systemd - ArchWiki

announced Grafeas

GrafeasをGoogleやIBMなど8社が共同開発 jp.techcrunch.com github.com

use NFS on CentOS 7

environment hostname ip node cent7no12 172.16.10.212 nfs client cent7no41 172.16.10.241 nfs server setting for nfs-server on cent7no41 # yum -y install nfs-utils # vi /etc/idmapd.conf Domain = cent7no41 # mkdir -p /home/nfs # chmod a+w /ho…

Install icinga2 (5)

Install icinga2 (4) - AKAI TSUKI check on Server [root@cent7no06 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 172.16.…

Install icinga2 (4)

Install icinga2 (3) - AKAI TSUKI access to setup page by Chrome Browser

Install icinga2 (3)

Install icinga2 (2) - AKAI TSUKI install httpd # yum install -y httpd ==================================================================================================== Package Arch Version Repository Size ===============================…

Install icinga2 (2)

Install icinga2 (1) - AKAI TSUKI install mariadb # yum install -y mariadb mariadb-server ==================================================================================================== Package Arch Version Repository Size ============…

Install icinga2 (1)

check SELinux config # getenforce Disabled # # cat /etc/sysconfig/selinux | grep -v "^#" | grep -v "^$" SELINUX=disabled SELINUXTYPE=targeted # install icinga2 repo # yum install -y https://packages.icinga.com/epel/icinga-rpm-release-7-lat…

Use Google Chrome v59 Headless mode on CentOS 7.

Create a file chrome.repo # vi /etc/yum.repos.d/chrome.repo # cat /etc/yum.repos.d/chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.goo…

ssh-keygen specifying output file with no passphrase.

create ssh key. $ ssh-keygen -t rsa -b 2048 -f ./id_rsa -N "" Generating public/private rsa key pair. Your identification has been saved in ./id_rsa. Your public key has been saved in ./id_rsa.pub. The key fingerprint is: *snip* The key's …

Setup LXD on Ubuntu 16.04

In the case of using Ubuntu Server 16.04, already the server was intalled LXD. check version test@ubuntu01:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS" tes…

Try to create OpenSSL x509 certificate (2)

Generate RSA private key (des3) $ openssl genrsa -des3 -out server.key 4096 Generating RSA private key, 4096 bit long modulus .....++ .........................................................................................................…

Try to create OpenSSL x509 certificate

Generate RSA private key $ openssl genrsa -out server.key 4096 Generating RSA private key, 4096 bit long modulus .......................................................++ ..........++ e is 65537 (0x10001) $ Generate a certificate signing r…

setup bridge device on CentOS 7, by use OVS

add bridge device by ovs-vsctl [root@kvmtest ~]# ovs-vsctl add-br br0 [root@kvmtest ~]# ovs-vsctl add-port br0 enp0s3 ifcfgenp0s3 interface configuration file [root@kvmtest ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp0s3 DEVICE=enp0s3 …

install Open vSwitch on CentOS 7

Add rpm repository I get rpm from below page to add rdo repository. I perform this command [root@kvmtest ~]# yum localinstall https://repos.fedorapeople.org/repos/openstack/openstack-ocata/rdo-release-ocata-2.noarch.rpm Install OVS [root@k…

install bash_kernel for jupyter notebook.

After installation of jupyter notebook, I install bash kernel to jupyter notebook. GitHub - takluyver/bash_kernel: A bash kernel for IPython Command list install bash_kernel # pip3.5 install bash_kernel # python3 -m bash_kernel.install sta…

Install Jupyter Notebook by pip3.5 in CentOS 7 and python 3.5

Commadn list After Install python 3.5 in CentOS 7(docker container) - AKAI TSUKI install jupyter notebook # find / -name "pip*" # pip3.5 -V # pip3.5 install jupyter Detail [root@519dd98187dd /]# find / -name "pip*" /usr/bin/pip3.5 /usr/lib…

Install python 3.5 in CentOS 7(docker container)

Command List After Add IUS Community Project to Yum Repository in CentOS 7 - AKAI TSUKI install and confirm python3.5 # yum install -y python35u python35u-libs python35u-devel python35u-pip # find / -name python3.5 # python3.5 -V create sy…

Add IUS Community Project to Yum Repository in CentOS 7

Command List add IUS Community Project # yum install -y https://centos7.iuscommunity.org/ius-release.rpm yum search python35 (or something) # yum search python3 Detail [root@519dd98187dd /]# yum install -y https://centos7.iuscommunity.org/…

Install iproute in docker container (centos7).

I did not use ip/ss commands in default centos7 container. So, I install iproute package to container. Command list install iproute # yum install iproute Detail [root@519dd98187dd /]# yum install iproute Loaded plugins: fastestmirror, ovl …

resize file system in Cent OS 7

ref:Create Physical volume in Linux CentOS - AKAI TSUKI add physical volume to volume group expand the logical volume resize file system size Add Physical Volume to Volume Group before # pvs PV VG Fmt Attr PSize PFree /dev/sda2 cl lvm2 a--…

Create Physical volume in Linux CentOS

Check disk mount and type with df # df -khT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/cl-root xfs 35G 1.2G 34G 4% / devtmpfs devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 1.9G 8.3M 1.9G 1% /…

Create LVM type partition in Linux CentOS 7 by fdisk

create /dev/sda3 # fdisk /dev/sda Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sda: 85.9 GB, 85899345…

Use docker container for ssh test.

https://hub.docker.com/r/jdeathe/centos-ssh/ [root@localhost ~]# docker run -d \ > --name ssh.pool-1.1.1 \ > -p 2020:22 \ > jdeathe/centos-ssh:centos-7 Unable to find image 'jdeathe/centos-ssh:centos-7' locally centos-7: Pulling from jdeat…

confirm package(apt) version in Ubuntu

I confirmed version of zfs(zfsutils-linux) and lxd. ubu@ubuntu16:~$ apt-cache policy zfsutils-linux zfsutils-linux: Installed: 0.6.5.6-0ubuntu15 Candidate: 0.6.5.6-0ubuntu15 Version table: *** 0.6.5.6-0ubuntu15 500 500 http://jp.archive.ub…