Redhat使用问题记录

redhat7.3 安装qt5.13问题记录 下载qt5.13安装包,进行安装,不再赘述 启动qtcreator出错: 考虑可能是xcb插件有问题,进入到platforms目录下 目录路径如下图 ldd libqxcb.so,果然缺库 我原来的开发环境Centos是可以正常使用的,所有我就从Centos中找到了Libxkbcommon-x11和libxkbcommon库,装到了redhat的qtcreator的库目录... 阅读详情

【问题1】 使用rpm命令卸载软件的时候报了如下错误:

[root@alessio-hp noarch]# rpm -e jdk1.8.0_101-1.8.0_101-fcs
error: %postun(jdk1.8.0_101-1.8.0_101-fcs.x86_64) scriptlet failed, exit status 2

【问题2】 Redhat没有注册的时候无法使用yum来安装软件

[root@localhost .config]# yum update
Load plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.

解决办法:

  • 卸载redhat自带的yum组件

 rpm -qa|grep yum|xargs rpm -e –nodeps

【问题3】 使用yum install mysql-server报了[Errno -1] Metadata file does not match checksum错误

[root@localhost yum]# yum install mysql-server
updates/primary_db | 855 kB 00:00
http://mirrors.163.com/centos/5/updates/x86_64/repodata/primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

以本机为例:
* #sha1sum primary.sqlite
b7c80f8490b9eb6466fc26d3b63a09bc435c9637 primary.sqlite
* 将sha1值替换repomd.xml中对应primary.sqlite.bz2记录

 <data type="primary">
    <location href="repodata/primary.xml.gz"/>
    <checksum type="sha">e698be95f637a7a9a12a5c2a17ad87472607147e</checksum>
    <timestamp>1475526174</timestamp>
    <open-checksum type="sha">a5df33d490f6cff4e5edad213faa6fdb07e80b17</open-checksum>
  </data>

【问题4】 使用yum安装mysql的时候报GPG key retrieval failed:错误错误

错误截图

  • 解决办法
# yum install mysql-server expect --nogpgcheck
yum镜像源问题:File contains no section headers. 报:File contains no section headers. 原因是没有配置yum源!解决如下: 第一种方案: 修改/etc/yum.repos.d/CenOS-Base.repo文件内容如下: #CentOS-Base.repo # #ThemirrorsystemusestheconnectingIPaddressoftheclienta... 阅读详情

相关推荐

工业以太网通讯Profinet协议详解

Profinet是通过西门子控制系统被广泛使用的工业通信协议,是一种较新的,基于以太网的工业通讯协议。

mydatai的专栏 8853

运行yum install 命令报错如下: File contains no section headers. 解决方案

运行yum install 命令报错如下: File contains no section headers. 解决方案。

qq_28326501的博客 2357

卡尔曼滤波、互补滤波与Tsinghua滤波:平衡车姿态感知的三大算法对比

本文对比了平衡车姿态感知中的卡尔曼滤波、互补滤波与Tsinghua滤波三大核心算法。互补滤波计算简单,适合入门;卡尔曼滤波理论最优但实现复杂;Tsinghua滤波则是一种面向嵌入式优化的轻量级方案,通过动态权重调整和零偏估计,在资源受限的MCU上实现了性能与效率的平衡,是智能车竞赛等场景的实用选择。

weixin_29232121的博客 349

配置网络yum源(阿里)

配置网络yum源 # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # un

weixin_42044174的博客 1147

c语言播放背景音乐

相信很多童鞋都在为大学课设而伤透头脑,而背景音乐的使用无疑会成为其中的一个亮点(总比没有好吧(╯▽╰)),故接下来我将介绍一下如何用C播放音乐。我用的编译器是CodeBlocks16.01接下来新建一个C文件建立完后是这样滴然后添加其中mciSendString()函数是由&lt;mmsystem.h&gt;库提供的供播放音乐(MP3)的函数第一个参数是歌曲所在的绝对路径 打开音乐所在位置 复制这...

qq_41443987的博客 3万+

AutoSAR MemMap模块概述及配置参数详解

这个模块是干啥的?它是用来配置Memory Mapping and Compiler Abstraction module。

4508

解决CentOS使用yum命令提示Error: File contains no section headers

