redhat

yum install complains about already installed dependency

半城伤御伤魂 提交于 2019-12-11 15:32:43
问题 I mean to install a package that is apparently not available in my registered repos (see RedHat, which package provides hdf5.h). So I downloaded hdf5-openmpi-devel-1.8.5.patch1-10.el6.i686.rpm from rpmfind.net , and tried installing from file, obtaining complaints about some missing files (see (1) below). But those files exist in my system (see (2) below). How can I work around this issue to get a functional system? This seems to deal with a related but different issue. Test #1: # yum install

How to connect to SQL Server from Red Hat 6.4 via Node.js

不想你离开。 提交于 2019-12-11 14:56:34
问题 Currently I am developing the Node.js web app on my local Mint linux machine, and connect to a local SQL Server 2008 (express) via SQL Server Authentication by using this node module mssql. Everything is fine now. But now I need to deploy the app to a Red Hat 6.4 (64bit) machine and SQL Server 2008 R2. I was given a Windows Authentication way to access the SQL Server. I can use the Windows Authentication via the Microsoft SQL Server Management Studio to see the database and create tables. But

Determine list of non-OS packages installed on a RedHat Linux machine

十年热恋 提交于 2019-12-11 13:56:29
问题 I have been tasked with identifying new (non-operating system) software installed on several Red Hat Enterprise Linux (RHEL) machines. Can anyone suggest an efficient way to do this? The way I was doing it is manually comparing the list of installed software with the list on Red Hat's FTP site for the relevant operating system: ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/ The problems I am encountering with this method is it is tedious / timeconsuming, and just the

How to build the rpm package with SHA-256 checksum for files?

廉价感情. 提交于 2019-12-11 13:19:50
问题 In standard alone RHEL 6.4 rpm build environment, the rpm packages is generated with SHA-256 check sum, which is gotten by command rpm -qp --dump xxx.rpm [user@redhat64 abc]$ rpm -qp --dump package/rpm/abc-1.0.1-1.x86_64.rpm .. /opt/company/abc/abc/1.0.1-1/bin/start.sh 507 1398338016 d8820685b6446ee36a85cc1f7387d14537d6f8bf5ce4c5a4ccd2f70e9066c859 0100750 user abcc 0 .. While if it is build in docker environment (still RHEL6.4) the checksum is md5 [user@c1cbdf51d189 abc]$ rpm -qp --dump

My python installation is broken/corrupted. How do I fix it?

ε祈祈猫儿з 提交于 2019-12-11 11:42:32
问题 I followed these instructions on my RedHat Linux version 7 server (which originally just had Python 2.6.x installed): beginning of instructions install build tools sudo yum install make automake gcc gcc-c++ kernel-devel git-core -y install python 2.7 and change default python symlink sudo yum install python27-devel -y sudo rm /usr/bin/python sudo ln -s /usr/bin/python2.7 /usr/bin/python yum still needs 2.6, so write it in and backup script sudo cp /usr/bin/yum /usr/bin/_yum_before_27 sudo sed

redhat6.4下面安装kerberos

只谈情不闲聊 提交于 2019-12-11 11:34:53
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1、安装rpm包 rpm -ivh krb5-libs-1.10.3-10.el6.x86_64.rpm rpm -ivh krb5-server-1.10.3-10.el6.x86_64.rpm rpm -ivh krb5-workstation-1.10.3-10.el6.x86_64.rpm 2、配置文件 /var/kerberos/krb5kdc/kdc.conf 内容如下: [kdcdefaults] kdc_ports = 750,88 [realms] psy.com = { database_name=/var/kerberos/krb5kdc/principal admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab acl_file = /var/kerberos/krb5kdc/kadm5.acl key_stash_file=/var/kerberos/krb5kdc/.k5.psy.com kdc_ports=750,88 max_life=10h 0m 0s max_renewable_life=7d 0h 0m 0s } /etc/krb5.conf [logging] default = FILE:/var/log/krb5libs

Redhat镜像-RHEL-官方镜像下载大全

无人久伴 提交于 2019-12-11 09:40:32
Redhat镜像-RHEL-官方镜像下载大全 转载 weixin_30911451 发布于2019-05-30 15:24:00 阅读数 4316 收藏 展开 原网站内容链接:https://pan.baidu.com/s/12XYXh#list/path=%2F 已经存在自己的云盘上了 转载于:https://www.cnblogs.com/yr1126/p/10949794.html Linux操作系统各版本ISO镜像下载(包括oracle linux\redhat\centos\ubuntu\debian等) 2015年2月25日, 下午7:49 1、Oracle Linux( 下载地址 ) (1)OracleLinux-Release6-Update0-x86_64-dvd.iso (2)OracleLinux-Release6-Update1-x86_64-dvd.iso (3)OracleLinux-Release6-Update2-x86_64-dvd.iso (4)OracleLinux-Release6-Update3-x86_64-dvd.iso (5)OracleLinux-Release6-Update4-x86_64-dvd.iso (6)OracleLinux-Release6-Update5-x86_64-dvd.iso (7)OracleLinux

Why the command in /root/.bash_profile start twice?

不想你离开。 提交于 2019-12-11 08:42:08
问题 Here is my /root/.bash_profile : export DISPLAY=:42 && cd /home/df/SimulatedRpu-ex/bin && ./SimulatedRpu-V1 & When I start my server,I run ps aux | grep SimulatedRpu and here is the output: root 2758 0.2 1.0 62316 20416 ? Sl 14:35 0:00 ./SimulatedRpu-V1 root 3197 0.5 0.9 61428 19912 pts/0 Sl 14:35 0:00 ./SimulatedRpu-V1 root 3314 0.0 0.0 5112 716 pts/0 S+ 14:35 0:00 grep SimulatedRpu So,the program print error message about the port is already used. But why the command in /root/.bash_profile

How to get past MongoDB/PCRE “symbol lookup error” when upgrading from MongoDB 1.8 to 2.4

こ雲淡風輕ζ 提交于 2019-12-11 05:20:02
问题 I’m doing some Ruby development on servers that I have inherited (aka: I never originally set up.) that haven’t been maintained in a while and noticed that the installed MongoDB version was 1.8 when a 2.4 series upgrade was available. Since the box is running a RedHat/CentOS variant that uses yum to install RPMs, I went ahead and do what I usually do to upgrade. First, stop the running MongoDB instance like this: sudo service mongod stop And then upgrade the packages from the repo. sudo yum

Changing the location of git installation on linux

孤街浪徒 提交于 2019-12-11 04:52:12
问题 I apologize if this seems basic but I'm new to linux and not really sure how to proceed. My current git version is 1.7.1 and is located in /usr/bin/git but a newer version of git (1.8) is now available in /usr/src/git/bin/git. How do I make git use this version by default as opposed to the 1.7.1 version? 回答1: You have to make sure to call the right executable. This can ben done by explicitly calling /usr/src/git/bin/git instead of git . Of course this would be annoying to type all the time,