<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lu_1110的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lu_1110</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lu_1110]]></copyright><item><title><![CDATA[理解docker的分层镜像实现 base 镜像共享（DockerFile）]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/106533490</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/106533490</guid><author>lu_1110</author><pubDate>Wed, 03 Jun 2020 22:14:17 +0800</pubDate><description><![CDATA[Docker 镜像要采用这种分层结构最大的一个好处就是 - 共享资源。

   比如：有多个镜像都从相同的 base 镜像构建而来，那么宿主机只需在磁盘上保存一份base镜像，同时内存中也只需加载一份 base 镜像，就可以为所有容器服务了。而且镜像的每一层都可以被共享。

目录

一、关于base镜像

二、镜像、容器和存储驱动的关系

三、最为典型的镜像的分层技术——aufs

四、总结

一、关于base镜像

base 镜像有两层含义：

不依赖其他镜像，从 scratch 构建...]]></description><category></category></item><item><title><![CDATA[docker容器共享宿主机环境（目录挂载）]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/106533180</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/106533180</guid><author>lu_1110</author><pubDate>Wed, 03 Jun 2020 21:23:06 +0800</pubDate><description><![CDATA[一、背景介绍

　　如果开发的服务均需要将打成docker镜像，可是随着服务越来越多，镜像也越来越多。每次制作镜像的时候都需要将依赖打进容器，这样一个jre的环境就是100多M。有一天突发奇想，容器能不能共用宿主机的环境？这样每次打镜像时体积就会少不少。

二、测试

　　我们测试用的是java的web项目做的测试，框架用的springboot,由于集成了tomcat插件，所以web项目打成jar包即可运行。

　　1、在宿主机上安装jdk环境，目录在/home/softwares/jdk1.8.0_151]]></description><category></category></item><item><title><![CDATA[关于Docker的跨平台]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/105384344</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/105384344</guid><author>lu_1110</author><pubDate>Wed, 08 Apr 2020 12:19:47 +0800</pubDate><description><![CDATA[Docker 是一个开源的应用容器引擎，让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中，然后发布到任何流行的Linux或Windows机器上，也可以实现虚拟化。容器是完全使用沙箱机制，相互之间不会有任何接口。





  由定义引发思考：“发布到任何流行的Linux或Windows机器上”，为什么能跨平台？镜像跨平台还是Docker跨平台？跨平台意味着不用考虑宿主...]]></description><category></category></item><item><title><![CDATA[SpringCloud学习(3)-------使用IDEA快速搭建Rest微服务项目]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/105328032</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/105328032</guid><author>lu_1110</author><pubDate>Sun, 05 Apr 2020 18:05:50 +0800</pubDate><description><![CDATA[一、技术选型

SpringCloud
			SpringBoot
			SpringCloud Alibaba
			JAVA
			Maven
			MySQl
		Hoxton.SR1
			2.2.2.RELEASE
			2.1.0.RELEASE
			JDK8
			3.5及以上
			5.7及以上
		SpringBoot版本不断更新，如果单独开发一个SpringBoot项目，版本...]]></description><category></category></item><item><title><![CDATA[SpringCloud学习(2)-------2020SpringCloud组件的停更、升级和替换]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/105327391</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/105327391</guid><author>lu_1110</author><pubDate>Sun, 05 Apr 2020 15:26:58 +0800</pubDate><description><![CDATA[一、之前SpringCloud常用的微服务落地技术

组件
			落地技术
		服务的注册与发现
			Eureka
		服务的负载与调用
			
			Ribbon
			
		服务的负载与调用
			Feign
		服务的熔断降级
			Hystrix
		服务网关
			Zuul
		服务的分布式配置
			SpringCloud Config
		服务开发
			SpringBoot
		...]]></description><category></category></item><item><title><![CDATA[SpringCloud学习(1)-------微服务与SpringCloud概念]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/105323633</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/105323633</guid><author>lu_1110</author><pubDate>Sun, 05 Apr 2020 11:51:03 +0800</pubDate><description><![CDATA[目录

一、微服务和微服务架构

二、微服务和分布式服务

三、微服务与SpringCloud

四、SpringCloud和SpringBoot

五、SpringCloud和Dubbon

参考网址：SpringCloud中文网https://springcloud.cc/

         SpringCloud中文社区http://springcloud.cn/

 ...]]></description><category></category></item><item><title><![CDATA[m表示为一些不超过n的自然数之和]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/81108490</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/81108490</guid><author>lu_1110</author><pubDate>Thu, 19 Jul 2018 07:42:41 +0800</pubDate><description><![CDATA[/*
设m,n均为自然数，m可表示为一些不超过n的自然数之和，
f(m,n)为这种表示方式的数目。
例：f(5,3)=5，有五种表示方式：
3+2，3+1+1，2+2+1，2+1+1+1，1+1+1+1+1
*/

#include&amp;lt;stdio.h&amp;gt;
int f(int m, int n);
int main()
{
    int m,n,ans;
    scanf(&quot;%d%d&quot;,...]]></description><category></category></item><item><title><![CDATA[char varchar nvarchar]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/72621667</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/72621667</guid><author>lu_1110</author><pubDate>Mon, 22 May 2017 10:08:53 +0800</pubDate><description><![CDATA[﻿﻿
1. char
     固定长度，最长n个字符。


2. varchar
     最大长度为n的可变字符串。
（n为某一整数，不同数据库，最大长度n不同）


char和varchar区别：
     varchar必char节省空间，但在效率上比char稍微差一些。
     说varchar比char节省空间，是因为varchar是可变字符串，比如：用var]]></description><category></category></item><item><title><![CDATA[PreparedStatement中的execute、executeQuery和executeUpdate之间的区别]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/70244834</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/70244834</guid><author>lu_1110</author><pubDate>Wed, 19 Apr 2017 20:27:24 +0800</pubDate><description><![CDATA[该 PreparedStatement接口继承Statement，并与之在两方面有所不同：

PreparedStatement 实例包含已编译的 SQL 语句。这就是使语句“准备好”。包含于 PreparedStatement 对象中的 SQL 语句可具有一个或多个 IN 参数。IN参数的值在 SQL 语句创建时未被指定。相反的，该语句为每个 IN 参数保留一个问号（“？”）作为占位符。每个]]></description><category></category></item><item><title><![CDATA[URL]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/70243456</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/70243456</guid><author>lu_1110</author><pubDate>Wed, 19 Apr 2017 18:01:31 +0800</pubDate><description><![CDATA[URL==Uniform  Resource  Locator
代表资源的地址信息
//：/
http://www.jikexueyuan.com/path/]]></description><category></category></item><item><title><![CDATA[jdbc的代码实现]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/70210092</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/70210092</guid><author>lu_1110</author><pubDate>Mon, 17 Apr 2017 13:41:13 +0800</pubDate><description><![CDATA[Web工程中建立class文件：
package cn.edu.hpu.jdbc;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class JDBC {

	private String username="root";
	private Str]]></description><category></category></item><item><title><![CDATA[request.getParameter("uname")和session.getAttribute("uname")有什么区别]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/70197457</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/70197457</guid><author>lu_1110</author><pubDate>Sun, 16 Apr 2017 19:51:31 +0800</pubDate><description><![CDATA[前者是从request取数据,通俗说就是从浏览器取数据
后者是从session取数据,也就是从服务器取自己的数据]]></description><category></category></item><item><title><![CDATA[关于myeclipse中web project中文乱码的解决《过滤器Filter》]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/70135964</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/70135964</guid><author>lu_1110</author><pubDate>Tue, 11 Apr 2017 21:40:15 +0800</pubDate><description><![CDATA[在使用HttpServletRequest.getParameter(String name)时我们可能会取得中文的乱码。
问题描述：
当利用getParameter()方法去取HTML元素中value值时当元素的value值为中文时用该方法取到的值可能为乱码。这时候我们需要的取得它的中文。
 
a) 方法一
在利用getParameter方法之前添加如下语句 
reques]]></description><category></category></item><item><title><![CDATA[service() doGet() doPost()  功能介绍]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/70105477</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/70105477</guid><author>lu_1110</author><pubDate>Tue, 11 Apr 2017 19:29:37 +0800</pubDate><description><![CDATA[HttpServlet 里的三个方法：service(HttpServletRequest req, HttpServletResponse resp) 
                                            doGet(HttpServletRequest req, HttpServletResponse resp)
                    ]]></description><category></category></item><item><title><![CDATA[HDU2266How Many Equations Can You Find(深搜)]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/52750956</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/52750956</guid><author>lu_1110</author><pubDate>Fri, 07 Oct 2016 17:57:25 +0800</pubDate><description><![CDATA[How Many Equations Can You Find

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)

Total Submission(s): 641    Accepted Submission(s): 421

Problem Description]]></description><category></category></item><item><title><![CDATA[POJ 1942 Paths on a Grid【组合数学】]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/52745270</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/52745270</guid><author>lu_1110</author><pubDate>Thu, 06 Oct 2016 19:53:23 +0800</pubDate><description><![CDATA[Paths on a Grid




Time Limit: 1000MS
 
Memory Limit: 30000K


Total Submissions: 24879
 
Accepted: 6185







Description

Imagine you are attending your math lesson at school]]></description><category></category></item><item><title><![CDATA[Light-oj 1080 - Binary Simulation(线段树区间更新)]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/52743681</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/52743681</guid><author>lu_1110</author><pubDate>Thu, 06 Oct 2016 14:46:00 +0800</pubDate><description><![CDATA[1080 - Binary Simulation





PDF (English)
Statistics
Forum








Time Limit: 2 second(s)
Memory Limit: 64 MB






Given a binary number, we are about to do some operation]]></description><category></category></item><item><title><![CDATA[树状数组]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/52729808</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/52729808</guid><author>lu_1110</author><pubDate>Mon, 03 Oct 2016 22:35:26 +0800</pubDate><description><![CDATA[如果给定一个数组，要你求里面所有数的和，一般都会想到累加。但是当那个数组很大的时候，累加就显得太耗时了，时间复杂度为O(n)，并且采用累加的方法还有一个局限，那就是，当修改掉数组中的元素后，仍然要你求数组中某段元素的和，就显得麻烦了。所以我们就要用到树状数组，他的时间复杂度为O（lgn），相比之下就快得多。下面就讲一下什么是树状数组：

         一般讲到树状数组都会少不了下面这个图：]]></description><category></category></item><item><title><![CDATA[500B New Year Permutation（Floyd）]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/52576245</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/52576245</guid><author>lu_1110</author><pubDate>Sun, 18 Sep 2016 17:27:56 +0800</pubDate><description><![CDATA[B. New Year Permutation


time limit per test
 2 seconds


memory limit per test
 256 megabytes


input
 standard input


output
 standard output



User ainta has a permutation p1]]></description><category></category></item><item><title><![CDATA[500A. New Year Transportation]]></title><link>https://blog.youkuaiyun.com/lu_1110/article/details/52576174</link><guid>https://blog.youkuaiyun.com/lu_1110/article/details/52576174</guid><author>lu_1110</author><pubDate>Sun, 18 Sep 2016 17:22:48 +0800</pubDate><description><![CDATA[time limit per test
 2 seconds


memory limit per test
 256 megabytes


input
 standard input


output
 standard output



New Year is coming in Line World! In this world, there are n]]></description><category></category></item></channel></rss>