摘要: 一,安装Docker-CE 本文采用阿里云提供的镜像站来安装 1,安装所需工具 [root@localhost ~]# yum install -y yum-utils device-mapper-persistent-data lvm2 2,添加yum源 [root@localhost ~]# y 阅读全文
posted @ 2018-02-24 16:06 fuhaizi 阅读(2203) 评论(0) 推荐(0) 编辑
摘要: 查看系统时间 [root@localhost ~]# dateSat Feb 24 14:41:22 CST 2018 查看硬件时间 [root@localhost ~]# hwclock --showSat 24 Feb 2018 02:40:39 PM CST -0.241654 seconds 阅读全文
posted @ 2018-02-24 14:54 fuhaizi 阅读(652) 评论(0) 推荐(1) 编辑
摘要: tomcat下部署两个工程时,只有一个可以访问,另一个出现404错误,该如何解决 在开发新项目的时候,有时候为了省时,直接把曾经做过的项目工程A拷贝成改名为B工程,然后再在B工程上进行功能的开发, 此时若把A,B工程同时部署到tomcat下,会发生只能访问A,B工程中的其中一个,而另一个会出现404 阅读全文
posted @ 2018-02-24 11:38 fuhaizi 阅读(421) 评论(0) 推荐(0) 编辑
摘要: server{ listen 80; listen 443 ssl; server_name www.iamle.com; index index.html index.htm index.php; root /home/wwwroot/www.iamle.com/; #ssl on; 这里要注释掉 阅读全文
posted @ 2018-02-24 11:24 fuhaizi 阅读(10323) 评论(1) 推荐(1) 编辑
摘要: Nginx的配置文件nginx.conf配置详解如下: user nginx nginx; #Nginx用户及组:用户 组。window下不指定 worker_processes 8; #工作进程:数目。根据硬件调整,通常等于CPU数量或者2倍于CPU。 error_log logs/error.l 阅读全文
posted @ 2018-02-24 11:14 fuhaizi 阅读(355) 评论(0) 推荐(0) 编辑