安装 docker docker version > /dev/null || curl -fsSL get.docker.com | bash service docker restart 常规命令 docker container ls #查看所有正在运行的 docker docker logs ...
分类:
其他好文 时间:
2020-07-01 20:21:33
阅读次数:
64
网上转变的方法基本都是写添加下面这句: curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded')); 但加上去后却根本没效果。 要想以 x-www-form-urle ...
分类:
Web程序 时间:
2020-07-01 15:56:01
阅读次数:
120
0X01 漏洞介绍 WordPress 使用 PHPMailer 组件向用户发送邮件。PHPMailer(版本 < 5.2.18)存在远程命令执行漏洞,攻击者只需巧妙地构造出一个恶意邮箱地址,即可写入任意文件,造成远程命令执行的危害。 漏洞利用条件: 不能包含特殊字符 命令需为小写 命令需使用绝对路 ...
分类:
其他好文 时间:
2020-07-01 14:12:45
阅读次数:
68
查看你得python版本 如果你得python版本太低(2.7以下)不能使用Django (我是这样,所以要先查看你的python版本) (如果python的版本太低)如下升级方法: 一.配置yum源(用来下载python3) 1.先配置yum源: 下载yum仓库的配置文件 wget -O /etc ...
分类:
其他好文 时间:
2020-07-01 14:11:54
阅读次数:
55
php mongodb拓展 安装 下载地址:https://pecl.php.net/get/mongodb-1.7.4.tgz ,下载解压: cd /wget -c https://pecl.php.net/get/mongodb-1.7.4.tgz#解压tar -xzvf mongodb-1.7 ...
分类:
数据库 时间:
2020-07-01 14:08:09
阅读次数:
50
1.Python3.6的安装 Ubuntu中自带python2.7和python3.5,但是很多情况下我们需要使用python3.6,以下是在终端中安装python3.6的详细步骤: 在终端中输入下面的命令 wget http://www.python.org/ftp/python/3.6.4/Py ...
分类:
编程语言 时间:
2020-07-01 12:17:17
阅读次数:
79
PHP CURL 函数相关文档参考 参考链接: https://www.php.net/manual/zh/ref.curl.php ...
分类:
Web程序 时间:
2020-07-01 11:06:24
阅读次数:
62
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" ...
分类:
系统相关 时间:
2020-07-01 09:39:22
阅读次数:
71
1、准备工作 1、安装 gcc 、vcpkg 等。 2、下载最新的 GDAL 源码。 3、使用 vcpkg 安装第三方库。 ./vcpkg install tiff install sqlite3[tool] ./vcpkg install geos ./vcpkg install curl ./v ...
分类:
系统相关 时间:
2020-06-30 13:00:36
阅读次数:
183
检测其它主机端口是状态 curl ip:port curl 192.168.1.1:8080 检测本机端口是否被占用 lsof -i:8000 查看所有端口详细信息,包括进程id sudo netstat -antulp sudo netstat -anltup | grep 8000 -a all ...
分类:
系统相关 时间:
2020-06-30 12:43:04
阅读次数:
63