修改主机名永久生效:vim/etc/udev/rules.d/70-persistent-net.rules文件实验:配置centos6系统的网络1、hostname命令:修改主机名,临时有效**【例1】修改主机名为node1[root@magedu~]#hostnamenode1验证临时生效:[root@magedu~]#execbash2、通过配置文件修改主机名,重启永久生效**【例2】编辑文
分类:
Web程序 时间:
2019-01-27 14:41:37
阅读次数:
184
题目: A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, dep ...
分类:
其他好文 时间:
2019-01-23 13:03:43
阅读次数:
134
activitemq整合spring 一.activmq的点对点模型 pom.xml: ActiviteMq.class:(发送端) ReceiveMsf.class:(接收端) 二.activmq的发布订阅模型 TopicProducer.class TopicCustomer.class: 和S ...
分类:
编程语言 时间:
2019-01-23 01:30:52
阅读次数:
158
问题现象 使用webpack压缩打包vue项目,遇到一个问题,文本多行显示省略号的关键css语句 莫名其妙丢失失效了。查阅资料,有不少人提出在改样式前后添加注释(后处理程序): 再次打包,发现样式恢复正常。然后控制台却多出一条警告:‘(Emitted ...
分类:
移动开发 时间:
2019-01-22 10:47:32
阅读次数:
821
Form表单部分 <div> <Form ref="FormOne" :model="FormOne" :rules="ruleFormOne" :label-width="80"> <FormItem label="姓名" prop="name"> <i-input type="text" v-m ...
分类:
其他好文 时间:
2019-01-16 19:10:57
阅读次数:
377
1.信号 2、消息 3、管道 4、信号量 5、共享内存 ...
分类:
系统相关 时间:
2019-01-16 15:38:41
阅读次数:
210
主要内容: 爬虫第七天 1 使用scrapy+selenium爬取动态网页的数据: 2 crawlspider: 比较适用于对网站爬取批量网页, 相比于Spider类,CrawlSpider主要使用规则(rules)来提取链接. import scrapy from scrapy.linkextra ...
分类:
Web程序 时间:
2019-01-15 22:01:51
阅读次数:
319
custom usb-seriel udev relus for compatible usb-seriel devices add-pl2303.rules: ACTION== "add",KERNEL=="ttyUSB*", ATTRS{idVendor}=="067b", ATTRS{idPr ...
分类:
其他好文 时间:
2019-01-14 10:56:40
阅读次数:
171
Problem: Given an array of n distinct non-empty strings, you need to generate minimal possible abbreviations for every word following rules below. Beg ...
分类:
其他好文 时间:
2019-01-13 11:01:29
阅读次数:
201
Duplicate detection rules auto unpublish ...
分类:
其他好文 时间:
2019-01-12 21:51:15
阅读次数:
188