How To Enable Root Account on Mac OSX如何使root帐号对Mac OSX版

April 20th, 2008 2008年4月20日

1. 1 。 Login to the Admin account (not the normal account)登录到管理帐户(不正常的帐户)
Read more (102 words) » 阅读更多( 102字) »

How To Change MySQL Password如何改变MySQL的密码

April 20th, 2008 2008年4月20日

Let’s look at all the ways to change MySQL password, for root and other users:让我们看看所有的方法,改变MySQL的密码,为根和其他用户:

Read more (78 words) » 阅读更多( 78字) »

Program (Source Code) to Trim Whitespaces from Files…程序(源代码)修剪whitespaces从档案…

April 20th, 2008 2008年4月20日

PHP is not only a very competent web development language (and part of LAMP stack). PHP是不仅是一个非常能干的Web开发语言(和部分LAMP堆叠) 。 It is also a very capable language for writing (command line) scripts.这也是一个非常能干的语言写作(命令行)脚本。 You can write simpler and cleaner scripts with php than perl.你也可以撰写的简单和更清洁的脚本用PHP比的Perl 。 Here is a php code which takes a file name as input, trims whitespace from each line of the file and finally saves the result back in the same file.这里是一个PHP代码,这需要一个文件名作为投入,投资的空白,从每一行的文件,最后保存的结果早在相同的档案中。

Read more (149 words) » 阅读更多( 149字) »

MySQL Tip: How To Check, Repair & Optimize All Tables in All Databases MySQL的秘诀:如何检查,维修和优化的所有表格,在所有数据库

April 20th, 2008 2008年4月20日

Here is a simple command to auto repair, check and optimize all the tables in all databases running on a MySQL server :这里是一个简单的命令,以汽车修理,检查和优化所有表格在所有数据库上运行的MySQL服务器

Read more (149 words) » 阅读更多( 149字) »

Solution: Missing Dependency: faad2 < 2.5 is needed by package ffmpeg-libs & Error: vlc conflicts with faad2 >= 2.5解决方案:失踪的依赖: faad2 < 2.5是所需要的一揽子ffmpeg -库&错误: vlc冲突与faad2 > = 2.5

March 22nd, 2008 2008年3月22日

Linux的标志 Have you seen the error while installing a package using yum / yumex?你见过的错误,而安装了一套使用荫/ yumex ?

Error: vlc conflicts with faad2 >= 2.5错误: vlc冲突与faad2 > = 2.5
Error: Missing Dependency: faad2 < 2.5 is needed by package ffmpeg-libs错误:失踪的依赖: faad2 < 2.5是所需要的一揽子ffmpeg -库

The error is because of using freshrpms repository or other repository to install recent version of faad2.错误是因为使用freshrpms存放或其他存放安装最新版本的faad2 。 Now let’s see how you can solve it.现在让我们看看如何可以解决这个问题。

Read more (122 words) » 阅读更多( 122字) »

How To: Java Stack Trace in Linux如何: Java的堆栈跟踪在Linux

February 24th, 2008 2008年2月24日

A simple tip for newbies - how to get Java stack trace, the invaluable tool to debug java programs, in Linux:一个简单的提示新手-如何获得的J ava堆栈跟踪,宝贵的工具,调试J ava程序,在L inux作业系统:
Read more (93 words) » 阅读更多( 93字) »

Load Balancing & Failover Script for Dual/ Multi WAN / ADSL / Cable Connections on Linux with Mail on failure负载平衡与容错移转脚本为双/多湾/ ADSL的/电缆连接在Linux上与邮件上的失败

February 13th, 2008 2008年2月13日

Please read the original article -请阅读原始文章- How To: Load Balancing & Failover With Dual/ Multi WAN / ADSL / Cable Connections on Linux如何:负载平衡与容错移转与双/多湾/ ADSL的/电缆连接在Linux上 . It contains detailed information with a sample script.它包含的详细资料与示例脚本。 Viliam Kočinský modified my script to send email when routing table changes. viliam kočinský修改我的脚本来发送电子邮件时,路由表的变化。 Also he is starting the script as a service from /etc/init.d.此外,他是开始的脚本作为一个服务从的/ etc / init.d 。 Read below for his enhancements:阅读下面的他的改进:

Read more (416 words) » 阅读更多( 416字) »

How To Forward Local Host & Port via SSH Client To Remote SSH Server如何推进本地主机与港口通过SSH客户端远程的SSH服务器

December 21st, 2007 2007年12月21日

SSH is aptly termed as poor man’s VPN. SSH的是恰当地称之为欠佳男子的VPN 。 You can use it to either forward local host host name and port to a remote server running ssh daemon.你可以使用它来无论是前进本地主机主机名和端口到一台远程服务器运行的SSH守护程序。 You can also use it to forward remote server’s port to a local host and port.您也可以使用它来推动远程服务器的端口到本地主机和端口。

Read more (224 words) » 阅读更多( 224字) »

Never Restart Network on Multi-ADSL Connection Machine…从不重新启动网络对多的ADSL连线机…

November 23rd, 2007 2007年11月23日

I learned it the hard way.我知道它的努力方式。 Our gateway machine with firewall (shorewall) has我们的网关机器与防火墙( shorewall ) multiple ADSL connections configured with load balancing多重的ADSL连接,配置与负载平衡 for为了 more bandwidth and transparent fail-over更多的带宽和透明的故障排除 . Today I faced an unenviable problem where one or other of the ADSL connections were going down sometime after a network restart.今天,我面对的一个吃力不讨好的问题,其中一人或其他的ADSL的连接去一段时间后,网络重新启动。 It was unique because the ADSL modems (configured as router) were accessible via telnet or ping and displayed perfect connectivity.它是独一无二的,因为ADSL调制解调器(配置为路由器)都可以通过Telnet或平,显示出完美的连接。 However I was unable to use them as gateway to connect to a server on the internet.不过,我无法使用他们作为网关连接到Internet上的伺服器。 They were working fine before.他们工作的优良之前。 With our non-trivial setup there were many suspects including the shorewall firewall and iptables (dropping certain packets?), network adapter, routing issue etc.与我们的非平凡安装有很多嫌疑人包括shorewall防火墙和iptables的(下降,某些数据包? ) ,网络适配器,路由问题等。

Read more (265 words) » 阅读更多( 265字) »

6 MySQL Database Replication Tips 6 MySQL数据库复制的秘诀

November 18th, 2007 2007年11月18日

Replicating on two or more MySQL master database servers复制两个或两个以上的MySQL master数据库服务器

Read more (112 words) » 阅读更多( 112字) »