几个月前,看到张宴在Blog上加了个新浪的miniplayer,自己也加上了。最近发现很不协调,想去掉。却忘了当初写在哪个文件里了,就在DRL和群里发帖求助了。

【求助】怎么在一堆代码文件中找出指定代码

wordpress站点,以前为了添加一个小插件,在源代码里面加了一部分javascript
现在不想要了,不知道在哪个文件里,找不到那段代码了

grep应该可以做,不知道怎么语句要怎么写

Read the rest of this entry

MySQL在Linux应用环境中,一般都是最重要的业务,定期备份是必须的。一般有如下几种策略:

1.拷贝文件系统 – 停止服务,copy 数据库目录;启动服务
(需要停止服务一段时间,期间不接受写入操作)

2.MySQL自带工具mysqldump,这也是最常用的方式
(能在备份的过程lock tables,一定程度上保证数据的一致性)

3.MySQL自带工具mysqlhotcopy
(文件系统级拷贝工具,能在备份过程lock tables,只对MyISAM表格有效)

4.热备(未跑在生产环境中,等做完发上来)

Read the rest of this entry

,

软件环境:

Vmware Workstation 6.5
Ubuntu 8.04 LTS
Paragon Partition Management Server 7.00
Norton Ghost 11.5

Read the rest of this entry

,

中文名: 中小企业的因特网和局域网邮件服务程序
英文名: Kerio MailServer for Windows and linux
版本: V6.0.0.10
制作发行: KERIO
地区: 美国

Read the rest of this entry

1.www目录备份
分别进各个站点的后台,关闭站点,不要再有数据写入。

打包www目录,下载到本机备用。

2.数据库备份

Read the rest of this entry

目的:将Guest OS的服务映射到公网IP,让Internet用户可以访问
环境:Debian 4.0 + Vmware Server 1.9
(以开启GuestOS-Win2003的RDP服务为例)

Read the rest of this entry

Get these packages , compiler & linux-kernel headers for the curent running version

sudo apt-get install build-essential linux-headers-`uname -r`

Get the RA-2700E source

wget
http://www.ralinktech.com.tw/data/drivers/2008_0918_RT2860_Linux_STA_v1.8.0.0
.tar.bz2

Read the rest of this entry

决心把工作平台切换到 Linux上,工作用的笔记本是Acer的Aspire 4730Z。在笔记本上安装Linux,由于本本往往有很多普通PC不常见的硬件,会驱动不上。

此次遇到的是常见的问题-无线网卡驱动上不去。

Read the rest of this entry