上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
摘要: 如果是root用户 不加 sudo sudo vi /etc/sysconfig/network 改完名字后 按Esc :wq! 点击回车保存退出 sudo hostname localhost.xxxx(此处和上图中的名字保持一致) 然后关闭终端在打开就显示更改后的名字 阅读全文
posted @ 2019-12-10 14:09 帖子搬运工 阅读(138) 评论(0) 推荐(0) 编辑
摘要: sudo vi /etc/inittab(非管理员用户修改) vi /etc/inittab(管理员用户修改) 将启动级别改为3不启动图形界面 id:3:initdefault: 将启动级别改为5 启动图形界面 id:5:initdefault: 阅读全文
posted @ 2019-12-10 13:55 帖子搬运工 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 切换到root用户 vi /etc/sudoers 加入一行 hadoop(此为用户名hadoop) ALL=(ALL) ALL如下图 阅读全文
posted @ 2019-12-10 13:51 帖子搬运工 阅读(388) 评论(0) 推荐(1) 编辑
摘要: 查看防火墙 service iptables status 关闭防火墙 service iptables stop 查看防火墙开机启动状态 chkconfig iptables --list 关闭防火墙开机启动 chkconfig iptables off CentOS7关闭防火墙是systemct 阅读全文
posted @ 2019-12-10 13:48 帖子搬运工 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 修改IP地址 第一种: 通过Linux图形界面进行修改 进入Linux图形界面 -> 右键点击右上方的两个小电脑 -> 点击Edit connections -> 选中当前网络System eth0 -> 点击edit按钮 -> 选择IPv4 -> method选择为manual -> 点击add按 阅读全文
posted @ 2019-12-10 13:46 帖子搬运工 阅读(2095) 评论(0) 推荐(0) 编辑
摘要: img中放照片 css中含有一个sytle.css style.css @charset "utf-8"; *{ margin:0; padding:0; } body{ /*background: url(../img/preview.png) ;*/ max-width: 100%; min-w 阅读全文
posted @ 2019-12-09 16:17 帖子搬运工 阅读(1848) 评论(0) 推荐(0) 编辑
摘要: 接口1:随机笑话 请求地址:https://autumnfish.cn/api/joke/list 请求方法:get 请求参数:num(笑话条数,数字) 相应内容:随机笑话 axios.get("https://autumnfish.cn/api/joke/list?num=6") .then(fu 阅读全文
posted @ 2019-12-09 15:43 帖子搬运工 阅读(2131) 评论(0) 推荐(0) 编辑
摘要: function changeTree(val) { let arr = []; if (val.length !== 0) { val.forEach(item => { let obj = {}; obj.id = item.path; obj.label = item.name; if (it 阅读全文
posted @ 2019-12-05 15:53 帖子搬运工 阅读(2369) 评论(0) 推荐(0) 编辑
摘要: v-bind: v-bind是vue中提供的用于绑定属性的命令 可以简写为 冒号 : :title="mytitle" 当想输出 这是一个自定义的title123的时候可以 v-bind:title = "mytitle +'123' " v-bind把双引号里的数据当作一个变量来处理 v-on: 阅读全文
posted @ 2019-12-02 16:05 帖子搬运工 阅读(229) 评论(0) 推荐(0) 编辑
摘要: v-cloak:当使用<div>{{msg}}</div>的时候会把{{隐藏}} 不加的话会在网速较慢的时候显示 v-text:会把msg2当作纯文本 v-html:会把msg2当作html标签字体会加粗 阅读全文
posted @ 2019-12-02 15:38 帖子搬运工 阅读(272) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页