sudo curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m…
停止、删除所有的docker容器和镜像
https://colobu.com/2018/05/15/Stop-and-remove-all-docker-containers-and-images/
关于binance-trading-bot一个网格交易机器人的使用方法,我帮大家踩坑了
先来个巨坑: 你服务器的时间一定要设置准确啊,不知道怎么回事,我有台服务器重启后时间就变了 项目地址 https://github.com/chrisleekr/binance-trading-bot 源代码下载好后,先…
CentOS7 CentOS8 安装Docker的方法
CentOS7 https://cloud.tencent.com/developer/article/1701451 CentOS8 https://developer.aliyun.com/article/75326…
Docker-compose的常用命令
常用命令 docker-compose up -d nginx 构建建启动nignx容器 docker-compose exec nginx bash 登录到nginx容器中 docker-compose down 删除…
centos 8 或者AlmaLinux 8 下安装及卸载node.js的方法
先列出支持哪些版本 yum module list nodejs AlmaLinux 8 - AppStream Name Stream Profiles Summary nodejs 10 [d] common [d]…
npm start时出现 Error: Cannot find module ‘commander‘ 的解决办法
就在当前的项目目录下,执行 npm install commander –save
centos 8 或者AlmaLinux 8 下禁用IPV6的方法
IPV6 让人又爱又恨,用上它有时候服务器连接某些资源的时候老是连接不上 禁用方法: vi /etc/sysctl.conf 在文件里加两条 net.ipv6.conf.all.disable_ipv6 = 1 net.…
centos 8 或者AlmaLinux 8 校正时间 校时 出现错误解决办法 Unable to find a match: ntpdate
ntpdate 在高版本的系统里已经用不了了 安装这个 yum install chrony 装好后就不用管了,它会自动校时 手动校时命令为 chronyc makestep 我这里只讲干货 更详细使用方法可以参考这里 …
我Python的telethon写的一个利用Telegram给机场签到的代码(主要部分)
# Reading Configs config = configparser.ConfigParser() config.read(GLOBAL_CONFIG_FILE,encoding='utf8') # Setti…