随笔分类 -  Linux

摘要:我的理解是两者是包含关系,kernel (内核)是核心,是控制管理系统资源的,而OS 是接口,是kernel的延伸 阅读全文
posted @ 2021-02-20 13:58 正霜霜儿 阅读(661) 评论(0) 推荐(0)
摘要:第一次做这个的时候,都是别人直接提供给我们了image 和OVMF.fd,可以直接进行以下的command就可以实现最终目的了: CMD to boot up the img which had the os installed without network enabling. #qemu-img 阅读全文
posted @ 2021-02-07 16:25 正霜霜儿 阅读(325) 评论(0) 推荐(0)
摘要:这次遇到了一个新的问题,自己本身有一个网卡连接上网络的,另外需要插上两张网卡同时需要有网络,但是当我如此操作之后发现,另外两张网卡无法连接网络,但是又能确定其实此时是有网络的。 解决办法: 1. 纯命令行解决 通过ip a 查询此时的网卡以及IP ,发现有三张有效的网卡,但是只有本机的那个网卡有IP 阅读全文
posted @ 2021-01-16 10:46 正霜霜儿 阅读(1912) 评论(0) 推荐(0)
摘要:1. download the kernel package that you want to install . 2. unzip the package to the path that has enough space :use command ("df -h /usr/local ")to 阅读全文
posted @ 2020-11-27 10:14 正霜霜儿 阅读(299) 评论(0) 推荐(0)
摘要:[root@localhost local]# tar -I zstd -xvf libxcrypt-4.4.17-1-x86_64.pkg.tar.zst .BUILDINFO tar: .BUILDINFO: time stamp 2020-08-27 17:25:55 is 68853652. 阅读全文
posted @ 2020-11-23 15:49 正霜霜儿 阅读(326) 评论(0) 推荐(0)
摘要:安装了一个新的redhat 系统过后,遇到了“This system is not registered to Red Hat Subscription Management” ,大神们都是先检查yum 和 安装新的yum 和对应新的repo 文件,我follow那些方法之后仍然还有这样的问题,我将 阅读全文
posted @ 2020-11-23 14:51 正霜霜儿 阅读(451) 评论(0) 推荐(0)
摘要:对于Samba的解释可以参考百度的解释 我这次是实现linux 中的文件与Windows 共享。 1.创建一个用户 [root@intel-obmc ~]# useradd xiao [root@intel-obmc ~]# passwd xiao Changing password for use 阅读全文
posted @ 2020-11-13 13:53 正霜霜儿 阅读(191) 评论(0) 推荐(0)
摘要:登录时生效的环境变量配置文件 在Linux 系统登陆时主要生效的环境变量配置文件可以有以下5个: 1) /etc/profile 2) /etc/profile.d/*.sh 3) /etc/bashrc ****1,2, 3 这三个配置文件是针对所有用户 4)~./bash_profile 5) 阅读全文
posted @ 2020-11-13 08:44 正霜霜儿 阅读(1336) 评论(0) 推荐(1)
摘要:https://www.cnblogs.com/yychuyu/p/12859788.html 参考良许Linux 我follow 上面的说法,我们现在可以有三种网络测试工具,一个是fast ,一个是speedtest,一个是iperf。第一个我没有下载下来,出了一点问题,没有继续看这个问题,因为我 阅读全文
posted @ 2020-11-12 11:11 正霜霜儿 阅读(834) 评论(0) 推荐(0)
摘要:[root@localhost etc]# lls && echo yes || echo no bash: lls: command not found... Similar command is: 'ls' no [root@localhost etc]# cd /usr/src [root@l 阅读全文
posted @ 2020-10-26 20:32 正霜霜儿 阅读(139) 评论(0) 推荐(0)
摘要:1. 命令 >> 文件 2>&1 例子: ls >> abc 2》&1 则abc文件中就是ls 的输出, lll >> abc 2>&1 则abc 中也会有" bash: lll: command not found..."的输出。 2. 命令 &>> 文件 阅读全文
posted @ 2020-10-26 20:19 正霜霜儿 阅读(292) 评论(0) 推荐(0)
摘要:解压的时候遇到gzip: stdin: unexpected end of file,这表明你下载的文件包没有下载完整,请重新下载然后重新解压 阅读全文
posted @ 2020-10-17 14:54 正霜霜儿 阅读(5930) 评论(0) 推荐(0)
摘要:[root@localhost ~]# tar -I zstd -xvf libxcrypt-4.4.17-1-x86_64.pkg.tar.zsttar (child): zstd: Cannot exec: No such file or directorytar (child): Error 阅读全文
posted @ 2020-10-17 14:03 正霜霜儿 阅读(3852) 评论(0) 推荐(0)
摘要:1. check the kernel that has installed in the os : [root@localhost centos]# awk -F\' '$1=="menuentry " {print $2}' /boot/efi/EFI/centos/grub.cfg CentO 阅读全文
posted @ 2020-10-17 10:19 正霜霜儿 阅读(954) 评论(0) 推荐(0)
摘要:在测试的过程中遇到了/usr/lib64/libm.so.6: version `GLIBC_2.29' not found,于是就是需要安装GLIBC_2.29的包。 过程: 1. 去网站下载: cd /usr/local/ wget http://ftp.gnu.org/gnu/glibc/gl 阅读全文
posted @ 2020-10-13 22:17 正霜霜儿 阅读(65107) 评论(8) 推荐(1)
摘要:在改完自己的配置文件之后,运行source /etc/profile 的时候总是显示“ -bash: /etc/profile: line 88: syntax error: unexpected end of file ”的问题, 方法——> check profile 文件最后一行是没有什么问题 阅读全文
posted @ 2020-10-13 10:05 正霜霜儿 阅读(3170) 评论(2) 推荐(3)
摘要:方法一: . /etc/profile 方法二: source /etc/profile PS :方法一中的点后面有一个空格。 方法一和方法二其实是一个意思。 阅读全文
posted @ 2020-10-12 20:53 正霜霜儿 阅读(2067) 评论(0) 推荐(0)
摘要:机器重启后发现机器show“ warning: shell level (1000) too high, resetting to 1”,回想了一下之前做了哪些操作,在reboot前我对/etc/profile 文件进行了环境变量的改变,当时没有注意到我改完profile后有没有什么问题,提示了我“ 阅读全文
posted @ 2020-10-12 20:33 正霜霜儿 阅读(4849) 评论(0) 推荐(0)
摘要:在测试的过程中遇到了“ ” https://blog.csdn.net/dumeifang/article/details/2963223 上面的这个比较靠谱一些。 但是我目前的.so 文件都是在/usr/lib64.下,需要的文件可以在网上搜到,我的是在https://archlinux.pkgs 阅读全文
posted @ 2020-10-12 13:36 正霜霜儿 阅读(3362) 评论(0) 推荐(0)
摘要:ipmitool命令详解 基础命令学习目录首页 原文链接:https://www.cnblogs.com/EricDing/p/8995263.html [root@localhost ~]# yum install -y ipmitool #安装这个包 #service ipmi start#ip 阅读全文
posted @ 2020-08-20 08:45 正霜霜儿 阅读(2702) 评论(0) 推荐(0)