原文链接 ubuntu19.10 安装 docker 安装步骤 1.更新现有的包列表 sudo apt update 2.使用apt安装一些允许通过HTTPS才能使用的软件包: sudo apt install apt-transport-https ca-certificates curl software-properties-common 3.将官方Docker存储库的GPG密钥添加到您的系统: curl -fsSL https://download.docker.com/linux/ubuntu/gpg |…

2020-03-02 0条评论 1225点热度 0人点赞 王显锋 阅读全文

缘起 由于使用了一个没有自带FRP的K3 OPENWRT固件,因此需要手动安装。 开搞 下载FRP 下载地址https://github.com/fatedier/frp/releases,选择frp_0.31.2_linux_arm.tar.gz,下载完成之后再k3上使用tar命令解压。 tar xzvf frp_0.31.2_linux_arm.tar.gz 然后把所有的没用的frps相关文件删除。 配置FRP # [common] is integral section [common] server_add…

2020-02-27 0条评论 2862点热度 3人点赞 王显锋 阅读全文

姥爷

2020-01-18 0条评论 1315点热度 0人点赞 王显锋 阅读全文

WP Statistics获取访客真实IP设置 WP Statistics设置当中可以设置各种方法获取访客的真实IP,如下图所示,找到能够正确显示当前访客IP的方法 自定义获取访客IP的方法 具体方法可以参考此官方博客How to Sanitize user IP? 意思就是添加自定义的过滤器来对访客ip进行自定义处理。 add_filter( 'wp_statistics_sanitize_user_ip', 'sanitize_user_ip' ); function sanitize_user_ip( $us…

2020-01-09 0条评论 2104点热度 0人点赞 王显锋 阅读全文

办公室.bat(静态IP) @echo off %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit cd /d "%~dp0" netsh interface ip set address "以太网" static 192.168.2.172 255.255.255.0 192.168.2.1 netsh in…

2020-01-06 0条评论 1877点热度 0人点赞 王显锋 阅读全文

原文链接 CentOS离线安装最新版本Docker 准备工作 安装最新版本的centos 通过以下命令查看centos版本 cat /etc/redhat-release 下载docker-ce.repo文件 下载地址:https://download.docker.com/linux/centos/docker-ce.repo 下载最新的docker-ce、docker-ce-cli、containerd.io安装包 下载地址:https://download.docker.com/linux/centos/7/…

2019-09-23 0条评论 1314点热度 3人点赞 王显锋 阅读全文

修改配置文件 首先根据进程查看docker配置文件路径 ps -ef|grep docker root 11771 24151 0 07:00 pts/12 00:00:00 grep --color=auto docker root 24709 1 0 06:54 ? 00:00:00 /var/packages/Docker/target/usr/bin/dockerd --config-file /var/packages/Docker/etc/dockerd.json root 24720 24709 0 …

2019-07-20 4条评论 6220点热度 3人点赞 王显锋 阅读全文

用phpmyadmin连接mysql8.0报错 解决方法 命令行登录mysql; mysql>use mysql; mysql>ALTER USER root IDENTIFIED WITH mysql_native_password BY '你的密码'; mysql>FLUSH PRIVILEGES; 参考链接 http://tieba.baidu.com/p/5693304822

2019-07-10 0条评论 1819点热度 0人点赞 王显锋 阅读全文

下载rancher 首先github下载rancher的docker镜像,下载地址rancher的版本发布页 https://github.com/rancher/rancher/releases 找到其中一个版本,下载以下3个文件: rancher-images.txt rancher-load-images.sh rancher-save-images.sh 然后给.sh文件添加执行权限,首先执行rancher-save-images.sh下载所有docker镜像。 安装rancher 然后使用如下命令运行 s…

2019-07-10 0条评论 1117点热度 0人点赞 王显锋 阅读全文

关注知了网站即可 https://zhile.io/

2019-07-08 0条评论 5356点热度 1人点赞 王显锋 阅读全文
13456716