网络dhcp功能 把linux配置成路由器 dhcp分配信息包括: ip地址 子网掩码 网关 dns dhcp租约时间 dhcp服务安装 yum install dhcp -y cat > /etc/dhcp/dhcpd.conf <<EOF subnet 172.16.1.0 netmask 25 ...
分类:
其他好文 时间:
2021-03-09 12:57:44
阅读次数:
0
1.union 和 union all 前者可以去重 select sex,address from test where dt='20210218' union all select sex,address from test where dt='20210218'; + + +--+ | sex ...
分类:
其他好文 时间:
2021-03-08 14:17:52
阅读次数:
0
1、安装lib-flexible npm install lib-flexible --save 2、在项目入口文件main.js中引入 import 'lib-flexible' 以上配置,可以解决移动端的适配。默认将屏幕划分为10等分,如果设计稿尺寸为1920px, 则 1rem = (1920 ...
分类:
其他好文 时间:
2021-03-08 13:53:55
阅读次数:
0
配置到淘宝服务器 npm config set registry https://registry.npm.taobao.org 查看 npm 配置信息 npm config list 只要经过了上面命令的配置,则你以后所有的 `npm install` 都会默认通过淘宝的服务器来下载。 ...
分类:
Web程序 时间:
2021-03-08 13:31:32
阅读次数:
0
1.安装 sudo apt install xscreensaver 2.打开xscreensaver sudo xscreensaver-demo 3.设置 参考:https://zhuanlan.zhihu.com/p/192840118 https://blog.csdn.net/iteye_ ...
分类:
其他好文 时间:
2021-03-06 15:04:02
阅读次数:
0
Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache ...
分类:
系统相关 时间:
2021-03-06 14:52:16
阅读次数:
0
hadoop大数据集群搭建过程中,需要使用到zookeeper进行主从管理和控制,那我们就安装一套集群环境 1、下载zookeeper 登录zookeeper.apache.org官网,找到Getting Started下边的Download。 进去之后我们选择一个版本,比如选择3.6.2,进去后选 ...
分类:
其他好文 时间:
2021-03-06 14:45:39
阅读次数:
0
配置文件 mapred-site.xml 加入以下代码 <!-- 历史服务器端地址 --> <property> <name>mapreduce.jobhistory.address</name> <value>hadoop102:10020</value> </property> <!-- 历史服 ...
分类:
其他好文 时间:
2021-03-06 14:37:58
阅读次数:
0
杀死进程 $HADOOP_HOME/sbin/stop-yarn.sh $HADOOP_HOME/sbin/stop-dfs.sh 删除所有节点 hadoop 根目录下的 data 和 logs rm -rf data/ logs/ 格式化 在 hadoop 根目录下执行 hdfs namenode ...
分类:
其他好文 时间:
2021-03-06 14:35:10
阅读次数:
0
拷贝包到自定义文件夹 下载批量导入工具到自定义文件夹https://agent-install.oss-cn-hangzhou.aliyuncs.com/migrate-local-repo-tool.jar 打开本地的Git Bash 切换到工具的位置 批量导入命令说明 仓库地址及用户名密码配置获 ...
分类:
其他好文 时间:
2021-03-06 14:30:51
阅读次数:
0