• 提示/lib64/libc.so.6: version `GLIBC_2.14' not found问题

    #yum list glibc* #yum list libstdc++* #yum install glibc*  -y #yum install libstdc++*  -y 首先.下载glibc : 从http://www.gnu.org/software/libc/ 下载源代码。我下载的版本是2.14,链接地址是http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz 然后安装glibc: 因为glibc库使用广泛,为了避免污染当前系统环境,最好自定义安装目录,使用时定义一下环境变量就行了。具体步骤如下: ...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • 记录CentOS6升级glibc库过程(glibc2.14)

    这次又是瞎折腾,在调试某个软件的时候一直出现错误然后根据解决文档需要更高版本的glibc版本库。这里我用的CentOS6环境默认最高的glibc2.12,然后尝试升级版本库。在这篇文章中老左准备记录这次升级glibc2.14版本库的过程。 这里需要注意的一个问题,我们不要轻易在真实生产环境中直接安装,因为升级的过程中比较容易出现系统出错(切记需要备份备份),总之如果不是折腾或者是实际需要,...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • CentOS 下解决ssh登录 locale 警告

    warning: setlocale: LC_CTYPE: cannot change locale (zh_CN.UTF-8): No such fi 最近登录一台CentOS 6机器,发现每次登录都提示如下警告: -bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: ...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • Centos6和7 ip和网关不在同一网段

    这两天安装了Centos6.9,配置服务器的IP是192.168.147.9,子网掩码是255.255.255.0,而网关是192.168.20.1,两个不在同一网段,配置后不能正常上网,需要做路由(route命令) 解决方法: 使用route命令 1、将网关作为主机路由添加到表; route add -host 192.168.20.1 netmask 0.0.0.0 dev em1 2、正常方式将网关作为默认路由添加到表里 route add default gw 192.168.20.1 netmask 0.0.0.0...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • CentOS安装中文支持包

    安装非常简单,如是其他版本linux系统,使用相应的在线升级命令即可,如apt-get 1.安装中文包:yum -y groupinstall chinese-support 2.修改字符编码配置文件 vi /etc/sysconfig/i18n LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN" SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en" SYSFONT="lat0-sun16" export LC_ALL="zh_CN.GB18030" 3.reboot 重启系统 或参考下面的方法二 解...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • CentOS 用Yum安装unrar

    系统环境:CentOs6.3 X86_64 问题:默认CentOs6.3不能使用Yum自动安装Unrar [root@rekfan.com /]# yum install unrar Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors * base: centos.mirror.cdnetworks.com * extras: centos.mirror.cdnetworks.com * updates: centos.mirror.cdnetworks.com base | 3.7 kB 00:00 extras | 3.5 kB 00:00 ext...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • Linux常用命令New

    获取命令的系统帮助信息 help : 查看内部shell命令的帮助信息(常用) man : 显示在线帮助手册(常用) info : info格式的帮助文档   文本编辑器 vi : linux下面功能异常强大的编辑器,快捷键多如牛毛 nano : 系统自带的一个编辑器,有的时候只能使用它编辑少部分配置文件   目录和文件操作,这一系列命令都常用 pwd : 显...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • Linux Glibc库严重安全漏洞修复实例

    您好,日前Linux GNU glibc标准库的 gethostbyname函数爆出缓冲区溢出漏洞,漏洞编号为CVE-2015-0235。黑客可以通过gethostbyname系列函数实现远程代码执行,获取服务器的控制权及Shell权限,此漏洞触发途径多,影响范围大,请大家关注和及时临时修复,后续我们会尽快更新镜像修复。请知晓。 http://bbs.aliyun.com/read/227885.html 根据阿里云的修复方法执行结果如下:   阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • Linux wdcp的格式化和挂载数据盘

    适用系统:Linux(Redhat , CentOS,Debian,Ubuntu) *  Linux的云服务器数据盘未做分区和格式化,可以根据以下步骤进行分区以及格式化操作。 下面的操作将会把数据盘划分为一个分区来使用。 1、查看数据盘 在没有分区和格式化数据盘之前,使用 “df –h”命令,是无法看到数据盘的,可以使用“fdisk -l”命令查看。如下图: 友情提示:若您执行fdisk -l命令,发现没有 /dev/vdb 标明您的云服...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • Centos 修改IP和DNS

    /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" #NM_CONTROLLED="yes" #ONBOOT="no" BOOTPROTO=none IPADDR=192.168.147.25 NETMASK=255.255.255.0 GATEWAY=192.168.20.1 TYPE=Ethernet PREFIX=24 DNS1=8.8.8.8 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth0" UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 ONBOOT=yes DOMAIN=8.8.4.4 HWADDR=A4:1F:72:84:...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |
  • Linux Bash严重漏洞

    在阿里云购买的Centos 6.5 64位,所有安装GNU bash 版本小于或者等于4.3的Linux操作系统,通过bash -version 查看如下图:   升级方法很简单,用yum -y update bash reboot GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> ...阅读全文
    作者:admin | 分类:Linux | 阅读:
    Warning: Use of undefined constant the_views - assumed 'the_views' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/archive.php on line 19
    |