这个问题的原因其实很简单,不过我当初解决的时候也是费了一番波折。 问题的原因主要是在镜像网站下载的.repo文件过多,导致系统不知使用哪个,所以将多余的删掉,只保留该有的一个在线yum源安装的.repo即可。 1.在centos下使用命令 #cd /etc/yum.repos.d 2.查看该目录下的所有.repo文件 #ll 3.删除多余.repo文件,只保留: CentOS-Debuginfo....

weixin_43968936的博客 2万+

ESP32-S3驱动OV3660摄像头原理图设计,已量产

本文重点拆四条主线:多来源输入电源如何收敛到 3V3,摄像头三路供电如何拆分,ESP32-S3 如何接住 DVP 数据流与外部存储,以及音频/补光/传感外围怎样挂到主控边上。至于最终图像帧率、算法策略和软件时序,当前原理图未体现。

不脱发的程序猿 984

如何解决CentOS7在使用yum的时候报错File contains no section headers.

CentOS7 yum

wangchengjiea的博客 2万+

Windows原生环境配置Tensorflow使用GPU

本文讲解如何在Windows原生环境搭建可调用GPU设备进行计算的Tensorflow2.x环境。 区别于WSL,使用Windows原始环境作为开发环境。

天然玩家的博客 1500

学Simulink--决策规划场景实例:基于Simulink的智能车辆行为决策仿真

本文基于Simulink平台构建智能车辆变道决策仿真系统,采用MOBIL算法实现"决策-规划-执行"全流程。系统包含自车动力学模型、环境感知模块(含5%噪声)、决策控制器和轨迹规划模块,通过五次多项式实现平滑变道。仿真验证了三种典型工况:正常变道(成功率100%)、邻车拒绝让行和紧急避障,各项指标均满足要求(TTC>3s,横向加速度<2m/s²,决策周期<100ms)。文章详细介绍了建模步骤、核心算法实现和参数配置方法,并提出了强化学习、多车协同等优化方向。该模型为智能

amy_mhd的博客 153

记录一个Redhat7下关于yum的问题

系统重启后准备使用yum命令安装一个软件包,但是在安装的过程中出现如图所示错误: [root@coisini ~]# yum install -y tree Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitleme...

coisini的博客 1260

linux 内核OOM问题定位-SLAB_DEBUG

首先看slabinfo按的size排序查看 slub object,可以查看 space 总占用大小,及objects个数判断泄漏点 为kmalloc-128。那个泄露多看/sys/kernel/debug的slab/kmalloc*-的alloc-traces和free-traces。SLAB或者SLUB有一个用就可以,改menuconfig没有clean会覆盖之前的更改,现在看一下编译的过程。或者配置defconfig,配置完之后需要clean后再编译。1,配置menuconfig。

陌上花开缓缓归以的博客 900

redhat7安装Python3.5记录过程与问题

1.安装了python3.5可能使用的依赖 yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel 2.下载官方安装包 wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz 3.解压安装包 tar -xzvf...

粗浅的入门功夫 877

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

redhat7 oracle rac11,oracle 11g rac install for Redhat7 可能遇到的问题记录

本帖最后由 muggle_zhu 于 2016-8-5 15:28 编辑帮客户在Redhat7.0上装套11.2.0.4 RAC数据库,遇到一些问题,一并整理,方便有需求的同行,大神请勿见笑!问题一:系统RPM包:compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm,安装介质中无此包处理方法:需自行下载问题二:root.sh运行后报“ohasd failed to...

weixin_36250086的博客 278

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

RedHat8安装postgresql15和 postgis3.4.4记录及遇到的问题总结

