AKAI TSUKI

System development or Technical something

アイコンを作成する際に指定可能なデザインを聞いてみた

ChatGPTに聞いてみた。 以下、回答。 アイコンのデザインには、多様なスタイルや指針が存在します。以下に一般的なデザインの種類をいくつか挙げます。 マテリアルデザイン (Material Design): Googleが提唱するデザイン言語で、シャドウ、動き、深さの概念…

KVM with cloud-init

CentOS 8 VM Image I get CentOS 8 VM Image. [root@pm01 images]# wget https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2 [root@pm01 ~]# qemu-img info images/CentOS-8-GenericCloud-8.2.2004-2…

build and install tmux 3.1b on CentOS 7.

github.com install some packages "Run Packages" and "Build Packages" [root@vm02 ~]# yum install libevent ncurses libevent-devel ncurses-devel gcc make bison pkg-config *snip* Installed: bison.x86_64 0:3.0.4-2.el7 gcc.x86_64 0:4.8.5-39.el7 …

Try to use kind to create kubernetes cluster

Let's try to use kind docker I have already installed docker. [root@vm01 ~]# docker version Client: Docker Engine - Community Version: 19.03.8 API version: 1.40 Go version: go1.12.17 Git commit: afacb8b Built: Wed Mar 11 01:27:04 2020 OS/A…

study pacemaker(resouce setting, failover)

cluster resource for pacemaker There is a cluster by pacemaker/corosync. The cluster consist of 3 node and doesn't have any cluster resources. Let's try to set dummy resource. Before load crm file, initial status is below [root@vm01 ~]# cr…

Create a new VM in CentOS 7.x(KVM)

create Hash Password 1) execute below command and input root's Password [root@pm01 ~]# python -c 'import crypt,getpass; pw=getpass.getpass(); print(crypt.crypt(pw) if (pw==getpass.getpass("Re-Password: ")) else exit())' Password: <<input password>> Re-Pas…

Try to use Karate Netty as rest api mock

check help The command is java -jar .\karate-0.9.5.jar -h PS C:\desk\karate> java -jar .\karate-0.9.5.jar -h 00:27:14.852 [main] INFO com.intuit.karate.Main - Karate version: 0.9.5 Usage: <main class> [-Chsw] [-d[=<debugPort>]] [-c=<cert>] [-e=<env>] [-i=<importFile>] [-j=<jobServerUrl>] [-k=<key>] …</key></jobserverurl></importfile></env></cert></debugport></main>

install openjdk14 on win10

procedure download "openjdk-14_windows-x64_bin.zip" from https://jdk.java.net/14/ extract the zip file set a "PATH" variable PATH="C:\path\to\jdk-14\bin" execute "java -version" command to check > java -version openjdk version "14" 2020-03…

try to use hash in Bash

This is sample script. [root@pm01 ~]# cat get_log.sh #!/bin/bash nodes=( vm01 vm02 vm03 ) declare -A IP_ADDRESSES; IP_ADDRESSES=( ["vm01"]="192.168.122.62" ["vm02"]="192.168.122.68" ["vm03"]="192.168.122.12" ["vm04"]="192.168.122.11" ) dec…

ssh on Win10

etc

I try to use ssh command on Windows 10. servers Try to create ssh key on windows But I got failed message as follows PS C:\powershell> ssh-keygen.exe -q -b 2048 -t rsa -N "" -C "" -f pm01_rsa Saving key "pm01_rsa" failed: passphrase is too…

for loop sample by Bash

try loop sample [root@pm01 ~]# sh get_log.sh 0 => vm01 1 => vm02 2 => vm03 [root@pm01 ~]# [root@pm01 ~]# cat get_log.sh #!/bin/bash nodes=( vm01 vm02 vm03 ) cnt=0 for node in "${nodes[@]}" do echo "$cnt => $node" let cnt++ done [root@pm01 …

try nginx for reverse proxy

try Nginx ref. https://serverfault.com/questions/760569/sent-http-variables-disappear-in-nginx-in-some-circumstances client -> nginx -> httpd apache httpd docker images [root@vm01 work_a]# docker images REPOSITORY TAG IMAGE ID CREATED SIZE…

