yum_repository模块yum_repository模块可以帮助我们管理远程主机上的yum仓库。此处我们介绍一些yum_repository模块的常用参数,你可以先对这些参数有一个大概了解,然后再看小示例。name参数:必须参数,用于指定要操作的唯一的仓库ID,也就是".repo"配置文件中每个仓库对应的"中括号"内的仓库IDbaseurl参数:此参
分类:
其他好文 时间:
2020-09-15 21:13:34
阅读次数:
38
一、过程 1、修改配置文件 vim etc/hadoop/hdfs-site.xml <property> <name>dfs.datanode.data.dir</name> <value>file:///${hadoop.tmp.dir}/dfs/data1,file:///${hadoop.t ...
分类:
其他好文 时间:
2020-09-15 21:01:05
阅读次数:
37
Nginx简介 1. nginx常用指令 nginx查看版本号 nginx -v nginx启动命令 nginx nginx关闭命令 nginx -s stop 检查配置文件 nginx -t 重新加载配置文件 nginx -s reload 2. Nginx配置文件(nginx.conf) ? n ...
分类:
其他好文 时间:
2020-09-15 20:59:13
阅读次数:
34
1.xxx-api是基于springboot的模块 2.配置文件 application.properties spring.profiles.active=@activeEnv@ application-dev.properties server.servlet.context-path=/api ...
分类:
其他好文 时间:
2020-09-14 19:22:29
阅读次数:
67
SpringMVC注解的方式@Controller@RequestMapping@SessionAttributes案例实操@Controller控制器定义在spring3.0中,通过@controller标注即可将class定义为一个controller类。为使springMVC能找到定义为controller的bean,需要在servlet-context配置文件中增加如下定义:<con
分类:
编程语言 时间:
2020-09-14 19:19:51
阅读次数:
55
ORACLE 11.2.0.4 配置EM C:\Users\Administrator>emca -config dbcontrol db -repos create EMCA 开始于 2020-9-1 16:14:16EM Configuration Assistant, 11.2.0.3.0 正 ...
分类:
数据库 时间:
2020-09-14 19:14:53
阅读次数:
33
串口服务器: ser2net-3.5.2 1.官网下载ser2net-3.5.2开源串口服务器 tar -zxvf ser2net-3.5.2.tar.gz 解压 执行 ./configure ==>生成Makefile文件 make ==》 生成ser2net可执行文件 2. 修改配置文件 # c ...
分类:
Web程序 时间:
2020-09-14 18:53:43
阅读次数:
67
一、elasticsearch之相关配置 前言 在elasticsearch\config目录下,有三个核心的配置文件: elasticsearch.yml,es相关的配置。 jvm.options,Java jvm相关参数的配置。 log4j2.properties,日志相关的配置,因为es采用了 ...
分类:
其他好文 时间:
2020-09-12 21:48:34
阅读次数:
36
1.创建bean的三种方式 第一种方式:使用默认构造函数创建 在spring的配置文件中使用bean标签,配以id和class属性后,且没有其它属性和标签时。采用的就是默认构造函数创建bean对象,此时如果类中没有默认构造函数,则对象无法创建。 <bean id="accountService" c ...
分类:
编程语言 时间:
2020-09-12 21:47:13
阅读次数:
49
一、虚拟主机 #虚拟主机配置方式: 1.基于多IP的方式 2.基于多端口的方式 3.基于多域名的方式 1.基于多IP的方式 1)第一个配置文件 [root@web02 /etc/nginx/conf.d]# vim mali.conf server { listen 10.0.0.8:80; ser ...
分类:
其他好文 时间:
2020-09-12 21:27:25
阅读次数:
42