AKAI TSUKI

System development or Technical something

check status Elasticsearch

ref install elasticsearch-head on CentOS 7.3 - AKAI TSUKI install eleasticsearch on CentOS 7.3 - AKAI TSUKI check by curl command [root@cent7no31 ~]# curl -X GET http://localhost:9200/ { "name" : "cent7no31", "cluster_name" : "test-cluster…

install eleasticsearch on CentOS 7.3

ref install logstash on CentOS 7.3 - AKAI TSUKI install kibana on CentOS 7.3 - AKAI TSUKI environment hostname ip node cent7no31 172.16.10.231 Coordinating node cent7no11 172.16.10.211 Master/Data node cent7no12 172.16.10.212 Master/Data n…

install logstash on CentOS 7.3

environment hostname ip cent7no41 172.16.10.241 install install java [root@cent7no41 ~]# yum install -y java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64 install logstash [root@cent7no41 ~]# rpm -ivh https://artifacts.elastic.co/do…

install kibana on CentOS 7.3

environment hostname ip cent7no31 172.16.10.231 install install java [root@cent7no31 ~]# yum install -y java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64 *snip* Dependency Updated: nss-softokn.x86_64 0:3.28.3-8.el7_4 nss-softokn-fr…

Try to prepare host for installation of OpenShift.

ref: https://docs.openshift.org/latest/install_config/install/host_preparation.html Host list Host Role opshift01 master/node(infra) opshift02 node(west) opshift03 node(east) Stop firewalld at all node [root@opshift01 ~]# systemctl stop fi…

Install docker-compose 1.14.0 on CentOS 7.3

install $ sudo curl -L https://github.com/docker/compose/releases/download/1.14.0/docker-compose-`uname -s`-`uname -m` > ./docker-compose % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 1…

Install Node.ja 6.11 on CentOS 7

install Node.js # curl -sL https://rpm.nodesource.com/setup_6.x | bash - *snip* # yum install -y nodejs *snip* Installed: nodejs.x86_64 2:6.11.0-1nodesource.el7.centos Complete! # check Node.js Version # node -v v6.11.0 # npm -v 3.10.10 #

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…

Study AWS Network

https://d0.awsstatic.com/events/jp/2017/summit/slide/D2T3-5.pdf

Create VM in OpenStack Ocata.

After these, Install OpenStack Ocata by Packstack on CentOS 7. - AKAI TSUKI Check openstack service. - AKAI TSUKI image # openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +-------------…

Check openstack service.

After installation, Install OpenStack Ocata by Packstack on CentOS 7. - AKAI TSUKI Let’s check status by openstack client command. Service # openstack service list +----------------------------------+-----------+-----------------+ | ID | N…

Install OpenStack Ocata by Packstack on CentOS 7.

Reference Packstack quickstart — RDO sample answer file # cat packstack-answers.txt | grep -v "^#" | grep "_INSTALL" CONFIG_MARIADB_INSTALL=y CONFIG_GLANCE_INSTALL=y CONFIG_CINDER_INSTALL=y CONFIG_MANILA_INSTALL=n CONFIG_NOVA_INSTALL=y CON…

Using Git repository on GitLab.

After preparing: akai-tsuki.hatenablog.com git clone $ git clone http://username01@172.16.10.25/testgrp/testpj.git Cloning into 'testpj'... warning: You appear to have cloned an empty repository. $ ls testpj $ cd testpj/ setting user info:…

Prepare group, project and user before using GitLab

After installation:akai-tsuki.hatenablog.com set pass for root user. input password of root. login by root. 1. create Group 2. create PJ 3. create users 4. add member to group After adding member: At this point we can not see icon image of…

install GitLab 9.2.2 CE (Omnibus install) on CentOS 7

see: https://about.gitlab.com/downloads/#centos7 summary # yum update # firewall-cmd --permanent --add-service=http # systemctl reload firewalld # curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | b…

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 …

Try Kubernetes (v1.6.1).

Kubernetes Version [root@cent7no01 ~]# kubectl version Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.1+coreos.0", GitCommit:"9212f77ed8c169a0afa02e58dce87913c6387b3e", GitTreeState:"clean", BuildDate:"2017-04-04T00:32…

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…

Let's check OpenShift-ansible

get openshift-ansible-3.4.70-1.tar.gz [root@centos01 ~]# wget https://github.com/openshift/openshift-ansible/archive/openshift-ansible-3.4.70-1.tar.gz

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 …

Let's check config.yml for installation using ansible.

when we install OpenShift, we will use config.yml file . https://docs.openshift.org/latest/install_config/install/advanced_install.html#running-the-advanced-installation ~/openshift-ansible/playbooks/byo/config.yml open openshift-ansible/p…

Let's check Advanced Installation of OpenShift origin.

check below page. https://docs.openshift.org/latest/install_config/install/advanced_install.html#single-master create hosts file Host Name Infrastructure Component to Install centos01 Master and node centos01 etcd centos02 Node centos03 No…

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…

Upgrade Docker from 1.13.0 to 1.13.1 on CentOS 7

Command List $ docker version $ yum makecache fast $ sudo yum -y upgrade docker-engine $ docker version Detail upgrade docker [vagrant@localhost ~]$ docker version Client: Version: 1.13.0 API version: 1.25 Go version: go1.7.3 Git commit: 4…

Create a Vagrant Base Box from a VM.

Command list >vagrant status >vagrant halt >vagrant status >vagrant package --output centos7test.box >vagrant box list >vagrant box add centos7test centos7test.box >vagrant box list Detail from vagrant help e:\VM\centos01>vagrant package -…

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…

commit container and re-run on docker.

After I commited container to image, I run container by saved image again and add option to publish the container’s port(8888). Command list stop container $ docker ps $ docker container stop work $ docker ps commit container to image $ do…

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…