I try to create VM(KVM) of CentOS 7.x.

I select centos 7.x iso file from below site. http://isoredirect.centos.org/centos/7/isos/x86_64/

try to install kubernetes 1.15 using kubeadm

ref Installing kubeadm https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/ Kubernetes on CentOS7 2019年06月04日に更新 https://qiita.com/nagase/items/15726e37057e7cc3b8cd VM node ip hostname role host01 17…

try to use zabbix api on bash

I created this script to add host/host group by Zabbix API. #!/bin/bash set -x ### config user_name=user01 user_pass=pass_string zabbix_url=http://localhost/zabbix/api_jsonrpc.php header="Content-Type: application/json-rpc" # -------------…

openstack bash complete

bash complete https://docs.openstack.org/python-openstackclient/pike/cli/command-objects/complete.html [root@localhost ~(keystone_admin)]# openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null [root@localhost…

network setting for openstack

After installation of OpenStack, akai-tsuki.hatenablog.com Network setting I use network 1 to access to VM in OpenStack. and I connect to server via network 2 by ssh. all_in_one_network [root@localhost ~]# cd /etc/sysconfig/network-scripts…

install openstack by packstack in CentOS 7

prepare [root@localhost ~]# yum install centos-release-openstack-rocky.noarch [root@localhost ~]# cat /etc/environment LANG=en_US.utf-8 LC_ALL=en_US.utf-8 [root@localhost ~]# [root@localhost ~]# yum update -y [root@localhost ~]# systemctl …

I will check kubesquash.

I am interested in kubesquash. github.com

try dnsmasq

Install Dnsmasq [root@cent7devops ~]# yum -y install dnsmasq initial state after yum install [root@cent7devops ~]# grep -v -e "^#.*" -e "^$" /etc/dnsmasq.conf conf-dir=/etc/dnsmasq.d,.rpmnew,.rpmsave,.rpmorig [root@cent7devops ~]# [root@ce…

I try to use opetion of "nmcli" command.

option "-t" and "-f" ex. 1 [root@localhost ~]# nmcli -f ipv4.addresses c s enp0s3 ipv4.addresses: 172.16.10.111/24 [root@localhost ~]# ex. 2 [root@localhost ~]# nmcli -t -f ipv4.addresses c s enp0s3 ipv4.addresses:172.16.10.111/24 [root@lo…

systemd configuration for coredns

I refer to the page below. https://github.com/coredns/deployment/blob/master/systemd/coredns.service add coredns user [root@cent7devops ~]# useradd coredns -s /sbin/nologin -c 'coredns user' create service file for systemd [root@cent7devop…

use hosts plugin of CoreDNS

Before this post, please see try to use CoreDNS - AKAI TSUKI use proxy plugin of CoreDNS - AKAI TSUKI I'd like to perform name resolution(search ipaddress) by referring hosts file. ref. https://coredns.io/plugins/hosts/ I prepare hosts fil…

use proxy plugin of CoreDNS

Before post, please see try to use CoreDNS - AKAI TSUKI I configure Corefile to use proxy. ref. https://coredns.io/plugins/proxy/ [root@cent7devops ~]# cat Corefile . { proxy . 8.8.8.8:53 errors log } [root@cent7devops ~]# I need to send "…

try to use CoreDNS

I get CoreDNS binary file. [root@cent7devops ~]# wget https://github.com/coredns/coredns/releases/download/v1.2.0/coredns_1.2.0_linux_amd64.tgz *snip* [root@cent7devops ~]# ls coredns_1.2.0_linux_amd64.tgz coredns_1.2.0_linux_amd64.tgz [ro…

Install docker using ansible.

I create playbook file "docker_install.yml" to install docker-ce. --- - name: Install Docker hosts: grp_node tasks: - name: Install package needed for docker-ce yum: name: '{{ item }}' state: installed with_items: - "yum-utils" - "device-m…

install AWX on CentOS 7.

Please see this url. https://github.com/ansible/awx/blob/devel/INSTALL.md I have already installed docker-ce. [root@cent7devops installer]# docker version Client: Version: 18.06.0-ce API version: 1.38 Go version: go1.10.3 Git commit: 0ffa8…

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…