ILD

Fedora 34 开启samba
2021-6-1
1 安装$ sudo yum install samba首先修改配置文件/etc/samba/smb.conf[global] workgroup = WORKGROUP security = user encrypt passwords = yes

Fedora 34 编译 mkimage
2021-6-3
安装的Fedora自带的mkimage打包镜像的时候报错了。于是下载最新的u-boot源码,编译$ tar xf u-boot-2021.07-rc3.tar.bz2$ make qemu-x86_64_defconfig$ make tools需要安装python开发库$ sudo dnf ins

fedora 34 控制防火墙
2021-6-3
开启http server发现无法访问,需要关闭防火墙临时停止防火墙$ sudo systemctl stop firewalld永久禁止防火墙$ sudo systemctl disable firewalld查看防火墙状态$ systemctl status firewalld

dnf provides 查看一个文件属于哪个package
2021-7-18
dnf provides可以查看文件是那个package提供的。$ dnf provides `which sensors`Last metadata expiration check: 0:01:39 ago on Sat 17 Jul 2021 10:57:05 PM EDT.lm_sensor

sensors命令查看cpu主板硬盘温度
2021-7-18
安装$ sudo dnf install lm_sensors查看$ sensorsacpitz-acpi-0Adapter: ACPI interfacetemp1: +27.8°C (crit = +105.0°C)iwlwifi_1-virtual-0Adapter: Virt

fedora防火墙允许连接tftp server
2021-8-9
Fedora34搭建自己写的tftpd服务器后,发现路由器无法请求tftp文件。原来是被防火墙拦截了。使用下面的命令开启69端口的防火墙firewall-cmd --add-service=tftp --permfirewall-cmd --reloadhttps://fedoramagazine.

fedora 35 开启ssh服务
2021-11-17
安装$ sudo dnf install openssh-serverenable$ sudo systemctl enable sshdstart$ sudo systemctl start sshd此时就可以连接ssh了。查看状态$ systemctl status sshd● sshd.ser

Copyright © insidelinuxdev.net 2017-2021. Some Rights Reserved.