和 Windows 一样,Linux 也有目录的概念。系统中众多的文件需要借助到目录进行存储与管理。我们下面对 Linux 系统中的目录结构以及经常使用到的概念进行一个完整介绍。 Linux 系统目录结构 在 Windows下,系统把硬盘划分为不同的磁盘分区,每个磁盘分配一个不同的盘符,比如 C:\ ...
分类:
系统相关 时间:
2021-04-22 16:34:05
阅读次数:
0
计算机组成 硬件+软件 硬件 CPU 内存 主板 IO设备 I input 输入设备 键盘、鼠标 O Output 输出设备 显示器、音响 软件 系统软件 windows linux os 应用软件 QQ 微信 英雄联盟 常用快捷键 Ctrl+c 复制 Ctrl+v 粘贴 Ctrl+x 剪切 Ctr ...
分类:
其他好文 时间:
2021-04-22 16:24:14
阅读次数:
0
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
1.内核为每个进程给了两个位图,一个为mask(默认为1),一个为pending(默认为0) 2.当内核态转到用户态时,检测是否有信号,用mask & pending得到结果,如果没有接到信号,那么结果为32位的0,此时通过内核中保存的地址返回原进程。 3.当有一个信号来时,pending中对应位置 ...
分类:
系统相关 时间:
2021-04-22 16:17:45
阅读次数:
0
这个东西折腾了一天,在rhel7上死活pip不能用,网上找了各种方法,基本都是垃圾文章,在无数次试验后,终于这篇文章成功装上了 rhel红帽时面对企业的,centos是基于redhat重新编译后的开源免费版,网上找不到适用rhel的很多东西和操作,以后还是用centos吧,两个差不多 centos7 ...
分类:
编程语言 时间:
2021-04-22 16:07:34
阅读次数:
0
一、安装版本本文以如下版本为例进行介绍。服务器:CentOS:6.8MySQL:8.0.18gcc:9.2.0cmake:3.15.2 服务器配置如下:CentOS 6.8,内存6G,磁盘60G。内存4G,磁盘60G的情况下,编译不成功,内存不足;在内存6G,磁盘20G的情况下,编译也不成功,磁盘空 ...
分类:
数据库 时间:
2021-04-22 16:02:18
阅读次数:
0
问题描述 安装curl时候: The following packages have unmet dependencies: curl : Depends: libcurl4 (= 7.68.0-1ubuntu2.5) but 7.68.0-1ubuntu4 is to be installed E ...
分类:
系统相关 时间:
2021-04-22 15:55:24
阅读次数:
0
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
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系统调用表 记录下来,免得到处找 32位 int 0x80 %eax Name Source %ebx %ecx %edx %esx %edi 1 sys_exit kernel/exit.c int - - - - 2 sys_fork arch/i386/kernel/process. ...
分类:
系统相关 时间:
2021-04-22 15:36:36
阅读次数:
0