centos下安装cpanel By duncan21Posted on 2014 年 3 月 14 日2015 年 1 月 4 日Posted in LinuxTagged 安装cpanelNo Comments on centos下安装cpanel 我安装的系统是Centos 6.3 64bit,首先,我们需要关闭SELINUX,关闭防火墙(iptables),并升级系统(yum update),做完以上后,WHM/cPanel的安装就非常简单了[……] 阅读全文 Read More
[转]CentOS(5.8/6.4)linux生产环境若干优化实战 By duncan21Posted on 2014 年 3 月 13 日2015 年 1 月 4 日Posted in LinuxTagged 优化No Comments on [转]CentOS(5.8/6.4)linux生产环境若干优化实战 优化条目: 1 2 3 4 5 6 7 8 9 10 11 12 13 修改ip地址、网关、主机名、DNS等 关闭selinux,清空ip[......] 阅读全文 Read More
2003下实现IIS支持伪静态 By duncan21Posted on 2014 年 3 月 3 日2015 年 1 月 5 日Posted in computingTagged 伪静态No Comments on 2003下实现IIS支持伪静态 伪静态是什么? 伪静态就是:动态网页通过重写URL的方法实现去掉动态网页的参数,但在实际的网页目录中并没有必要实现存在重写的页面. 伪静态的生成的2种方式: 1.框架型伪静态,这种是[……] 阅读全文 Read More
命运一定要掌握在自己的手中 By duncan21Posted on 2014 年 2 月 28 日Posted in 感言No Comments on 命运一定要掌握在自己的手中 [……] 阅读全文 Read More
wordpress忘记密码怎么办 By duncan21Posted on 2014 年 2 月 27 日2015 年 3 月 16 日Posted in computingTagged 忘记了wp密码No Comments on wordpress忘记密码怎么办 找回wp的后台密码: 1.这里需要用到phpMyAdmin,虚拟机一般都有装这个功能,如果是自己的服务器或者本地可以下载安装一个这个软件,它是mysql数据库中最优秀的管理软件。[……] 阅读全文 Read More
[转]中美的区别—剖析的真是精辟! By duncan21Posted on 2014 年 2 月 23 日2021 年 4 月 11 日Posted in repostTagged 中美的区别 剖析得真精辟!请当官的来解释一下这个事实! 美国:富人喜欢到中国领养小孩; 中国:富人喜欢到美国去生小孩。 美国:高工资、低物价; 中国:低工资、高物价。 美国:三亿人口有两亿人口有[……] 阅读全文 Read More
美国人一生要办多少证?(转) By duncan21Posted on 2014 年 2 月 23 日Posted in repostTagged 办证No Comments on 美国人一生要办多少证?(转) 中国人一生要办多少证?广州的一个政协委员列出了103个。假如再添上5个,就变成108将了。哪个都不是好对付的。 很久以前,物质供应匮乏,很多商品需要凭证。比如,买米买面粉需要购粮证,买煤球煤饼需[……] 阅读全文 Read More
linux下查看cc攻击 By duncan21Posted on 2014 年 2 月 21 日Posted in computingTagged cc攻击No Comments on linux下查看cc攻击 查看所有80端口的连接数 netstat -nat|grep -i “80”|wc -l 对连接的IP按连接数量进行排序 netstat -anp | grep ‘tcp\|udp’ |[……] 阅读全文 Read More
XenServer监控VPS流量命令:sar By duncan21Posted on 2014 年 2 月 21 日2015 年 3 月 16 日Posted in virtualizationTagged sar, tcpdumpNo Comments on XenServer监控VPS流量命令:sar Linux系统,有个很好用的工具命令:sar。此命令很少人用到,但这个命令绝对不可少的,它可以监控系统各方面的情况:流量;CPU;内存等等。我们通过这个命令来监控流量情况 sar的使用规则:sar[……] 阅读全文 Read More
[转]XenServer服务器一键部署脚本 By duncan21Posted on 2014 年 2 月 21 日2015 年 4 月 27 日Posted in virtualizationTagged xenserver 部署操作: 请在服务器上执行如下命令: cd /tmp rm -rf Auto.sh wget http://os.xensystem.net/XenSystem/download/Aut[……] 阅读全文 Read More
香港老戏骨午马去世 By duncan21Posted on 2014 年 2 月 6 日Posted in 感言Tagged 午马No Comments on 香港老戏骨午马去世 2月4日凌晨,香港影视演员午马因肺癌病逝,享年72岁。这位被称作“钻石级配角”的老戏骨,在电影《倩女幽魂》中扮演的“燕赤霞”成为一代人的记忆。午马太太称:“10个月前肺癌扩散,近几个月以最佳精神状态享[……] 阅读全文 Read More
PHP configure: error: mcrypt.h not found. Please reinstall libmcrypt By duncan21Posted on 2014 年 2 月 5 日Posted in computingNo Comments on PHP configure: error: mcrypt.h not found. Please reinstall libmcrypt 今天在编译php的时候,出现如下错误php安装出错:configure: error: mcrypt.h not found. Please reinstall libmcrypt.,意思是,没有查找[……] 阅读全文 Read More
如何防止别人破解root 密码 By duncan21Posted on 2014 年 2 月 2 日2015 年 1 月 9 日Posted in computingTagged 防止root破解No Comments on 如何防止别人破解root 密码 如何防止别人破解root 密码?单用户模式加密(重要说明:在grub.conf 文件中,输入加密密码。有明文件加密,md5 加密。2 种) 方法1,使用md5加密 a.md5 加密。生成密[……] 阅读全文 Read More
你真的理解“吃亏是福”么?(转) By duncan21Posted on 2014 年 2 月 2 日Posted in repostTagged 吃亏是福No Comments on 你真的理解“吃亏是福”么?(转) 你真的理解“吃亏是福”么?且看?一个10几年的运维老鸟老男孩的随笔!?供朋友参考! 一定不要计较一时的得失! 有一次老男孩老师看电视,一位老大爷(当时70岁)感慨的说,”直到现在才理解什么叫“吃亏[……] 阅读全文 Read More
linux下安装nignx+mysql+php By duncan21Posted on 2014 年 2 月 2 日2014 年 2 月 26 日Posted in computingTagged nignxNo Comments on linux下安装nignx+mysql+php 环境: [root@localhost /]# cat /etc/redhat-release CentOS release 6.3 (Final) 1.安装nginx vi /etc/y[……] 阅读全文 Read More
在UEFI模式安装2008,以解决无法完全识别4T硬盘的问题 By duncan21Posted on 2013 年 11 月 5 日2016 年 5 月 24 日Posted in computingTagged GPT, uefiNo Comments on 在UEFI模式安装2008,以解决无法完全识别4T硬盘的问题 今天遇到了一个问题,在给一台服务器安装好了系统后,发现系统只能识别出2.1T,而硬盘式4T,经查资料,原来安装的时候,硬盘采用的是MBR分区表,而MBR只能识别到2.1T的容量,要识别出4T,就要用G[……] 阅读全文 Read More
迅驰2英特尔移动处理器参数表 By duncan21Posted on 2013 年 11 月 5 日2013 年 11 月 5 日Posted in computingTagged cpu, intelNo Comments on 迅驰2英特尔移动处理器参数表 从Intel酷睿处理器发布,Intel移动处理器拥有X、T、L、U四档,包括:X(Extreme Segment)、T(Mobile Highly Performance Segment)、L(Mob[……] 阅读全文 Read More
[转]Nginx配置文件nginx.conf中文详解 By duncan21Posted on 2013 年 11 月 3 日2015 年 1 月 5 日Posted in computingTagged nginx.conf, Nginx配置文件No Comments on [转]Nginx配置文件nginx.conf中文详解 #定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数-1。 worker_processes 8; #全局错误日志定义类型,[……] 阅读全文 Read More
Linux下Nginx反向代理服务器+负载均衡 By duncan21Posted on 2013 年 11 月 3 日2016 年 5 月 20 日Posted in computingTagged Nginx反向代理服务器+负载均衡No Comments on Linux下Nginx反向代理服务器+负载均衡 项目拓扑结构: 配置环境 三台CentOS: 一台做Nginx Revers Proxy 二台Apache做页面测试服务器 网站的域名是www.teddy.com 1.后台的web服[……] 阅读全文 Read More
Linux下Nginx反向代理服务器搭建 By duncan21Posted on 2013 年 11 月 2 日2021 年 4 月 10 日Posted in LinuxTagged nginx反向代理 Nginx不但是一款高性能的Web服务器,也是高性能的反向代理服务器。下面简单说说Nginx的反向代理功能。 反向代理是什么? 反向代理指以代理服务器来接受Internet上的连接请求,然[……] 阅读全文 Read More