linux
文章平均质量分 78
linux操作记录
RZH_long
这个作者很懒,什么都没留下…
展开
-
hadoop:linux环境搭建前准备
--------------------------------------------------- 关闭防火墙: service iptables stop; 关闭防火前开机自启动:chkconfig iptables off; --------------------------------------------------- 关闭selinux:vim /etc/selinux/config #SELINUX=enforcing SELINUX=disabled ----------原创 2021-10-25 22:42:00 · 100 阅读 · 0 评论 -
Linux的基础常用命令
需要记住的命令: -------------------------------------------------------------------------------------------- 1.查找命令 --查找服务(常用) ps - ef | grep xxx --find查找命令 find 路径 -name 名称 找文件(常用) find . -type d | sort 找当前目录并且排序 find. -size +100M 找当前目录下大于100M的文件 wherei原创 2021-10-20 20:34:54 · 52 阅读 · 0 评论 -
linux7.0磁盘挂载
一些概念: 卷组:vg 卷:lv 卷里面放磁盘 vg/lv磁盘 Linux的目录挂载: Oracle挂载在vg上面,卷组下面可以添加卷。 磁盘操作相关命令: 添加硬盘(关机添加硬盘,另一种技术叫热插拔不用关机也可以添加硬盘) df -h lvdisplay当前所有逻辑卷 vgdisplay查看vg卷组的大小 pvgdisplay 物理卷,硬盘上的使用情况(没啥用) 开始LVM扩容 硬盘格式化:fdisk -l fdisk -l |grep '/dev'grep...原创 2021-10-28 21:40:54 · 213 阅读 · 0 评论 -
Shell基础操作
1.linux的shell编程 linux的shell是一门脚本语言,所见即所得 shell编程一般指代shell脚本的开发,不是指代shell内核的开发 查看shell内核: cat /etc/shells /bin/sh (用的多,免费的 ) /bin/bash(用的多,免费的) /sbin/nologin /bin/dash /bin/tcsh /bin/csh 统一软件安装路径: mkdir -p /export/softwares 安装包 mkdir -p /export原创 2021-10-25 22:45:07 · 92 阅读 · 0 评论