[轉]Centos7 容器中删除文件的问题

http://dockone.io/question/1516 巨坑! Centos7默认xfs文件系统与docker默认overlay2存储驱动不匹配,会导致容器内文件无法删除等问题 https://blog.csdn.net/weixin_41826563/article/details/80549323 wx65251206 再次遇到这个问题,终于还是发扬刨根问题的精神,经过一上午的百度,google,bing 终于找到根本原因。 这里记录一下,为了帮助后面的人,同时也提醒自己。 问题原因与docker无关,在于linux内核版本。 测试有问题的内核版本是Red Hat 4.8.3-9—对应的发行版是CentOS7.2

2018-12-26 · 1 min · 12 words · Me

[轉]Install Python version 3 side by side with version 2 in Centos 7

https://stackoverflow.com/questions/45997541/install-python-version-3-side-by-side-with-version-2-in-centos-7 yum -y install https://centos7.iuscommunity.org/ius-release.rpm yum -y install python36u yum -y install python36u-pip pip3.6 install numpy

2018-12-14 · 1 min · 16 words · Me

$@ linux shell

http://jyhshin.pixnet.net/blog/post/39349999-shell-script-%E8%87%AA%E5%8B%95%E5%AE%9A%E7%BE%A9%E7%9A%84%E8%AE%8A%E6%95%B8 $@ 包含所有輸入的參數,$@ 即代表 $1, $2,….直到所有參數結束。$@ 用將所有參數以空白為間隔,存在 $@ 中。也就是說 $@ 代表了 “$1” “$2” “$3”….。

2018-11-07 · 1 min · 14 words · Me

[轉]linux exec与重定向

http://xstarcd.github.io/wiki/shell/exec_redirect.html

2018-11-06 · 1 min · word · Me

[轉]linux改時區

https://blog.keniver.com/2017/06/linux-%E8%A8%AD%E5%AE%9A%E4%BF%AE%E6%94%B9%E6%99%82%E5%8D%80/ sudo dpkg-reconfigure tzdata

2018-10-27 · 1 min · 4 words · Me