码迷,mamicode.com
首页 >  
搜索关键字:context root cannot be empty    ( 74556个结果
linux shell if语句
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:系统相关   时间:2021-04-23 11:53:02    阅读次数:0
Prometheus部署 搭建监控系统二(基础篇)
Prometheus部署: 安装 go 语言环境 由于Prometheus是用golang开发的,所以首先安装一个go环境,Go语言是跨平台,支持Windows、Linux、Mac OS X等系统,还提供有源码,可编译安装 二进制包下载地址 wget https://dl.google.com/go ...
分类:其他好文   时间:2021-04-23 11:51:38    阅读次数:0
linux shell脚本中流程控制语句 if 、for、while、case
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:系统相关   时间:2021-04-22 16:20:40    阅读次数:0
远程桌面连接
将设备连接网线, 登录路由器,查看设备IP 打开Xshell进行连接 用户名:root 密码:fa 连接成功 执行 apt-get install xrdp apt-get install vnc4server tightvncserver reboot 启动xrdp #/etc/init.d/xr ...
分类:其他好文   时间:2021-04-22 16:12:52    阅读次数:0
添加Hue服务时连接失败,日志报错ImportError: libxslt.so.1: cannot open shared object file: No such file or directory
CDH添加HUE时数据库连接失败 查看cloudera-scm-server日志报错信息是:ImportError: libxslt.so.1: cannot open shared object file: No such file or directory 原因是centos缺少库文件,执行如下 ...
分类:其他好文   时间:2021-04-22 15:53:25    阅读次数:0
linux 系统中read命令
1、read从键盘读入 [root@centos7 test]# echo $a [root@centos7 test]# read a 123456 [root@centos7 test]# echo $a 123456 2、-p 参数 加入提示 [root@centos7 test]# unse ...
分类:系统相关   时间:2021-04-22 15:41:37    阅读次数:0
Linux
开机会启动许多程序。它们在Windows叫做"服务"(service),在Linux就叫做"守护进程"(daemon)。 最高权限账户为 root,可以操作一切! 关机指令为:shutdown ; sync 将数据由内存同步到硬盘中。shutdown 关机指令,你可以man shutdown 来看一 ...
分类:系统相关   时间:2021-04-22 15:15:12    阅读次数:0
XEN SERVER 7.2 中增加硬盘
很多服务器都会多块盘或者做了Raid的多个虚拟磁盘,而安装xenserver后,他只会默认挂载第一快盘,也就是安装xenServer系统的那块。 那剩余的其他盘,怎么挂载上去做虚拟机的存储用呢?或者后期新增一块磁盘该如何操作呢? 1、用命令查看下自己的host-uuid [root@xenserve ...
分类:其他好文   时间:2021-04-21 12:44:08    阅读次数:0
Android开机启动脚本
在/root/init.rc中添加下面内容, 开机就会执行/system/bin/boot-complete-script.sh脚本 service boot_complete_script /system/bin/boot-complete-script.sh class main oneshot ...
分类:移动开发   时间:2021-04-21 12:38:11    阅读次数:0
20 行简单实现一个 unstated-next 🎅
前言 📝 👉 unstated-next 基于 React 心智模型(hook+context)而设计的状态管理。 👈 在 react hook 出现之前,有基于单一数据源,使用纯函数修改状态的 redux & react-redux 也有基于 Object.defineProperty 和 ...
分类:其他好文   时间:2021-04-21 12:37:21    阅读次数:0
74556条   上一页 1 ... 38 39 40 41 42 ... 7456 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!