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字) »