上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
  2018年4月24日
摘要: 1.docker-machine ssh default(有时可省略) 2.sudo sed -i "s|EXTRA_ARGS='|EXTRA_ARGS='--registry-mirror=http://d7e77b19.m.daocloud.io |g" /var/lib/boot2docker 阅读全文
posted @ 2018-04-24 23:14 末 阅读(1768) 评论(1) 推荐(1) 编辑
摘要: 1.安装 下载DockerToolbox,并安装。 下载地址:https://dn-dao-github-irror.daocloud.io/docker/toolbox/releases/download/v17.06.2-ce/DockerToolbox-17.06.2-ce.exe。安装过程不 阅读全文
posted @ 2018-04-24 17:24 末 阅读(8802) 评论(0) 推荐(1) 编辑
  2018年4月23日
摘要: CentOS的配置方式略微复杂,需要先将默认的配置文件复制出来 /lib/systemd/system/docker.service -> /etc/systemd/system/docker.service 然后再将加速器地址添加到配置文件的启动命令 重启Docker就可以了。 阅读全文
posted @ 2018-04-23 23:33 末 阅读(3113) 评论(0) 推荐(2) 编辑
摘要: 代码: 结果: 阅读全文
posted @ 2018-04-23 14:01 末 阅读(923) 评论(0) 推荐(0) 编辑
  2018年4月22日
摘要: -bash: wget: command not found的两种解决方法 wget 时提示 -bash:wget command not found,很明显没有安装wget软件包。一般linux最小化安装时,wget不会默认被安装。可以通过以下两种方法来安装:1、rpm 安装rpm 下载源地址:h 阅读全文
posted @ 2018-04-22 21:31 末 阅读(187744) 评论(3) 推荐(5) 编辑
摘要: 1.写一个Dockerfile文件 2.创建新的images为centos:nginx 3.查看镜像 4.映射容器端口 5.在浏览器中访问 如图所示说明安装成功! 阅读全文
posted @ 2018-04-22 20:33 末 阅读(937) 评论(0) 推荐(0) 编辑
  2018年4月18日
摘要: 1.永久性生效,重启后不会复原 开启: chkconfig iptables on 关闭: chkconfig iptables off 2.即时生效,重启后复原 开启: service iptables start 关闭: service iptables stop 3.查询TCP连接情况: ne 阅读全文
posted @ 2018-04-18 09:46 末 阅读(38623) 评论(0) 推荐(1) 编辑
  2018年4月17日
摘要: 1.进入tomcat/bin vi setenv.sh (原来没有这个文件,需要创建出来) 添加 #add tomcat pid CATALINA_PID="$CATALINA_BASE/tomcat.pid" #add java opts JAVA_OPTS="-server -XX:PermSi 阅读全文
posted @ 2018-04-17 17:00 末 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 1.去官网下载指定的安装包http://tomcat.apache.org/download-70.cgi 2.把下载下来的安装包放在/opt下 3.使用命令解压下载的文件tar -zxvf apache-tomcat-7.0.81.tar.gz4.目录下多了一个文件夹 apache-tomcat- 阅读全文
posted @ 2018-04-17 16:26 末 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2018-04-17 09:29 末 阅读(173) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页