![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 84
tiandaochouqin99
这个作者很懒,什么都没留下…
展开
-
【linux】mdadm
1 Preliminary NoteIn this example I have two hard drives,/dev/sdaand/dev/sdb, with the partitions/dev/sda1and/dev/sda2as well as/dev/sdb1and/dev/sdb2./dev/sda1and/dev/sdb1make up the RAID1 array/dev/md0./dev/sda2and/dev/sdb2make up t...转载 2021-09-07 17:59:14 · 382 阅读 · 0 评论 -
【cmd】linux常用命令的英文单词缩写
linux常用命令的英文单词缩写 命令缩写: ls:list(列出目录内容) cd:Change Directory(改变目录) su:switch user切换用户 rpm:redhat package manager红帽子打包管理器 pwd:print work directory打印当前目录 显示出当前工作目录的绝对路径 ps: process status(进程状态,类似于windows的任务管理器)常用参数:-auxf ...转载 2020-07-01 15:14:11 · 513 阅读 · 0 评论 -
【linux】git pull报错
问题:git pull 报错The following untracked working tree files would be overwritten by checkoutfix:本地修改和git上冲突,清理到本地的这个文件修改git clean -f <file_name>注意:千万不能盲目直接git clean -d -fx "",本地的所有改动全...原创 2019-05-23 18:29:24 · 537 阅读 · 0 评论 -
【web】ngix代理配置
问题:由于环境的登录节点只有1个是mesos的控制节点,无法网页查看mesos节点状态,因此配置nginx代理,方法如下解决:nginx服务配置文件修改[root@Cc4Tjbio ~]# whereis nginxnginx: /usr/local/nginx1.1 找到配置文件位置[root@Cc4Tjbio conf]# pwd/usr/local/nginx/...原创 2019-04-28 11:43:51 · 473 阅读 · 0 评论 -
【linux】rpm 参数
1. 查看rpm包对应的文件内容[root@251 ceph_dep]# rpm -qpl libtiff-4.0.3-27.el7_3.x86_64.rpm/usr/lib64/libtiff.so.5/usr/lib64/libtiff.so.5.2.0/usr/lib64/libtiffxx.so.5/usr/lib64/libtiffxx.so.5.2.0/usr/share...原创 2019-08-22 11:45:47 · 170 阅读 · 0 评论 -
【linux】fpm编译rpm包
一、准备fpm环境修改yum源:备份mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup安装阿里云yum源wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.re...转载 2019-07-02 20:37:32 · 216 阅读 · 0 评论 -
【linux】centos 7下载terminator
1. 网址https://pkgs.org/download/terminator选择EPEL x86_64terminator-0.98-3.el7.noarch.rpm可以看到terminator-0.98-3.el7.noarch.rpm的下载方式2. 根据以下内容Install Howto 1. Download the latest epel-...原创 2018-03-22 10:57:09 · 754 阅读 · 0 评论 -
【linux】解决centos 7系统root用户下Chrome无法启动问题
由于ucentos 7系统自带的是Firefox浏览器,需要安装Chrome浏览器,但是在root用户下安装后发现,Chrome无法正常启动。安装及问题解决具体如下:1. 官网下载https://www.google.cn/chrome/google-chrome-stable_current_x86_64.rpm2. 双击此文件进行安装,或者rpm -ivh google-chr...转载 2018-03-21 18:14:48 · 22086 阅读 · 1 评论 -
【linux】centos 7下载vnc viewer
1. 网址https://www.realvnc.com/en/connect/download/viewer/linux/2.DOWNLOAD VNC VIEWER下载文件VNC-Viewer-6.17.1113-Linux-x643. ./VNC-Viewer-6.17.1113-Linux-x64安装VNV-Viewer4../VNC-Viewer-6.17.1...转载 2018-03-22 12:07:33 · 1125 阅读 · 0 评论 -
【linux】Linux下出现Read-only file system的解决办法
问题:centos7 重启之后,无论做任何操作都报错Read-only file system解决:使用mount命令重新把根目录rw挂载下即可cmd:mount-oremountrw/问题:此环境fstab中没有/的自动挂载信息,也没有/boot swap的挂载信息 ,那为什么机器起来就能找到系统盘并挂载呢引用:http://www.92csz.com/21/1...原创 2018-08-20 16:59:47 · 4304 阅读 · 0 评论 -
【linux】linux core格式和生成位置
/proc/sys/kernel/core/core_pattern 默认内容:|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e方法1:临时修改:修改/proc/sys/kernel/core_pattern文件,但/proc目录本身是动态加载的,每次系统重启都会重新加载,因此这种方法只能作为临时修改。/proc/sys/kernel/core_pa...转载 2018-02-07 17:50:36 · 667 阅读 · 0 评论 -
【linux】coredump作用、生成和gdb使用
1. 内核转储作用(1) 内核转储的最大好处是能够保存问题发生时的状态。(2) 只要有可执行文件和内核转储,就可以知道进程当时的状态。(3) 只要获取内核转储,那么即使没有复现环境,也能调试。2. 启用内核转储1.1 查看内核转储是否有效在终端中输入以下命令,查看内核转储是否有效。#ulimit -c0-c 表示内核转储文件的大小限制,现在显示...转载 2018-02-07 17:54:20 · 299 阅读 · 0 评论