《一键建站 | 一分钟拥有自己的网站 | Windows, Linux, VPS 都可以用 | 超快速建站| WordPress》的评论 https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/ 昨天,今天,明天,每天的每天,都多懂一点点... Wed, 09 Oct 2019 13:49:39 +0000 hourly 1 https://wordpress.org/?v=6.5.4 评论者:hujdong https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1573 Wed, 09 Oct 2019 13:49:39 +0000 https://www.dengnz.com/?p=1265#comment-1573 请问我在vps上安装(debian9)出现如下提示:root@vultr:~# apt install docker.io
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package docker.io is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘docker.io’ has no installation candidate

]]>
评论者:fennng https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1327 Tue, 23 Apr 2019 00:51:17 +0000 https://www.dengnz.com/?p=1265#comment-1327 回复给小沙粒。

这个是因为你没有安装DOCKER啦, 按它说的运行 apt install docker.io 就可以安装docker, 装完再用的我命令就好了, 如果有权限问题, 前面要加sudo, 比如 sudo apt install docker.io

]]>
评论者:小沙粒 https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1323 Fri, 19 Apr 2019 09:02:07 +0000 https://www.dengnz.com/?p=1265#comment-1323 峰哥你好:
以下是我的错误提示
root@DEV:~# docker run -name test-mysql -e MYSQL_ROOT_PASSWORD = mypassword -d mysql:5.7.22 docker The program ‘docker’ is currently not installed. You can install it by typing:
apt install docker.io
root@DEV:~# run -name test-wordpress -link test-mysql:mysql -p 8080:80 -d wordpress

]]>
评论者:fennng https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1313 Mon, 15 Apr 2019 03:52:11 +0000 https://www.dengnz.com/?p=1265#comment-1313 回复给小沙粒。

没有过期呀,这个不会过期的, 就是我的代码是Win下用的, 你在 ubuntu 下要改一点点呀, 比如说前面至少要加个 sudo 呀, 你有什么错误发给我看看。

]]>
评论者:小沙粒 https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1310 Fri, 12 Apr 2019 18:39:25 +0000 https://www.dengnz.com/?p=1265#comment-1310 命令代码是不是过期了,这么我在VPS上的乌班图18.04上运行不了上面的代码?

]]>
评论者:fennng https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1234 Fri, 15 Mar 2019 10:42:46 +0000 https://www.dengnz.com/?p=1265#comment-1234 回复给anan。

一样的呀, 在VPS上也是先安装DOCKER,然后运行命令就是了, 如果是LINUX系统,加个SUDO在前面, 还有当前路径由 $PWD 换成 %cd%, 换行由^ 换成 \

]]>
评论者:anan https://www.dengnz.com/2018/10/28/%e4%b8%80%e9%94%ae%e5%bb%ba%e7%ab%99-%e4%b8%80%e5%88%86%e9%92%9f%e6%8b%a5%e6%9c%89%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99-windows-linux-vps-%e9%83%bd%e5%8f%af%e4%bb%a5%e7%94%a8-%e8%b6%85/#comment-1188 Tue, 05 Mar 2019 03:30:42 +0000 https://www.dengnz.com/?p=1265#comment-1188 请问这两行命令如何在vps上用?

]]>