• mac git The requested URL returned error: 403

    dubaishundeMacBook-Air:wmphp dubaishun$ git push -u origin master remote: Permission to wmphp/demo.git denied to dubaishun. fatal: unable to access 'https://github.com/wmphp/demo.git/': The requested URL returned error: 403 原因:是你A账号登录了github.com,B账号在登录时就会发生403错误 解决方法: 打开钥匙串,搜索git 更改新用户名和密码即可 阅读全文
    作者:admin | 分类:Macos, 其它 | 阅读:
    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
    |
  • Mac Sublime text3 Build 3176汉化和注册破解

    汉化方法: Sublime Text -> Preferences -> Package Control -> install package ->localization(选择ChineseLocalizations) 注:关于sublime text 3 无法安装 Package Control插件的解决方法: 一、CTRL+`(ese按键下),打开sublime命令输入框,将下述代码粘贴到命令行中,直接Enter执行;  sublime text 3 :          import urllib.request,os,hashlib; h = '6f4c264a24d...阅读全文
    作者:admin | 分类:Macos | 阅读:
    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查找webshell

    写入一句话木马: echo '<?php eval($_POST[1]); ?>'  > /www/wwwroot/demo/mu.php //用于测试 查看关键字: grep -r "function(p,a,c,k,e,d)" --include=*.{html,php} /www/wwwroot 查看一句话木马: find /www/wwwroot -type f -name "*.php" |xargs grep "eval(" > grep.txt find /www/wwwroot -type f -name "*.php" | xargs grep "eval(" |more 精准查找一句话木马: grep...阅读全文
    作者: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
    |
  • 提示/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
    |