举例:[root@localhost~]# 定位及文件操作命令: 1、pwd:[root@localhost~]#pwd /root 2、cd:[root@localhost~]# cd /etc [root@localhost etc]# pwd /etc 3、touch:[root@localh ...
分类:
系统相关 时间:
2020-01-29 12:08:25
阅读次数:
109
(一)进入spark-shell命令界面(默认使用scala的命令界面) 1,如果进入了spark安装目录则使用、 1,一台机器启动spark:./bin/spark-shell --master <master-url>命令可进入shell界面,master-url参数可为:local[*]使用逻 ...
分类:
其他好文 时间:
2020-01-29 00:48:18
阅读次数:
82
pwd:显示当前目录 date:显示当前日期 cal:显示日历 ls:列出目录内容 cd:改变当前工作目录 ‘.’:代表工作目录 ‘..’:代表工作目录父目录 进入当前目录的父目录:cd /home 和 cd .. 进入当前目录的子目录:cd jeremy 和 cd ./jeremy 1.创建一个目 ...
分类:
系统相关 时间:
2020-01-28 23:17:04
阅读次数:
127
MapReduce与spark MapReduce: 操作单一,只有map,reduce spark:提供多种操作:过滤,分组,排序.... (一)spark生态环境: Mesos和YARN都是资源调度管理器 HDFS:分布式系统存储组件 S3:亚马逊提供的云端的简单的存储服务 Tachyon:基于 ...
分类:
其他好文 时间:
2020-01-28 20:53:14
阅读次数:
68
因为网络的问题,使用brew install yarn 总是失败。所以记录一下 离线安装的方法 如下图所示 ,先下载下来。 1。解压 2.配置环境变量 touch ~/.bash_profile open ~/.bash_profile export PATH="$PATH:`yarn global ...
分类:
系统相关 时间:
2020-01-28 12:15:10
阅读次数:
179
问题:git clone 下来的文件不能删除 原因:克隆下来的文件进入到了.gitignore、或者没有加文件后缀 解决:将文件从.gitignore文件移除即可脚本如下 或 添加文件后缀即可 git add wenjian git commit -m 'yichu' git rm -r wenji ...
分类:
其他好文 时间:
2020-01-28 10:51:23
阅读次数:
80
This lesson goes over how to install yarn 2 through npm. To install yarn 2 globally, we use npm install -g yarn@berry Init a project: yarn init -y To ...
分类:
其他好文 时间:
2020-01-28 00:04:51
阅读次数:
132
yarn dlx can be used to run packages without installing them. This is useful for packages like create-react-app and gatsby that scaffold out apps for ...
分类:
其他好文 时间:
2020-01-27 23:39:30
阅读次数:
96
查看 debian版本 cat /etc/debian_version 是否安装了xxxx dpkg -s xxxx 切换到root用户 su root 查看sudoers名单 cat /etc/sudoers 删除锁 rm /var/lib/dpkg/lock-frontend 安装xxxx ap ...
分类:
系统相关 时间:
2020-01-27 19:28:28
阅读次数:
96
Ctrl+Alt+T: 打开终端su root: 切换到root用户pwd: 查看当前目录完整的路径cd .. : 回到上一级目录ls: 查看当前所有文件cd 路径: 切换到某个文件夹里面mkdir filename: 创建文件夹(filename)sudo rm -rf file: 删除文件cat ...
分类:
系统相关 时间:
2020-01-27 19:15:54
阅读次数:
86