2018-09-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()