RedHat8安装postgresql15和 postgis3.4.4 错误: 问题: 冲突的请求 - 没有东西可提供 hdf5(postgis34_15-3.4.4-1PGDG.rhel8.x86_64 需要) - 没有东西可提供 xerces-c(postgis34_15-3.4.4-1PGDG.rhel8.x86_64 需要) (尝试添加 '--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)

1535

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

redhat6 mysql_RedHat 6 安装 MySQL 5.5 流程记录及相关问题解决方案

1. RedHat 中 使用 yum 方式安装 MySQL1.1 删除系统自带的 MySQL 5.1rpm -qa | grep mysql #查看已经安装的mysqlrpm -e mysql   #普通删除模式rpm -e --nodeps mysql #强力删除模式1.2 使用yum卸载rpm包防止 mysql 安装冲突yum -y remove mysql-libs-...

weixin_34551614的博客 143

RedHat上安装hadoop+hbase问题记录

安装在vshpere 虚拟机上,虚拟两台RedHat系统。 1  在/etc/hosts 中,将172.0.0.1   与主机名映射后,slave找不到master。  要将主机名删掉。。 2  hbase上的hbase-site.xml配置文件里的hbase.rootdir的值要与hadoop-site.xml里的端口对应。。。。大意了  罪过啊罪过。。。。...

baiyunl的专栏 201

Redhat安装caffe的若干问题记录

安装protobuf 1.安装包获取 去github下载 (我选择的是此方法,版本是3.5.1) https://github.com/google/protobuf/releases/download/v3.2.0/protobuf-cpp-3.2.0.tar.gz wget获取 wget https://protobuf.googlecode.com/files/protob...

xiaxuesong666的博客 481

kickstart装Redhat、升级OS的问题记录

kickstart安装RHEL6.6踩坑 用kickstart装HA的包找不到 用kickstart装完了没询问配主机名等信息 有关kickstart文件生成方法的说明 用kickstart装HA的包找不到 【原因】HA的包和Packages在并列的路径,源也是分开的 【解决】加HA的包的源(%packages之前) -> repo --name="HighAvailabilit...

皮卡丘在充电 200

【关于通过PXE安装RedHat/Centos时遇到的问题记录】

通常,在安装操作系统的过程需大量的人机交互过程,为减少交互过程,为提高安装效率,Red Hat Linux开始支持称为kickstart的功能,只需事先定义好一个kickstart自动应答配置文件(通常存放在安装服务器上),并让安装程序知道该配置文件的位置,在安装过程中安装程序就可以自己从该文件中读取安装配置,这样就避免了繁琐的人机交互,实现无人值守的自动化安装。

zhaoyi40233的博客 599

虚拟机中安装Redhat9问题记录

1.USB鼠标问题当进入了选择鼠标类型的时候,选择了3键USB类型的。鼠标马上就不能用了,用Tab+Enter键选择2键PS/2模式,即使是USB接口的鼠标,也可以使用了。 

Cool code 397

RedHat红帽安装gcc全过程问题记录以及解决建议

前言 由于需要在RHEL7上使用gcc的一些命令,于是查询了一下安装yum和gcc的一些博客 这个大佬写的很详细: RHEL7关于yum安装和gcc安装 但是虽然照着教程一步步来但还是出现了许多问题,好在自己瞎摸索着最后终于装上了: 所以在这里记录一下这个过程中遇到的问题和解决方式 解析主机失败 在wget时我一直报这个提示,同样看到上述教程的评论区里也有人出现同样的问题。后来ping百度才发现…自己根本没联网。可能出现这个问题的原因有很多,但是可以先看看自己有没有最基本的错误,检查一下联网吧。 rpm

m0_52711377的博客 5071

问题记录:Redhat6.5 网卡配置变更后,Eth0变为Eth1

Red Hat Enterprise Linux 6.5(Redhat 6.5)尽管是一个较旧的操作系统版本,仍然在许多企业环境中发挥着重要作用。然而,老旧的系统并不免于技术挑战。例如,本文将探讨一个在修改网卡配置后遇到的一个奇怪问题:在网卡配置变更后,原本是eth0的网卡名称变更为了eth1。

Linux学习的那些事儿 1029

记录redhat下安装MySQL-python 模块遇到的问题及解决方法

原文链接:http://www.cnblogs.com/Detector/p/7240621.html背景  博主的虚拟机上面没有安装python的Mysql模块,安装过程费了一些周折,所以记录一下安装获取MySQL-python安装包安装包地址:https://pypi.python.org/pypi/MySQL-python/楼主下载的是MySQL-python-1.2.3.tar.gz (m...

Detector_的博客 389

记录:redhat5.6下安装oracle出现一些问题

1、安装Oracle时配置一些环境变量后重启登录一直在localhost login:界面原因:=================================#vi /etc/pam.d/login在文件末尾添加以下内容session   required     /lib/

shiyecao的专栏 953
上一篇: Mysql问题记录笔记
下一篇: Javacore学习笔记-XML读取(DOM, SAX, StAx与JAXB)
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值