[转]一位伟大球员背后的故事——蒂姆-邓肯(第二章) By duncan21Posted on 2015 年 8 月 1 日Posted in repostTagged 邓肯 大学一年级 从加勒比地区到北卡罗来纳斯顿-塞勒姆,对邓肯来说绝对是一次非常翻天覆地的转变。不仅如此,他的新队友们也需要时间来接纳这[……] 阅读全文 Read More
[转]一位伟大球员背后的故事——蒂姆邓肯(第一章) By duncan21Posted on 2015 年 8 月 1 日Posted in repostTagged 邓肯 提摩西-西奥多-邓肯出生于1976年4月25日,父亲是威廉姆斯-邓肯,母亲是艾欧尼-邓肯。邓肯成长于美属维尔京群岛中的圣克罗伊岛,坐落于波多黎各东部。 邓肯一家[……] 阅读全文 Read More
python实现tab键自动补全 By duncan21Posted on 2015 年 7 月 23 日Posted in PythonTagged tab [root@M1-Server ~]# python -V Python 2.6.6 #脚本 [[……] 阅读全文 Read More
从程序资源中分离数据目录放到共享存储上 By duncan21Posted on 2015 年 7 月 21 日2015 年 7 月 22 日Posted in LinuxTagged nfs, 共享存储, 动静分离 目标: 以wordpress为例,将数据文件和程序文件分离 环境: [root@NFS[……] 阅读全文 Read More
linxu下DHCP无法启动 By duncan21Posted on 2015 年 7 月 19 日Posted in LinuxTagged dhcp [root@teddylu dhcp]# /etc/init.d/dhcpd start Starting dhcpd: &[……] 阅读全文 Read More
开发php环境搭建脚本一键部署php服务环境 By duncan21Posted on 2015 年 7 月 15 日2015 年 7 月 15 日Posted in ShellTagged php #!/bin/bash Soft_Dir=/soft Mysql_Install_Dir=/usr/local/mysql Php_Version=5.5.43 Apache_Ve[......]阅读全文 Read More
开发apache一键安装部署脚本 By duncan21Posted on 2015 年 7 月 15 日Posted in ShellTagged apache #!/bin/bash Apache_Soft_Dir=/soft Apache_Version=2.2.29 Apache_Install_Dir=/application[......]阅读全文 Read More
开发自动化脚本一键安装MySQL数据库 By duncan21Posted on 2015 年 7 月 13 日2016 年 5 月 24 日Posted in MySql, ShellTagged mysql 环境: [root@localhost ~]# cat /etc/redhat-release CentOS release 6.6 (Final) [root@localhos[……] 阅读全文 Read More
台湾第一个人体模特儿—林丝缎 By duncan21Posted on 2015 年 7 月 10 日2015 年 7 月 10 日Posted in 感言Tagged 林丝缎 林丝缎的模特生涯作品[个人觉得是最美的一个镜头] 人生经历:(来之百度百科) 林丝缎是中日混血儿,在九个兄弟姊妹中[……] 阅读全文 Read More
lvs+keepalived负载均衡高可用问题排错思路参考 By duncan21Posted on 2015 年 7 月 10 日Posted in LinuxTagged keepalived, lvs 1.iptables问题 2.Linux 内核转发问题 3.RS端是否抑制了ARP,是否绑定了VIP 4.确保RS可以访问 5.[……] 阅读全文 Read More
[转]Linux的watch命令 By duncan21Posted on 2015 年 7 月 6 日Posted in LinuxTagged watch watch 是一个非常实用的命令,基本所有的 Linux 发行版都带有这个小工具,如同名字一样,watch 可以帮你监测一个命令的运行结果,省得你一遍遍的手动运行。[……] 阅读全文 Read More
[转]衡量运维人员价值的3个基本指标 By duncan21Posted on 2015 年 7 月 1 日Posted in LinuxTagged 指标 衡量运维人员价值的3个基本指标 1、网站访问快,且7*24服务不间断。 2、网站数据不丢,即使机器故障[……] 阅读全文 Read More
[转]海贼女帝——波雅·汉库克 By duncan21Posted on 2015 年 6 月 22 日2015 年 7 月 2 日Posted in repostTagged 女帝, 海贼王, 蛇姬 女帝是众多海米心中的NO.1女子,今天楼主就来细评一下这位绝对主流的海贼MM。 海贼女帝 波雅·汉库克 女儿国的国君,[……] 阅读全文 Read More
解决apache网页内容显示乱码 By duncan21Posted on 2015 年 6 月 17 日Posted in LinuxTagged 乱码 环境: [root@teddylu conf]# cat /etc/redhat-release CentOS release 6.6 (Final) [……] 阅读全文 Read More
开发apache启动脚本 By duncan21Posted on 2015 年 6 月 8 日2016 年 5 月 24 日Posted in ShellTagged apache, 启动脚本 [root@NFS-Client-01 init.d]# pwd /etc/init.d [codesyntax lang=”text” lines=”[……] 阅读全文 Read More
简单脚本实现nginx日志轮询 By duncan21Posted on 2015 年 6 月 1 日2016 年 6 月 29 日Posted in ShellTagged nginx日志轮询 环境: [root@S1-Server logs]# cat /etc/redhat-release CentOS release 6.3 (Final) [root@S1-Server l[……] 阅读全文 Read More
利用cronolog实现apache日志轮询 By duncan21Posted on 2015 年 5 月 27 日Posted in LinuxTagged cronolog, 日志轮询 apache自带的的日志工具是rotatelogs,但是在生产环境中,出现过日志丢失的问题,所以我们采用三方日志轮询工具cronolog 安装cro[……] 阅读全文 Read More
Nginx启动脚本 By duncan21Posted on 2015 年 5 月 25 日2016 年 5 月 24 日Posted in ShellTagged nginx启动脚本 脚本: [codesyntax lang=”python” lines=”no”] #!/bin/sh RETVAL=0 path="/application/[......]阅读全文 Read More
linux系统产生随机数的几种方法 By duncan21Posted on 2015 年 5 月 23 日Posted in ShellTagged 随机数 方法一:通过系统的环境变量$RANDOM [root@M1-Server ~]# echo $RANDOM &nb[……] 阅读全文 Read More
批量创建10个系统账号teddy01-teddy10并设置密码(密码为随机9位字符串) By duncan21Posted on 2015 年 5 月 23 日2015 年 5 月 24 日Posted in ShellTagged 批量创建系统账号 脚本: [root@M1-Server ~]# cat useradd.sh #!/bin/bash . /etc/init.d/[……] 阅读全文 Read More