随笔分类 - linux
摘要:准备阶段检查wget是否下载 yum install -y wget阿里源配置1.进入yum源的配置文件下 cd /etc/yum.repos.d/ # 进入到yum源的配置文件中rm -rf * # 清空所有的yum源文件 # 下载阿里云的官方镜像源wget -O /etc/yum.repos.d
阅读全文
摘要:linux语法使用大全 tail 用法 # 查看最后实时输出,300f是显示最后的300行 tail -300f zhuaqu.log # 搜索查询显示关键字相邻的50行 tail -300f zhuaqu.log |grep "tcmalloc" -C 50 nohup后台启动 # nohup 命
阅读全文