glibc

centos7.3内核安装M版本openstack

坚强是说给别人听的谎言 提交于 2020-01-11 05:00:05
1.升级内核 因为服务器不支持centos7.2版本,centos7.2安装后,服务器网卡不能正常使用,但是服务器可以使用支持centos7.3版本。采用升级7.2内核版本至7.3,使用7.3内核来驱动服务器网卡。升级完成后,网卡启动。 升级内核命令,只升级内核版本。 yum install kernel-3.10.0-514.el7.x86_64.rpm 升级完内核版本后,重启服务器。在后续的安装过程中yum使用centos7.2版本源。使用centos7.2做yum源,执行yum upgrade 报错 -- > Finished Dependency Resolution Error: Package: glibc-common-2.17-106.el7_2.8.x86_64 ( iaas ) Requires: glibc = 2.17-106.el7_2.8 Removing: glibc-2.17-105.el7.x86_64 ( @anaconda ) glibc = 2.17-105.el7 Updated By: glibc-2.17-157.el7.x86_64 ( iaas ) glibc = 2.17-157.el7 Available: glibc-2.17-106.el7_2.8.x86_64 ( iaas ) glibc = 2.17-106.el7_2

oracle11gR2安装和配置

橙三吉。 提交于 2020-01-10 02:50:48
oracle11g安装和配置 以前的总结,分享一下: 系统配置: centos6.5 默认配置 oracle 11gR2 一、建立oracle用户 groupadd oinstall groupadd dba useradd oracle -g oinstall -G dba -d /opt/oracle passwd oracle passwd(oracle) 二、上传oracle包 上传oracle压缩包到/opt/oracle目录下 三、解压缩文件 $ unzip linux.x64_11gR2_database_1of2.zip $ unzip linux.x64_11gR2_database_2of2.zip ---------------------------------------------------- 1) 合并文件 #> cat linux.x64_11gR2_database_*of2.zip > linux.x64_11gR2_database.zip 2) 尝试修复已损坏的压缩文件。 #> zip -F linux.x64_11gR2_database.zip --out outfixedarchive 不要随便尝试修复,会出问题 3) 正常解压 #> unzip linux.x64_11gR2_database.zip ---------------

CentOS-6.x系统基于python-3.5安装tensorflow-1.4

久未见 提交于 2020-01-10 00:00:18
简介 tensorflow的安装分cpu版本和gpu版本, 这里只讨论cpu版本。 google提供了很多种安装方式, 主要分三种, 一种是pip安装,非常简单,重要的是它在各个平台都是可以用的,包括windows,但是CentOS6需升级glibc和gcc(CXXABI_)版本 第二种是通过docker安装,也差不多是一键安装,内核版本低于3.10不能安装docker,具体的介绍可以看https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/docker 最后一种,就是源码编译安装,最麻烦。 Linux系统官方推荐安装在ubuntu-14及以上 本文采用pip安装 编译安装python3.5(tensorflow要求python版本至少是2.7或者3.3) Linux下默认系统自带python2.6的版本,这个版本被系统很多程序所依赖,所以不建议删除, 如果使用最新的Python3那么我们知道编译安装源码包和系统默认包之间是没有任何影响的,所以可以安装python3和python2共存 1.1 安装编译工具 $ yum install wget gcc automake autoconf libtool make xz 1.2 安装依赖库 $ yum install zlib-devel

linux安装mysql-5.7.28

北城以北 提交于 2020-01-09 13:48:01
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 卸载旧版mysql 查看rpm包 rpm -qa|grep mysql 卸载 rpm -e --nodeps ******* 查找mysql残留包,有则删除,没有则忽略 find / -name mysql 解压安装包 解压 tar -zxvf mysql-5.7.28-linux-glibc2.12-x86_64.tar.gz 移动并重命名至local文件夹下(可选,任意目录均可) mv mysql-5.7.28-linux-glibc2.12-x86_64 /usr/local/mysql 创建用户组及用户 groupadd mysql useradd -r -g mysql mysql 安装MySQL 修改工作目录权限 cd /usr/local/mysql chown -R mysql:mysql ./ 在etc目录新建my.cnf文件 [mysqld] basedir=/usr/local/mysql datadir=/usr/local/mysql/data port=3306 socket=/var/lib/mysql/mysql.sock # Disabling symbolic-links is recommended to prevent assorted security risks

IEEE-754 floating-point precision: How much error is allowed?

