密码保护:专注,专著……

查看留言请输入密码

这是一篇受密码保护的文章。您需要提供访问密码:


centos 的php 5.1如何升级到5.2

5.2在centos的branches里面还属于测试期,不会放到正式的发行版以及升级版中,所以,需要加入testing的repo

创建 /etc/yum.repos.d/CentOS-Testing.repo

[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*

然后运行yum update php

会把标准的php的包都升级成5.2

如果你之前还装了其他的mod,php -v看看

有哪些冲突,直接用yum update php-*

 

CentOS中找不到setup命令。怎么办?

yum install setuptool

从《反恐24小时》看国内IT管理

最近这一周在看反恐24小时 第八季,我承认我很old,只是,最近才有精神来看这些剧集

去年还是前年的时候才开始看第一第二季,那个时候觉得太好看了,有点入迷,同时入迷jack bauer的还有小黄

但是后来发现,好像每一季讲的内容都差不多,都是英雄单兵救美国,gold bless america..

每次必出现的除了hostage/president/nuclear/biologic crisis 之外,就是各具特色的SA ,可以是System   Administraor ,也可以是System  Analysts,反正,这些SA们,也都非常神通广大,当然,除了他们的技术之外,老美的各种侦查卫星、无人机、遍布各地的摄像头、面部识别系统,也是各种危机解决的必备手段。

在第八季里面,CTU被EMP轰掉,顿时整个反恐体系成了摆设,只有依靠NYPD以及国土安全部的设备,无疑,CTU的业务连续系统是不完善的,无法立即在异地恢复服务,人家有备份,但是“这些备份也在CTU里面被一同轰掉”,说明根本没做异地的灾备。

第一、第二季的cisco 终端的那个铃声无疑成为广大24hours迷们追捧的铃声,我之前都用过一段时间,

待到第八季时,CTU里面的设备无疑比前面更加先进,但贯穿始终的人员权限分配制度以及完善的管理系统无疑给我留下了太深刻的印象,CTU要管理人员进出、卫星图像、通讯调度、图像视频监控、无人机管理追踪、GSM以及各种类型的监听、太多太多的IT系统需要整合、管理、授权、数据共享……..如果没有一个整体的IT服务管理概念以及管理手段,这简直就是灾难,不难想象,CTU一定符合ITIL V3  ISO20000 以及BSI27xxx的标准,如果他们通过这些标准的时候按照国内企业这样,历史痕迹全靠伪造,人员授权全靠电话和纸张,系统登录全靠口述密码管理,jack  bauer的威力估计只能充当一名NYPD或者SWAT

So…

我们的IT服务管理,到底在哪里?

如何删除“aux”“com1”“com2” 这些被xx人创建的目录和文件呢

del \\.\C:\temp\nul.exe

RD /S \\.\D:\AUX

qq输入法,,

qq输入法,确实第一次听说还有这种用法,

使用过程中还是有些问题,比如反应有些慢,需要多按一次空格确认等,,

javascript:(function(q){!!q?q.toggle():(function(d,j){j=d.createElement(’script’);j.src=’http://ime.qq.com/fcgi-bin/getjs’;j.setAttribute(‘ime-cfg’,'lt=2′);d.getElementsByTagName(‘head’)[0].appendChild(j)})(document)})(window.QQWebIME)

但是这段代码就可以实现任意网页都可以显示输入法状态,还是牛的不行啊

centos 5下面yum 安装zend

网上很多都是讲centos下面下载zend来编译安装的,虽然不麻烦,但是没有纳入yum统一管理,不方便

可以使用atomic的东西,加一个Repository

wget  http://www.atomicorp.com/installers/atomic.sh

执行它,会检测你当前的系统是什么,

sh atomic.sh

然后yum install php-zend-optimizer 就好了

Real MEP Vs Microsoft

同是美国公司,都描绘了美好的将来,微软描绘的是一个only touch的未来

Real的MEP更现实一些,但是,在手机、电脑、电视、网络空间中share自己的东西,隐私还在哪啊?

同步个音乐都要到SNS上中转一次,就是脱了裤子的屁股放到了互联网,给大家show下?

在我看来,让目前的应用填满现在3G乃至以后4G的网络,才是当务之急,美国人在中国,还是不大会念经

漫漫v6路

C:\Documents and Settings\study>tracert -d ipv6.google.com

Tracing route to ipv6.l.google.com [2404:6800:8003::69]
over a maximum of 30 hops:

  1    48 ms    48 ms    48 ms  2001:da8:8000:d010:0:5efe:202.120.58.150
  2    49 ms    48 ms    48 ms  2001:da8:8000:6022::1
  3    48 ms    48 ms    48 ms  2001:da8:8000:80d::1
  4     *       48 ms    48 ms  2001:da8:8000:101::54
  5    48 ms    48 ms    48 ms  2001:da8:8000:104::77
  6    49 ms    49 ms    48 ms  2001:da8:8000:105::46
  7     *       50 ms    49 ms  2001:da8:8000:102::205
  8    50 ms    50 ms    50 ms  2001:da8:a4:2::1
  9    49 ms    49 ms    49 ms  2001:da8:1:205::1
 10    55 ms    55 ms    55 ms  2001:da8:1:4::1
 11    62 ms    62 ms    60 ms  2001:da8:1:13::2
 12    74 ms     *        *     2001:da8:1:24::1
 13    88 ms    88 ms    89 ms  2001:da8:1:15::1
 14     *      137 ms   137 ms  2001:da8:1:16::1
 15   144 ms   138 ms   139 ms  2001:252:0:1::101
 16   174 ms   171 ms   174 ms  2001:252:0:101::2
 17   218 ms   171 ms   172 ms  2001:7fa:0:1::ca28:a10a
 18   189 ms   182 ms   182 ms  2001:4860::1:0:16
 19   203 ms   195 ms   198 ms  2001:4860::1:0:890
 20     *      201 ms   199 ms  2001:4860::29
 21   211 ms     *      213 ms  2001:4860:0:1::151
 22     *      202 ms   204 ms  2404:6800:8003::69

Trace complete.

说v6都说了好多年了,我没毕业那会川大就已经接入v6了,做了个样子,说整个教育网211高校都已接入教育网

但是都晓得那只是个p,一台 bsd的机器接入了让学校的学生有isatap隧道用了而已

纯v6的网,啥时候才能铺到idc的门口,这个大概还要5年以上吧

whatsup V11装不起提示msde code 1639错误怎么办?

WhatsUp Professional – How to manually install MSDE

Product: Version: Platform:
WhatsUp Professional,
WhatsUp Professional Premium
2005,
2005 SP1,
2005 SP1a,
2006
Windows 2000,
Windows XP SP1 or later,
Windows 2003 or later

Question/Problem: I’m trying to install WhatsUp Professional and I’m receiving a MSDE-2000 component (code 1603) Setup was unable to configure MSDE or MSDE-2000 component (code 1639) Setup was unable to configure MSDE error message. The install quits after I respond to the error. I do not have a previous version of WhatsUp Professional installed.Answer/Solution: In certain environments, the Microsoft Desktop Engine component may encounter errors during installation. To workaround these problems, it is recommended that you manually install MSDE and then, install WhatsUp Professional.

The MSDE 2000 Service Pack 3a install can be downloaded from:
Microsoft Desktop Engine – Service Pack 3a

  1. Download the archive containing the MSDE install and extract it to a temp folder. The following instructions assume that the temp folder is C:\Temp.
  2. Open a command prompt and navigate to C:\Temp.
  3. Enter setup SAPWD=wug_sa INSTANCENAME=WHATSUP DISABLEROLLBACK=1 TARGETDIR=”C:\Program Files\Microsoft SQL Server\” DATADIR=”C:\Program Files\Microsoft SQL Server\MSSQL$WHATSUP\Data\” /L*v “C:\MSDELog.log” and execute it.
  4. Restart the computer.
  5. Install WhatsUp Professional and restart the server again if prompted.

If you wish to install the MSDE application files or WhatsUp database files in a different directory, you can change the paths listed in the TARGETDIR and DATADIR parameters.

The manual installation of MSDE 2000 may install the SQL Manager tray icon. It is recommended that you disable automatic launching of this application by removing the Service Manager shortcut from the All Users startup folder located in:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup.

It is recommended that you apply the MS03-031 patch once installation is complete. You can download the update from:
SQL Server Update for July 2003 – Security Bulletin MS03-031.

 

看完这个,其实是个教条化的办法,what’s up安装之前会检查是不是有名为whatsup的ODBC数据源

没有的话就装默认的sql 2k desktop版,但是大家都晓得这个性能差的没底,所以,

比较正常的办法,就是自己先装好sql server 2000 企业版,然后新建一个whatsup的数据库,然后再到ODBC数据源里面新建一个系统DSN,名为whatsup

装的时候whatsup检测到有这个DSN了,就会在这个数据库里面灌自己需要的数据结构

当然,如果只是migrate,可以把原来的sql 的mdf文件直接附加到现有的sql server中,DSN直接指向这个库,那么安装完whatsup的同时,就一切都迁移完了

下面的事情是琢磨sql server 2005和V14的whatsup 配合问题了

以及,交给zwt破解V14了