2018-01-01から1年間の記事一覧

Docker + Tomcat

Pull Docker CentOS7 image. # docker pull centos:7 7: Pulling from centos 675ac122cafb: Pull complete a4875ffe6057: Pull complete c5507be714a7: Pull complete Digest: sha256:eb3d9226f385fe27cd8d862f9b6aab8760b2d31c1e3c2f7 80aac27ee1c7ac364 S…

Docker

@CentOS6 Reffer: the knowledge of sakura https://knowledge.sakura.ad.jp/13265/ Install docker Reffrer: https://qiita.com/is_mgmt_dept/items/f4a7c64d72c2cba440c2 docker supports centos6 restrictly. # tee /etc/yum.repos.d/docker.repo <<- 'EO…

Ansible first step

install ansible # yum install epel-release # yum install ansible test ansible # mkdir ansible # cd ansible # ifconfig | grep "inet addr" | grep -v "127.0.0.1" inet addr:192.168.11.8 Bcast:192.168.11.255 Mask:2 55.255.255.0 # ansible 192.16…

share folder with windows simply

@CentOS6 Install Samba. [root@localhost ~]# yum install samba //skip 依存性を解決しました =============================================================================================================== パッケージ アーキテクチャ バージョン …

python, pandas, matplotlibでcsvをグラフにする

1.csv header,col1,col2 raw1,100,150 raw2,120,170 plot.py import matplotlib.pyplot as plt df = pd.read_csv('1.csv') df.plot(kind='bar') plt.xticks([0,1],['row1','row2']) plt.show()

OpenAMのインストール

Download OpenAM-Community-Edition-11.0.3.war https://github.com/ForgeRock/openam-community-edition/releases Download JDK8u181 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Download Tomact7.0.90 https:/…

install python3.6 and Flask

reffer http://python.zombie-hunting-club.com/entry/2017/11/03/223503 install python 3.6 [root@centos6 ~]# yum install https://centos6.iuscommunity.org/ius-release.rpm =============================================================== パッケー…

compile and install ruby

download by curl. https://www.ruby-lang.org/ja/downloads/ choice a preview one. [root@centos6 ~]# curl -O https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0-preview2.tar.gz install C Compiler. [root@centos6 ~]# yum install gcc ===========…

ブログ開設〜

基本的にITのこと書く。 qiitaだとちょっとしたことちまちま書きづらい感じがしたので(あれけっこうみんな他人に役立つこときっちり書いてるよね)もっと雑にテキトーなこと書きやすい無料ブログ探してはてブロにたどりついた マークダウンで書けるらしいし