本文使用SpringCloud结合Nacos服务发现,Feign远程调用做一个简单的Demo。 1 Nacos 关于Nacos之前写了两篇文章关于SpringBoot对它的使用,感兴趣可以查看一下。 "《SpringBoot使用Nacos配置中心》" "《SpringBoot使用Nacos服务发现》 ...
分类:
编程语言 时间:
2019-02-04 16:43:03
阅读次数:
132
1. gcc and binutils must be installed. errors: “CONFIG_X86_X32 enabled but no binutils support” sudo apt-get install gcc sudo apt-get install binutils ...
分类:
系统相关 时间:
2019-02-02 19:22:47
阅读次数:
244
1、安装Apache 测试: 浏览器访问 (如:http://localhost),出现It Works!网页。 查看状态: service apache2 status/start/stop/restart Web目录:/var/www 安装目录: /etc/apache2/ 全局配置: /etc ...
分类:
系统相关 时间:
2019-02-02 18:57:30
阅读次数:
214
一、KVM安装 1、安装条件 VT-x BIOS Intel9R) Virtualization Tech [Enabled] cat /proc/cpuinfo | grep -e vmx -e nx -e svm grep vmx /proc/cpuinfo grep svm /proc/cpu ...
分类:
其他好文 时间:
2019-02-02 11:14:39
阅读次数:
233
一、UIScrollView是什么? 1、UIScrollView是滚动的view,UIView本身不能滚动,子类UIScrollview拓展了滚动方面的功能。 2、UIScrollView是所有滚动视图的基类。以后的UITableView,UITextView等视图都是继承于该类。 使用场景:显示 ...
分类:
其他好文 时间:
2019-02-01 17:11:38
阅读次数:
204
状态栏显示的信息分3种 1. 一般信息,用QLabel 代表 2. 永久信息,文本会一直显示在状态栏的最右边。 3. 临时信息,指定信息现实的时间。时间到即信息消失 【参考:】 ...
分类:
其他好文 时间:
2019-01-31 23:44:33
阅读次数:
395
官方安装资料:点击直达 本次以Centos为安装主机 1:首先先导入MongoDB的yum源,因为Centos默认是没有MongoDB的yum源,创建文件:/etc/yum.repos.d/mongodb-org-4.0.repo 2:更新本地缓存 3:安装MongoDB 4:如果想安装指定版本请单 ...
分类:
数据库 时间:
2019-01-31 14:55:15
阅读次数:
195
http://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source Here are some steps that I've found to get the CDT to work well with the Lin ...
分类:
系统相关 时间:
2019-01-29 11:59:50
阅读次数:
219
仅作记录: Get-ADUser -filter * -SearchBase 'OU=小OU,OU=大OU,DC=域名,DC=com或local' -Properties * | Where-Object {$_.Enabled -eq $True} | select SamAccountName, ...
分类:
其他好文 时间:
2019-01-28 17:34:41
阅读次数:
304
一、Window Title Bar Area。windows窗口拖拽控件 二、window Buttons Enabled,在控件的右上角显示:最小化、最大化,关闭按钮; Toggle Fullscreen:双击Window Title Bar Area的区域可以最大化窗口 二、勾选了window ...