我的巴萨 By duncan21Posted on 2014 年 9 月 27 日2016 年 5 月 20 日Posted in SoccerTagged 巴萨公仔 我的12-13赛季巴萨全家福公仔,非常快就送到了! [……] 阅读全文 Read More
inode满了 By duncan21Posted on 2014 年 9 月 26 日2015 年 1 月 4 日Posted in LinuxTagged inode 硬盘没有满,是inode用完了,导致文件不能写进硬盘 找出不需要的[……] 阅读全文 Read More
ip段查询 By duncan21Posted on 2014 年 9 月 26 日Posted in computingTagged ip段查询 本程序用途:查询IP网关,可用IP数查询,查询IP段可用的IP数目。查询IP网段可用IP的数目,查询[……] 阅读全文 Read More
[转]浅谈千万级PV/IP规模高性能高并发网站架构 By duncan21Posted on 2014 年 9 月 10 日2016 年 7 月 3 日Posted in computingTagged 高性能,高并发网站 高并发访问的核心原则其实就一句话“把所有的用户访问请求都尽量往前推”。[……] 阅读全文 Read More
批量建立nagios配置文件 By duncan21Posted on 2014 年 9 月 10 日2015 年 1 月 4 日Posted in ShellTagged nagios配置文件 1.建立 机器名和IP对应列表 cat >host.list <<EOFol[……] 阅读全文 Read More
解决perl命令执行或编译问题 By duncan21Posted on 2014 年 9 月 10 日2015 年 1 月 4 日Posted in LinuxTagged perl编译 解决perl命令执行或编译问题: 执行如下命令时 报错: [root@oldboyetc]# p[……] 阅读全文 Read More
Protected: 9年前的宁夏 By duncan21Posted on 2014 年 8 月 9 日2015 年 1 月 4 日Posted in 感言Tagged 宁夏 This content is password protected. To view it please enter your password below: Password: Read More
linux修改最大文件链接数 By duncan21Posted on 2014 年 8 月 2 日2015 年 1 月 4 日Posted in LinuxTagged ulimitNo Comments on linux修改最大文件链接数 linux修改最大文件链接数open files/ulimit -n 使用ulimit -a[……] 阅读全文 Read More
[转]nagios自带插件check_http详解及用法实例 By duncan21Posted on 2014 年 8 月 1 日2015 年 3 月 21 日Posted in LinuxTagged check_http 作用: 检测指定主机上的http服务,可以是http或者https,可以重定向,查找字符串,正则表[……] 阅读全文 Read More
常用端口 By duncan21Posted on 2014 年 7 月 27 日2014 年 8 月 6 日Posted in computingTagged PortNo Comments on 常用端口 端口号 描述 20 (udp) ftp-date transfer 21 (udp) ftp f[……] 阅读全文 Read More
mysql的增量备份 By duncan21Posted on 2014 年 7 月 26 日2015 年 3 月 23 日Posted in MySqlTagged binlog 一.如果想使用mysql的增量备份,就要开启使用二进制文件 在my.cnf[m[……] 阅读全文 Read More
centos 克隆出现device eth0 does not seem to be present,delaying initialization By duncan21Posted on 2014 年 7 月 21 日Posted in computingTagged eth0No Comments on centos 克隆出现device eth0 does not seem to be present,delaying initialization Vmware 安装centos后,clone一台,无法上网。 ifconfig查看没有IP。 /[……] 阅读全文 Read More
wordpress后台登陆地址wp-login.php修改步骤方法 By duncan21Posted on 2014 年 7 月 14 日2014 年 7 月 14 日Posted in computingTagged wp-login.phpNo Comments on wordpress后台登陆地址wp-login.php修改步骤方法 wp-login.php修改成abc.php的步骤: 1、修改wp-login.php 首先把w[……] 阅读全文 Read More
linux下管理员强行踢出用户的命令使用方法 By duncan21Posted on 2014 年 7 月 5 日2015 年 1 月 4 日Posted in LinuxNo Comments on linux下管理员强行踢出用户的命令使用方法 linux强制踢出用户命令: 一、输入w命令查看已登录用户信息 [root@KW_S01[……] 阅读全文 Read More
遍历序列恢复二叉树 By duncan21Posted on 2014 年 6 月 24 日Posted in computingNo Comments on 遍历序列恢复二叉树 1.利用前序序列和中序序列恢复二叉树 二叉树的前序遍历是先访问根结点,再按前序遍历方式遍历根结点的[……] 阅读全文 Read More
Linux中的 >/dev/null 2>&1 是什么意思 By duncan21Posted on 2014 年 6 月 23 日2015 年 1 月 4 日Posted in LinuxTagged /dev/nullNo Comments on Linux中的 >/dev/null 2>&1 是什么意思 在一些Shell脚本中,特别是Crontab的脚本中,经常会看到 >/dev/null 2&g[……] 阅读全文 Read More
写一个脚本,实现判断网络里,当前在线用户的IP有哪些 By duncan21Posted on 2014 年 6 月 23 日2015 年 3 月 21 日Posted in Shell 判断是否在线:ping通,ping通后,返回值为0 root@123 [~]# cat 6.sh[……] 阅读全文 Read More
linux下快速清空文本文件中的内容 By duncan21Posted on 2014 年 6 月 19 日2015 年 1 月 4 日Posted in LinuxNo Comments on linux下快速清空文本文件中的内容 1.[root@desktop?huage]#?:?>?filename :是一个占位符,不[……] 阅读全文 Read More
使用for循环在/oldboy目录下批量创建文件 By duncan21Posted on 2014 年 6 月 18 日2015 年 1 月 4 日Posted in ShellTagged forNo Comments on 使用for循环在/oldboy目录下批量创建文件 企业面试题:使用for循环在/oldboy目录下批量创建10个文件,名称依次为:oldboy-1ol[……] 阅读全文 Read More