curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' http://www.xxxxx.com/api
宝塔面板 aapanel CentOS7 防火墙在Docker应用中失效的解决办法,无废话篇
出现这个问题的原因就是Docker里的设置能穿透宿主机的防火墙,宿主机无论如何设置都无效。 找到原因了,现在就来解决让 Docker 不对防火墙进行操作 # 给docker的启动服务添加"--iptables=false…
Docker Compose安装方法
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 下禁用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 我这里只讲干货 更详细使用方法可以参考这里 …
宝塔面板 或者 aaPanel 解决出错的问题,最新发现 Warning: fopen(): open_basedir restriction in effect. File,搞完心情万马奔腾,差点崩溃
关于 Warning: fopen(): open_basedir restriction in effect. File 这个问题困扰了我两天,网上找了各种答案,说得最多的就是 关闭 跨站攻击(我这里以aaPanel为…