05 2023 档案
摘要:Centos7使用ssh免密登陆同时禁用root密码登陆 首先配置免密登陆,参考:ssh免密登陆 禁用root密码登陆 修改 /etc/ssh/sshd_config 文件 找到: RSAAuthentication yes PubkeyAuthentication yes AuthorizedKe
阅读全文
摘要:https://pythontutor.com/
阅读全文
摘要:firewalld规则配置 一、概念 动态防火墙 启动新规则时,不会像iptables一样,先清空规则,再启动所有规则,如此会对现在程序有影响,哪怕只是一条规则。而firewalld 规则变更不需要对整个防火墙规则重载,可直接添加新规则 iptables与firewalld的关系 firewalld
阅读全文
摘要:Centos7使用s3fs-fuse挂载minio对象存储实践 事前准备 主机可以访问到对象存储API、例如minio默认的9000端口 主机安装好s3fs软件 已在minio上创建存储桶 安装s3fs(本文使用centos发行版) 其他发行版本教程请参考Github官网 Github: https
阅读全文
摘要:Linux安装gitbook 下载nodejs包 wget https://npm.taobao.org/mirrors/node/v12.16.1/node-v12.16.1-linux-x64.tar.gz 解压 tar -zxvf node-v12.16.1-linux-x64.tar.gz
阅读全文
摘要:解决CentOS 7出现docker-compose: command not found 1. 安装docker-compose 既然使用了docker-compose那自然得安装了 在GitHub上拉取过慢,建议在国内源DaoCloud中拉取: curl -L https://get.daocl
阅读全文