Month: January 2019
Linux 使用私钥登录
生成ssh公钥密钥对:参考 2. 进入/root/.ssh目录下, 将公钥复制到 authorized_keys 文件。 3. 下载私钥 id_rsa,这样,便可以通过私钥来免密登录服务器了! 现在可以在本地 docker 起一台ubuntu 虚拟机
Jmeter 获取 POST 请求后跳转地址的链接
在经典web应用用,POST 请求后,通常会跳转到一个新的页面,而新的页面通常会带一些动态的参数,不如 `post_id` 例如,我在post提交之后,随机跳转到一个测试页面 if (isset($_POST[‘test’]) && $_POST[‘test’] !== “”) { header(‘Location: http://’ . $_SERVER[‘HTTP_HOST’] . ‘/test.php?arg=/’ . rand(1, 100) . ‘/’ . rand(1, 100)); exit;}
在 Ubuntu 16/18 上重置 MySQL 5.7 root 账户密码
apt install mysql-server, 莫名其妙的就装完了,都没有让我设置密码,现在只能通过其他方式来重置密码。 然后就可以通过 SQL 修改 root 密码了
How To Install Oracle Java JDK 11 / 8 on Ubuntu 18.04 / Linux Mint 19
Today we will be going through the steps to install Oracle Java JDK 11 / 8 on Ubuntu 18.04. Java SDK is the base for the JAVA developers, and this guide will be more useful for them to build a development environment when they especially use Ubuntu. Open up a terminal and switch to the root user. sudo…