fedora yum install 报错
最近在fedora中yum install gdb时报错:
Failed to download metadata for repo 'fedora-modular'Error: Failed to download metadata for repo 'fedora-modular'
解决方案1:
在/etc/dnf/dnf.conf结尾添加sslverify=0
参考:
http://fossdev.blogspot.com/2015/12/fedora-update-with-dnf-cannot.html
解决方案2:
su
cd ...
Linux fedora安装yum以及换源
下载rpm包:http://rpmfind.net/linux/rpm2html/search.php?query=yum
最近手贱,卸载了fedora下的yum,装了半天装不上去,一直报错:error: Failed dependencies
如何解决?
rpm -ivh 包名 --nodeps --force
加上这两个参数,就可以安装成功了。
加上那两个参数的意义就在于,安装时不再分析包之间的依 ...
Fedora 切换为阿里软件源
1、备份原软件源配置
cp /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora.repo.bak
cp /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates.repo.bak
2、下载新的软件源配置文件
wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
wget -O /etc/yum.r ...
fedora-coreos 试用podman
准备试用一下 fedora-coreos 的 podman
记录一下
正文开始如下:
1.准备清单:
1.1. 下载FedoraCoreOS ISO ISO.sig。
文件名类似“fedora-coreos-32.20200601.2.1-live.x86_64.iso” 700m左右;
“ fedora-coreos-32.20200601.2.1-live.x86_64.iso.sig” 几百字节,很小;
&n ...
Fedora 运行 Apache 的时候无法启动,提示日志错误
Fedora 运行 Apache 的时候无法启动,提示日志错误。
错误信息为:
[root@discuz logs]# service httpd start
Starting httpd: (13)Permission denied: httpd: could not open error log file /home/vhosts/ossez/logs/error_log.
Unable to open logs
原因是 selinux 的问题。
什么是 SELinux 呢?其 ...
Fedora下如何安装Apache和Tomcat及jdk
由于工作需要,小编开始研究Fedora的操作系统,之前虽然也有接触,但是没有认真去深入研究,下面爱站小编就将介绍Fedora下如何安装Apache和Tomcat及jdk的内容。
首先,需要下载的软件有以下几类:
1、jdk-1_5_0_06-linux-i586-rpm.bin
2、apache-tomcat-5.5.16.tar.gz
3、httpd-2.2.0.tar
以上的安装软件读者自行去网上搜索 ...
解决Centos7安装nginx后提示“Welcome to nginx on Fedora!”,conf.d目录下无default.conf文件
解决Centos7安装nginx后提示“Welcome to nginx on Fedora!”,conf.d目录下无default.conf文件
这篇文章主要介绍了Centos7安装nginx后提示“Welcome to nginx on Fedora!”,conf.d目录下无default.conf文件 ,本文给出了问题原因解析及解决方法,需要的朋友可以参考下问题描述在腾讯云centos7上安装nginx sudo y ...
linux-Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64 [Couldn't open file /e tc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64]
在安装Python3-pip 的时候遇到
[root@localhost rpm-gpg]# yum install python3-pipFedora 31 - x86_64 - Updates - aliyun 382 kB/s | 8.1 kB 00:00Fedora 31 - x86_64 - aliyun 472 kB/s | 6.1 ...
fedora 安装apc smart750 UPS
一:概述
我的家庭服务器是intel第一代NUC,渣渣配置,DE3815TYKHE
配置上挺惨的,尤其是处理器,采用了Bay Trail-I嵌入式系列的最低端型号Atom E3815,单核心单线程,主频1.46GHz,核心显卡HD Graphics 400MHz,内存支持单通道DDR3L-1066,热设计功耗5W,好处是完全不用风扇。
其他配置还有单条SO-DIMM内存插槽(最大 ...
Fedora 11下如何安装LAMP
现在网上有很多关于LAMP的安装教程,但是由于方法非常的多,因此很多小伙伴们会不知道该如何选择,其主要安装有源代码编译、软件包安装等,那么你知道Fedora 11下如何安装LAMP吗?
1 前言附注
在本教程中,系统环境是:Fedora 11,我使用主机名:server1.example.com,IP地址:192.168.0.100。这个设置你可以根据你的 ...
Fedora软件安装
Fedora安装软件
一、搭建编程环境
以下,仅为个人习惯:
(一)Vim (终端快速编辑文件)
sudo dnf install vim
cat >~.vimrc<<EOF
filetype on
set ts=4
set number
set autoindent
map <F5> :w<cr>:r!python3 %<cr>
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l
EOF
说明一下:
:vs 竖向分屏 ...
Fedora安装与基本设置
Fedora安装与基本设置
这里是Fedora38
一、安装
(一)下载
Fedora官网 or 阿里云的下载地址
(二)分区
/boot/efi
/boot
/
swap
(三)安装系统(略)
二、基本设置
(一)删除不想用的软件,比如:
sudo dnf remove gnome-boxes totem
(二)设置软件源为阿里云:
sudo mv /etc/yum.repos.d/fedora.repo /etc/yum.repo ...
Fedora GNOME 的常用快捷键
在Fedora中,为了获得最好的GNOME桌面体验,你需要了解并掌握一些驾驭系统的快捷键。
这篇文章将列举我们日常使用中使用频率最高的快捷键。
1. Super键
GNOME 快捷键 - super键
“super”键是如今驾驭操作系统的好朋友。
在传统的笔记本电脑中“super”键坐落于最后一列就在“alt”键的旁边(就是徽标键)。
当你按下“su ...
Fedora 28/29 安装 ( Open V P N ) 结合 easy-rsa3
安装软件包:
[root@localhost ~]# yum -y install openvpn easy-rsa
复制easy-rsa 文件:
[root@localhost ~]# cp -r /usr/share/easy-rsa/ /etc/openvpn/easy-rsa
[root@localhost ~]# cd /etc/openvpn/easy-rsa/
[root@localhost easy-rsa]# cd 3.0.3/
[root@localhost 3.0.3]# find / -type f -name "vars.example" ...
Fedora之SMPlayer安装和使用
Fedora之SMPlayer安装和使用
Fedora Workstation Version: 31
😄 Written by Zak Zhu
目录Fedora之SMPlayer安装和使用参考SMPlayer简介SMPlayer安装SMPlayer使用我偏好的热键个人偏好热键文件
参考
smplayer (https://www.smplayer.info/)
SMPlayer简介
SMPlayer is a free media player for Windows and Linux with b ...
Fedora之配置yum源
Fedora之配置yum源
Fedora Workstation Version: 31
😄 Written by Zak Zhu
目录Fedora之配置yum源参考我配置的yum源yum源需求yum源配置0. 备份1. 添加Fedora源2. 添加Rpmfusion源3. 更新
参考
阿里云官方镜像站 (https://developer.aliyun.com/mirror/)
Virson Ma | RHEL/CentOS/Fedora各种源(EPEL、Remi、RPMForge、RPM ...
Xshell连接virtualbox下的fedora虚拟机
由于这学期的高级数据库技术要求使用老师的Oracle虚拟机,并且使用shell远程连接虚拟机,我就按部就班的操作。
1.下载安装Xshell
我使用的shell软件是xshell,它的优点是界面简洁美观
下载链接:https://www.netsarang.com/zh/xshell-download/
在校学生可选择免费下载,
在此链接:https://www.nets ...
Fedora CoreOS 安装 非LInux专业国内第一手
开篇一张图
Docker基本知识掌握后,又学习了“专有的系统平台”,CoreOS;
之前一直Windows,学习Docker的同时练习了好多Linux知识,全是江湖路数,那个不懂就百度/google;
CoreOS安装后,开局提示语就悲催了,2020年过期?
其实,我是先知道的Fedora CoreOS,又知道的CoreOS;园子里先出的Fedora CoreOS的新闻,当时第一 ...
Fedora 28 报 error while loading shared libraries: libtinfo.so.5 解决办法
5 月 2 日 Fedora 正式发布了28.0正式版本。
4 月 19 日,MySQL 8.0.11 General Availability 正式发布。
今天就拿这两个尝尝鲜。
MySQL 我采用的是 Linux- Generic 包安装,其中详细略过不表。一顿操作之后,终于到将 mysql 服务启动。但是到了连接服务的时候却报错了。
mysql: error while loading s ...
64位UEFI下的Grub2和rEFInd引导多启动移动硬盘(MacOS + Win10 + Win11 + Ubuntu + Fedora + OpenSUSE + Archlinux + Gentoo + Debian + RHEL + SLES)
最近研究了一下如何制作多启动移动硬盘,其中包含的操作系统有2个MacOS安装盘,Win10安装盘,Win11安装盘,Ubuntu,Fedora,OpenSUSE,Archlinux,Gentoo,Debian,RHEL,SLES。这里的启动器包括rEFInd (0.13.3.1)和Grub2 (2.06)。这里的Linux版本选择涵盖了最常用的服务器版本,分别是从Debian,RedHat,SUSE三大主流服务 ...