随笔分类 -  linux基础知识

摘要:部署telnet,防止ssh启动失败 1、关闭防火墙或者开放23端口 2、安装启动服务,并开启root访问 yum install -y telnet-server.x86_64 yum install -y telnet.x86_64 yum install -y xinetd.x86_64 sy 阅读全文
posted @ 2019-11-26 10:12 bioamin 阅读(2287) 评论(0) 推荐(0)
摘要:声明:用这种方法做的系统盘,如果安装centos、redhat系统有问题的!!!ubuntu系统没有测试,ubuntu可能没有问题; 如何解决这个问题?在文章末尾。 1、首先打开UltraISO软件,尽量下载最新版的,小编曾用某个旧版的UltraISO,制作的安装盘,不能不能识别磁盘,安装失败! 2 阅读全文
posted @ 2019-08-20 10:38 bioamin 阅读(3451) 评论(0) 推荐(0)
摘要:bioamin在之前写过一篇文章,主要用于redhat系统在有外网情况下,使用外网yum源。 《redhat7.3安装yum源 基于外网的http服务》 https://www.cnblogs.com/students/p/9646247.html 安全月开始后,外网无法访问,本文主要记录安装局域网 阅读全文
posted @ 2019-08-16 11:11 bioamin 阅读(2731) 评论(0) 推荐(0)
摘要:nohup命令与& nobup投递的程序关闭shell页面,程序终止;ctrl+c不终止 命令+&,这种类型投递的命令关闭页面程序不终止、ctrl+c终止 最好的办法就是nohup +commond+& 阅读全文
posted @ 2019-05-26 18:17 bioamin 阅读(638) 评论(0) 推荐(0)
摘要:1 进入磁盘整列设置窗口 1.1 开机在提示符页面下按【F1】进入BIOS设置 1.2 依次进入子菜单【System Settings】à【Adapters and UEFI Drivers】 1.3 依次进入子菜单【System Settings】à【Adapters and UEFI Drive 阅读全文
posted @ 2019-03-12 09:29 bioamin 阅读(9371) 评论(0) 推荐(0)
摘要:小火车 get http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpmyum install slsl 黑客帝国 会有奇奇怪怪的报错, 阅读全文
posted @ 2018-10-26 16:32 bioamin 阅读(1757) 评论(0) 推荐(0)
摘要:1.yum是什么? yum的全称是yellow dog updater,modified,是一个shell前端软件包管理器;基于RPM包管理,能够从指定的服务器下载RPM包并自动安装,可以自动处理依赖性关系,并且一次性安装所有依赖的软件包,无需一次次频繁的下载、安装。 2.yum有什么作用? yum 阅读全文
posted @ 2018-08-23 17:28 bioamin 阅读(1636) 评论(0) 推荐(0)
摘要:找不大 eth0网卡,也就连不上网络,症状是ifconfig以后只现实lo,不显示eth0 ifconfig,显示的ip是ifcfg-lo的ip 解决办法 1. 拷贝cp ifcfg-lo ifcfg-eth0 2. 重新配置ifcfg-eth0如下 DEVICE="eth0" BOOTPROTO= 阅读全文
posted @ 2018-04-19 00:57 bioamin 阅读(2434) 评论(0) 推荐(0)
摘要:cat file | grep -c 'xxx' 统计xxx在file中出现的行数 cat file | grep -o 'xxx' 统计xxx在file中出现的次数 阅读全文
posted @ 2018-04-13 16:05 bioamin 阅读(3932) 评论(0) 推荐(0)