随笔分类 - Linux
摘要:我的理解是两者是包含关系,kernel (内核)是核心,是控制管理系统资源的,而OS 是接口,是kernel的延伸
阅读全文
摘要:第一次做这个的时候,都是别人直接提供给我们了image 和OVMF.fd,可以直接进行以下的command就可以实现最终目的了: CMD to boot up the img which had the os installed without network enabling. #qemu-img
阅读全文
摘要:这次遇到了一个新的问题,自己本身有一个网卡连接上网络的,另外需要插上两张网卡同时需要有网络,但是当我如此操作之后发现,另外两张网卡无法连接网络,但是又能确定其实此时是有网络的。 解决办法: 1. 纯命令行解决 通过ip a 查询此时的网卡以及IP ,发现有三张有效的网卡,但是只有本机的那个网卡有IP
阅读全文
摘要: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
阅读全文
linux --tar: .BUILDINFO: time stamp 2020-08-27 17:25:55 is 68853652.868391065 s in the future .MTREE
摘要:[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.
阅读全文
摘要:安装了一个新的redhat 系统过后,遇到了“This system is not registered to Red Hat Subscription Management” ,大神们都是先检查yum 和 安装新的yum 和对应新的repo 文件,我follow那些方法之后仍然还有这样的问题,我将
阅读全文
摘要:对于Samba的解释可以参考百度的解释 我这次是实现linux 中的文件与Windows 共享。 1.创建一个用户 [root@intel-obmc ~]# useradd xiao [root@intel-obmc ~]# passwd xiao Changing password for use
阅读全文
摘要:登录时生效的环境变量配置文件 在Linux 系统登陆时主要生效的环境变量配置文件可以有以下5个: 1) /etc/profile 2) /etc/profile.d/*.sh 3) /etc/bashrc ****1,2, 3 这三个配置文件是针对所有用户 4)~./bash_profile 5)
阅读全文
摘要:https://www.cnblogs.com/yychuyu/p/12859788.html 参考良许Linux 我follow 上面的说法,我们现在可以有三种网络测试工具,一个是fast ,一个是speedtest,一个是iperf。第一个我没有下载下来,出了一点问题,没有继续看这个问题,因为我
阅读全文
摘要:[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
阅读全文
摘要:1. 命令 >> 文件 2>&1 例子: ls >> abc 2》&1 则abc文件中就是ls 的输出, lll >> abc 2>&1 则abc 中也会有" bash: lll: command not found..."的输出。 2. 命令 &>> 文件
阅读全文
摘要:解压的时候遇到gzip: stdin: unexpected end of file,这表明你下载的文件包没有下载完整,请重新下载然后重新解压
阅读全文
摘要:[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
阅读全文
摘要: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
阅读全文
摘要:在测试的过程中遇到了/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
阅读全文
摘要:在改完自己的配置文件之后,运行source /etc/profile 的时候总是显示“ -bash: /etc/profile: line 88: syntax error: unexpected end of file ”的问题, 方法——> check profile 文件最后一行是没有什么问题
阅读全文
摘要:方法一: . /etc/profile 方法二: source /etc/profile PS :方法一中的点后面有一个空格。 方法一和方法二其实是一个意思。
阅读全文
摘要:机器重启后发现机器show“ warning: shell level (1000) too high, resetting to 1”,回想了一下之前做了哪些操作,在reboot前我对/etc/profile 文件进行了环境变量的改变,当时没有注意到我改完profile后有没有什么问题,提示了我“
阅读全文