*爱你&永不变心* 提交于 2020-01-09 08:01:30
问题 I'm working on porting the sqrt function (for 64-bit doubles) from fdlibm to a model-checker tool I'm using at the moment (cbmc). As part of my doings, I read a lot about the ieee-754 standard, but I think I didn't understand the guarantees of precision for the basic operations (incl. sqrt). Testing my port of fdlibm's sqrt, I got the following calculation with sqrt on a 64-bit double: sqrt

IEEE-754 floating-point precision: How much error is allowed?

与世无争的帅哥 提交于 2020-01-09 08:01:07
问题 I'm working on porting the sqrt function (for 64-bit doubles) from fdlibm to a model-checker tool I'm using at the moment (cbmc). As part of my doings, I read a lot about the ieee-754 standard, but I think I didn't understand the guarantees of precision for the basic operations (incl. sqrt). Testing my port of fdlibm's sqrt, I got the following calculation with sqrt on a 64-bit double: sqrt

Linux-PAM认证机制

女生的网名这么多〃 提交于 2020-01-08 15:20:50
Linux-PAM认证机制 https://www.cnblogs.com/marility/articles/9235522.html 鸟哥私房菜里面有这个地方 但是当时没注意. 早上弄vsftpd的时候掉坑里了 这会儿 百度一下 简单学习学习..这个博客挺好的 我学到了 ldd命令 还有 strings 命令linux 庞大而复杂 需要不停的学习和使用才可以. 在新主机更改用户密码的时候,经常会出现"passwd: Have exhausted maximum number of retries for service"的报错 [root@10-112-41-157 ~]# echo 'co4lgTdDD3iK7WYEJAyL0KT5pLXS0o3r' | passwd --stdin testpam Changing password for user testpam. passwd: Have exhausted maximum number of retries for service 实际之上,可以使用 chpasswd 命令更改解决,但非明文更改密码无法实现 1.PAM机制 在centos 6中用户的密码权限更变模块主要涉及到PAM(Pluggable Authentication Modules)认证机制,该机制由Sun公司提供,在Linux中,PAM是可动态配置的

Centos6.5 升级glibc解决“libc.so.6: version GLIBC_2.14 not found”报错问题

懵懂的女人 提交于 2020-01-07 15:59:44
研发发来邮件说线上有台服务器跑程序报错,信息如下: ./agent: /lib64/libc.so.6: version `GLIBC_2.14′ not found (required by./agent) 从上面报错可以看出,程序运行时候,没有找到“GLIBC_2.14”这个版本库,而默认的Centos6.5 glibc版本最高为2.12, 所以需要更新系统glibc库。 glibc是gnu发布的libc库,即c运行库,glibc是linux系统中最底层的api,几乎其它任何运行库都会依赖于glibc。glibc除了封装linux操作系统所提供的系统服务外,它本身也提供了许多其它一些必要功能服务的实现。 很多linux的基本命令,比如cp, rm, ll,ln等,都得依赖于它,如果操作错误或者升级失败会导致系统命令不能使用,严重的造成系统退出后无法重新进入,所以操作时候需要慎重。 解决办法: 1.查看系统版本和glibc库版本 # cat /etc/redhat-release CentOS release 6.5 (Final) # strings /lib64/libc.so.6 |grep GLIBC_ GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC

“Illegal instruction” when run precompiled program on other machine

三世轮回 提交于 2020-01-07 08:42:35
问题 I have to build my program on CentOS 7 and deploy on other Linux machine. The program required newer version glibc , and some library which was not (and will not be) installed on target machine. So I decided to ship the executable with dynamic library. I used patchelf to patch interpreter and rpath . I tested the executable on my machine and it work (also checked with ldd to make sure new rpath is used). But when I copy to other machine with libs, the program is failed to run. Only this line

在Linux上安装Oracle服务的操作步骤

萝らか妹 提交于 2020-01-07 04:16:48
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 如题,将我在云服务器上安装Oracle服务的惨痛经历分享出来,期间查找的资料踩过的坑无数,希望对大家能有帮助 闲话少叙,直接开始 首先,由于服务器比较差,需要先设置swap 查看是否设置swap虚拟内存 交换区(SWAP)要求:按照操作系统推荐配置,根据内存大小,为物理内存的1-1.5倍。 推荐:创建2个大小相同、且分布在不同盘(pv)上的SWAP空间。 free -m 如未设置swap虚拟内存,则设置 dd if=/dev/zero of=swapfile bs=40960 count=204800 说明: -if //输入 -of //输出 -bs //块儿大小,单位是byte,最小为40K,该语句表示8000M的大小 -count //总块数 创建Linux交换文件 mkswap swapfile 激活swapfile交换文件 swapon swapfile 查看是否生效 free -m 安装依赖包 yum install binutils compat-libstdc++-33 elfutils elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers libaio libaio-devel libgcc