The phpSysInfo is a PHP script that display the hardware or system information as Uptime,CPU, Memory,SCSI,IDE,PCI,Ehernet,Floppy and so on. You can download from this URL http://phpsysinfo.sourceforge.net/ next to extract it to /var/www/html/.
When you do it,please rename config.php.new to config.php by command as "#cp config.php.new config.php". In general,it will show up the related information if you search internet articles by Google. But the result is wrong for me! I get a error message as follows:
phpSysInfo requires the mbstring extension to php in order to work properly.
How to resolve this problem? I use the following command to install php-mbstring module.
But I get a problem again. The phpSysInfo default page always is loading and show "please wait".
Finally, I find out the some php-xml module miss. So I use yum to install these files.
After done the above steps,phpSysInfo function is normal and show some information.
By the way,someone in internet said that php configuration need to be modified if page always show "loading" words. But it is not key point for me about resolving this problem. The value of red box is suggested from Internet article. Maybe you can try to change the default value if suffer "Loading..." this problem.
不必問我是誰,我就像您一樣:僅是位平凡人,但卻想在人生旅途上留下生活的足跡! 哪怕是過程跌跌撞撞、經歷風風雨雨,只要有您的關注,就是我最大的欣慰與成就!!! 感謝您的蒞臨:) 下一個職涯十年信念:不到最後關頭,決不輕言放棄!!!
2010年12月17日 星期五
2010年12月11日 星期六
set yum priority on CentOS 5.5
I want to install yum-priorities plus-in so that the yum install or update priority is stable from official to third-party.
After executing the following command, we can see some .repo file locate on the folder "/etc/yum.repos.d/" like CentOS-Base.repo, and so on.
Next step,we will add priority=N (N=1-99 and priority order is from 1 to 99) on the content of these .repo files.
In some article,someone suggest the priority value is as follows rule.
So I follow this rule to set my CentOS priority value.
After done it, how to verify whether yum install or update follow priority rule?
You can first execute "yum check-update" command to realize whether "priorities" this word show the postfix of "loaded plugins". If you can see it, I think it will be good beginning.
Unfortunately,I cannot install or update PHP the special repository as webtatic then. How to force to install or update PHP by webtatic repository?
"We can temporarily disable ALL and enable webtatic repository by command."
So do that we did can successfully update PHP from 5.1 to 5.3.3 by yum.
After executing the following command, we can see some .repo file locate on the folder "/etc/yum.repos.d/" like CentOS-Base.repo, and so on.
Next step,we will add priority=N (N=1-99 and priority order is from 1 to 99) on the content of these .repo files.
In some article,someone suggest the priority value is as follows rule.
- [base], [addons], [updates], [extras] … priority=1
- [CentOSplus],[contrib] … priority=2
- the third-party repository … priority=N (maybe set N>10)
So I follow this rule to set my CentOS priority value.
After done it, how to verify whether yum install or update follow priority rule?
You can first execute "yum check-update" command to realize whether "priorities" this word show the postfix of "loaded plugins". If you can see it, I think it will be good beginning.
Unfortunately,I cannot install or update PHP the special repository as webtatic then. How to force to install or update PHP by webtatic repository?
"We can temporarily disable ALL and enable webtatic repository by command."
So do that we did can successfully update PHP from 5.1 to 5.3.3 by yum.
2010年12月10日 星期五
Install PHP on CentOS 5.5
I want to execute a PHP page on my Web site today. I am new beginner for Linux system,so I don't clearly how to compile the PHP by myself.
Based on this reason, I begin to search the related information by Google and lucky for me to find the good news.
http://www.webtatic.com/blog/2009/06/php-530-on-centos-5/
Thank Andy pre-compiled the php for us and share it on personal repository.
So do that I will easy to install the PHP 5.3.3 version on my CenstOS.
To install it, I need to follow Andy request:
first we must tell rpm to accept rpm’s signed by Andy, then add the yum repository information to yum
Reconfirm rpm again,the system did install PHP now.
Although PHP has already been installed on system,it also cannot execute PHP page then.
After search some articles by Google again, I find out the Adding PHP Types is one solution. So I try to add Extra MIME types by Webmin as following
Type="application/x-httpd-php" Extensions=".php .htm .html"
Type="application/x-httpd-php-source" Extensions=".phps"
After restarting Apache WebServer,the testing php page has already been shown up on the firefox.
Good lucky!
I hope I can compile PHP by myself in the future!
I think need to spend more time to study hard the related knowledge.
Based on this reason, I begin to search the related information by Google and lucky for me to find the good news.
http://www.webtatic.com/blog/2009/06/php-530-on-centos-5/
Thank Andy pre-compiled the php for us and share it on personal repository.
So do that I will easy to install the PHP 5.3.3 version on my CenstOS.
To install it, I need to follow Andy request:
first we must tell rpm to accept rpm’s signed by Andy, then add the yum repository information to yum
Reconfirm rpm again,the system did install PHP now.
Although PHP has already been installed on system,it also cannot execute PHP page then.
After search some articles by Google again, I find out the Adding PHP Types is one solution. So I try to add Extra MIME types by Webmin as following
Type="application/x-httpd-php-source" Extensions=".phps"
After restarting Apache WebServer,the testing php page has already been shown up on the firefox.
Good lucky!
I hope I can compile PHP by myself in the future!
I think need to spend more time to study hard the related knowledge.
2010年12月5日 星期日
Install vmware tool on Ubuntu in my first experience
Today I want to install Ubuntu Desktop edition on Vmware environment. Why I have this idea?
First, I want to realize whether Ubuntu with WINE can support a lot of Microsoft platform software than other Linux version as RedHat,CentOS and so on.
Second point, Maybe my job will use more and more Linux software in the future.
Base on above reason, I think it need to be prepared the related Linux technical or skill for me.
I never have the enough experience on Linux platform before. After install Ubuntu Desktop,I find out I have no root password. It surprised to me that the installation process never ask me to key in any root password. This problem is found out due to need to install vmware tool.
When I extract vmware tool to the specific path next to execute vmware-install.pl in terminal window, the error message show up as following.
In install procedure, I remember I just name a account "DW" and password once. Besides this,the system never ask me key password for root. So I key in DW's password and get the wrong result.
Let me exchange root account, I think. When I do it, the system ask me the root's password for authentication. Of course, I still get the wrong message.
After google this error, I find out the Ubuntu randomly assign password for root after installing Ubuntu system. This is why the high priority is change root password. Because I need to use it to install vmware tool.
How to do it? It just two steps:
(1)switch root by sudo command and key in personal password.
(2)change root password by passwd command
After finish these steps,the root password did is changed now.
When I switch root and key the new password, the environment has already been changed to root one.
Next to execute .pl, the system did can run this program now.
It is very interested in installing Ubuntu for me. That is have specific thought in the every Linux platform.
First, I want to realize whether Ubuntu with WINE can support a lot of Microsoft platform software than other Linux version as RedHat,CentOS and so on.
Second point, Maybe my job will use more and more Linux software in the future.
Base on above reason, I think it need to be prepared the related Linux technical or skill for me.
I never have the enough experience on Linux platform before. After install Ubuntu Desktop,I find out I have no root password. It surprised to me that the installation process never ask me to key in any root password. This problem is found out due to need to install vmware tool.
When I extract vmware tool to the specific path next to execute vmware-install.pl in terminal window, the error message show up as following.
In install procedure, I remember I just name a account "DW" and password once. Besides this,the system never ask me key password for root. So I key in DW's password and get the wrong result.
Let me exchange root account, I think. When I do it, the system ask me the root's password for authentication. Of course, I still get the wrong message.
After google this error, I find out the Ubuntu randomly assign password for root after installing Ubuntu system. This is why the high priority is change root password. Because I need to use it to install vmware tool.
How to do it? It just two steps:
(1)switch root by sudo command and key in personal password.
(2)change root password by passwd command
After finish these steps,the root password did is changed now.
When I switch root and key the new password, the environment has already been changed to root one.
Next to execute .pl, the system did can run this program now.
It is very interested in installing Ubuntu for me. That is have specific thought in the every Linux platform.
2010年12月4日 星期六
書芳園
想想最近很久沒到台大校園逛逛! 一早起床,大夥兒決定中午到台大去,兒子也滿贊同的,因為到那裏,有很大的空間可以騎腳踏車. 也因為太久沒有騎腳踏車,原本女兒的腳踏車,因身高太高現在也不能騎了,剛好可以給兒子騎.但兒子的腳踏車也因為太小,現在也只能等著送人.只覺得時間過得很快,一轉眼兩個孩子都長大了!
趁著兒子上午上畫畫班的時間,將我的車車開去洗澡,順便運動一下.因為是要開去投幣式的自助洗車地點,所以等會兒洗車都要自己打理. 此時老婆也要跟,就帶著她一起去"觀摩": 因為她是在旁邊看我洗車,而不是幫我洗車.
車車的澡澡洗完後,接著也該是接小孩的時候.接回小孩,換完衣服,全家就準備坐著爸開的車,前往目標---台大校園去了.
開車到達目的地時,也正好是吃飯的時間,大夥就決定在停車場旁邊的餐館用餐. 原本是要吃外省料理---煎餃、小籠包、鍋貼等麵食,但走著走著,看到一家牛排餐館,想想每次來台大就是吃北京料理,應該要吃點不一樣的,而正好小孩們也都喜歡吃牛排、大人們也都沒意見,故今天中午就決定換個口味.
點餐時才發現,除了主餐外,其餘的副餐、飲料、蛋糕等都是吃到飽,想想也很久沒帶家人吃這樣的餐點,偶而來一次也不錯,心想著:希望東西能好吃.
主餐點三客牛小排、一客羊排與一客A級牛排,當然A級牛排是給老媽吃的,而我吃羊排,老婆與小孩就吃牛小排. 依照常人的想法,應該價錢越貴越好吃,但這次卻剛好相反.老媽的A級牛排超難吃,又老又硬,而我的羊排卻是料理的有濃厚的羊騷味,反而是價錢便宜的越好吃,真是很奇怪. 或許我們一家人口味較獨特,還是食物的料理我們吃不慣,或是其它因素,總之, A級牛排與羊排就是不合我們的胃口. 至於牛小排還不錯,是有這樣的價值.
倒是老婆與小孩滿喜歡那邊的甜點---蛋糕與奶烙等,至於我是覺得還好.或許是平常常與同事們一同聚餐,吃多了這樣的餐飲方式,故覺得5個人花2300元左右(應該有加一成服務費吧)還算合理.
伊! 您問我餐廳名字? 應該是書芳園吧!
但要特別聲明:好不好吃是見仁見智,不合我們的胃口不見得就是不好吃,或許其他客人覺得很好吃,這還要您親自嘗試、自行評斷才是.
但較特別的是: 週一到週五時段有牛排吃到飽,真是特別! 日後應該介紹同事,來這邊吃吃看!!!
趁著兒子上午上畫畫班的時間,將我的車車開去洗澡,順便運動一下.因為是要開去投幣式的自助洗車地點,所以等會兒洗車都要自己打理. 此時老婆也要跟,就帶著她一起去"觀摩": 因為她是在旁邊看我洗車,而不是幫我洗車.
車車的澡澡洗完後,接著也該是接小孩的時候.接回小孩,換完衣服,全家就準備坐著爸開的車,前往目標---台大校園去了.
開車到達目的地時,也正好是吃飯的時間,大夥就決定在停車場旁邊的餐館用餐. 原本是要吃外省料理---煎餃、小籠包、鍋貼等麵食,但走著走著,看到一家牛排餐館,想想每次來台大就是吃北京料理,應該要吃點不一樣的,而正好小孩們也都喜歡吃牛排、大人們也都沒意見,故今天中午就決定換個口味.
點餐時才發現,除了主餐外,其餘的副餐、飲料、蛋糕等都是吃到飽,想想也很久沒帶家人吃這樣的餐點,偶而來一次也不錯,心想著:希望東西能好吃.
主餐點三客牛小排、一客羊排與一客A級牛排,當然A級牛排是給老媽吃的,而我吃羊排,老婆與小孩就吃牛小排. 依照常人的想法,應該價錢越貴越好吃,但這次卻剛好相反.老媽的A級牛排超難吃,又老又硬,而我的羊排卻是料理的有濃厚的羊騷味,反而是價錢便宜的越好吃,真是很奇怪. 或許我們一家人口味較獨特,還是食物的料理我們吃不慣,或是其它因素,總之, A級牛排與羊排就是不合我們的胃口. 至於牛小排還不錯,是有這樣的價值.
倒是老婆與小孩滿喜歡那邊的甜點---蛋糕與奶烙等,至於我是覺得還好.或許是平常常與同事們一同聚餐,吃多了這樣的餐飲方式,故覺得5個人花2300元左右(應該有加一成服務費吧)還算合理.
伊! 您問我餐廳名字? 應該是書芳園吧!
但要特別聲明:好不好吃是見仁見智,不合我們的胃口不見得就是不好吃,或許其他客人覺得很好吃,這還要您親自嘗試、自行評斷才是.
但較特別的是: 週一到週五時段有牛排吃到飽,真是特別! 日後應該介紹同事,來這邊吃吃看!!!
2010年11月29日 星期一
歌唱比賽
歌星、是多們令人嚮往的職業之一!
能在燦爛炫麗的舞台上表演,看著台下的粉絲們露出崇拜的眼神與聲嘶力竭地吶喊,眾心拱月般讓人有高高在上、高不可攀的感覺.再加上時下的社會大眾,對於明星們身分內心存著虛榮心,演藝生活過度渲染或誇大,更添增一些人仰慕這條道路,造成時下年輕人無不利用各種管道與方法,想要有一步登天,完成歌星之夢,如此,也讓歹徒有機可趁,騙財騙色的社會事件層出不窮地發生,實在叫人有點遺憾與婉惜!
要享有這樣的榮耀,除非是有顯赫的背景及貴人的加持,否則一般平凡百姓,就得經過重重的考驗,即歌唱比賽,才有機會嶄露頭角,贏得最終勝利後才拿到成為歌手的入門票. 之後,還得憑著實力與機運,要熬過多少年頭後,才有機會成名.這樣的努力與等待的過程,著實件不容易的事情ㄚ!
今天晚上,公司剛好舉辦歌唱比賽,對於歌喉不佳的我,當然不再是義不容辭的上場,只能默默地祝福著參加比賽的同僚們,畢竟人要有自知之明. 明明不能做或自知無法達成的事件,總不能死要面子硬撐,否則牛皮吹破那就會很糗了. 況且,現在的我歌喉超差的,雖然小學時還是學校的合唱團成員之一,但長大後完全變了樣.
趁著用完餐的空檔到比賽會場參觀,看的台上的同仁們無不賣力的演唱著,著實令人感動.不管是歌喉如何,能報名並上台唱歌,首先就要給于最大的鼓勵,鼓勵著參賽者有那們大的勇氣,能獨自上台且不退縮,這表示自己有一定的實力與自信才能做到. 看著看著沒多久就離開現場,畢竟現在有點晚且累了,該是回家的時候.
聽說這次的評審有點名氣與經驗,希望我所支持的同僚能夠晉級,甚至拿到很好的名次,或許有貴人相助,能夠出唱片,搞不好日後有個明星的朋友,到時候也可以沾光. 加油吧! My friend!
能在燦爛炫麗的舞台上表演,看著台下的粉絲們露出崇拜的眼神與聲嘶力竭地吶喊,眾心拱月般讓人有高高在上、高不可攀的感覺.再加上時下的社會大眾,對於明星們身分內心存著虛榮心,演藝生活過度渲染或誇大,更添增一些人仰慕這條道路,造成時下年輕人無不利用各種管道與方法,想要有一步登天,完成歌星之夢,如此,也讓歹徒有機可趁,騙財騙色的社會事件層出不窮地發生,實在叫人有點遺憾與婉惜!
要享有這樣的榮耀,除非是有顯赫的背景及貴人的加持,否則一般平凡百姓,就得經過重重的考驗,即歌唱比賽,才有機會嶄露頭角,贏得最終勝利後才拿到成為歌手的入門票. 之後,還得憑著實力與機運,要熬過多少年頭後,才有機會成名.這樣的努力與等待的過程,著實件不容易的事情ㄚ!
今天晚上,公司剛好舉辦歌唱比賽,對於歌喉不佳的我,當然不再是義不容辭的上場,只能默默地祝福著參加比賽的同僚們,畢竟人要有自知之明. 明明不能做或自知無法達成的事件,總不能死要面子硬撐,否則牛皮吹破那就會很糗了. 況且,現在的我歌喉超差的,雖然小學時還是學校的合唱團成員之一,但長大後完全變了樣.
趁著用完餐的空檔到比賽會場參觀,看的台上的同仁們無不賣力的演唱著,著實令人感動.不管是歌喉如何,能報名並上台唱歌,首先就要給于最大的鼓勵,鼓勵著參賽者有那們大的勇氣,能獨自上台且不退縮,這表示自己有一定的實力與自信才能做到. 看著看著沒多久就離開現場,畢竟現在有點晚且累了,該是回家的時候.
聽說這次的評審有點名氣與經驗,希望我所支持的同僚能夠晉級,甚至拿到很好的名次,或許有貴人相助,能夠出唱片,搞不好日後有個明星的朋友,到時候也可以沾光. 加油吧! My friend!
2010年11月24日 星期三
iPhone 3G 的消逝
人是情感動物,只要有血有肉的人,看到外在的感動,不免會觸發內心的情感! 喜、怒、哀、樂,是人生情感的最佳寫照,也是出自人性的自我,最真誠的一面. 就如同最近火紅的話題 "跆拳失格事件",就是最好的呈現.
生長在這片土地的同胞們,眼見自己同胞在外受到不公平待遇,使大家的心揪起來, 感同身受覺得自己須要站出來替同胞發聲. 即使是互不相識的一群人,此刻卻是有志一同地發出怒吼,為我們自己受辱的同胞加油打氣, 這樣情感的表現,是何等自然地發自內心,是多們讓人感動,如此也不免讓周遭人士,感染了同仇敵愾的意識,無形中擬住了我們彼此的向心力,在台灣現今的環境下著實難得可見.
就因為如此,前陣子因為個人情緒上的衝動,有意無心地將某個"它"重重地摔在地上.不是要測試它的耐撞性,也不是喜新厭舊地想要藉此理由替換它,當下只是單純地認為就是"它"惹出一些禍,它是不吉祥的東東,是該讓它隨風而逝. 果真如此,之後它再也無法生存,所剩殘骸只代表這它曾經存在,即使日子並不長久.
有沒有後悔? 有一點! 因為事情沒那們糟,也沒有想的那樣壞. 且沒有考量到它的存在,早已與主人培養一段深厚的情感. 個人直覺地認為它只不過是個供人使用的工具,日子久了或功能壞了,早晚都要替換它,根本不需要太在意,故當下根本不認為此舉有什們大不了的一件事.
果然是性情中人的我,這樣隨性地結束它的生命!
它是誰? iPhone 3G!!!
生長在這片土地的同胞們,眼見自己同胞在外受到不公平待遇,使大家的心揪起來, 感同身受覺得自己須要站出來替同胞發聲. 即使是互不相識的一群人,此刻卻是有志一同地發出怒吼,為我們自己受辱的同胞加油打氣, 這樣情感的表現,是何等自然地發自內心,是多們讓人感動,如此也不免讓周遭人士,感染了同仇敵愾的意識,無形中擬住了我們彼此的向心力,在台灣現今的環境下著實難得可見.
就因為如此,前陣子因為個人情緒上的衝動,有意無心地將某個"它"重重地摔在地上.不是要測試它的耐撞性,也不是喜新厭舊地想要藉此理由替換它,當下只是單純地認為就是"它"惹出一些禍,它是不吉祥的東東,是該讓它隨風而逝. 果真如此,之後它再也無法生存,所剩殘骸只代表這它曾經存在,即使日子並不長久.
有沒有後悔? 有一點! 因為事情沒那們糟,也沒有想的那樣壞. 且沒有考量到它的存在,早已與主人培養一段深厚的情感. 個人直覺地認為它只不過是個供人使用的工具,日子久了或功能壞了,早晚都要替換它,根本不需要太在意,故當下根本不認為此舉有什們大不了的一件事.
果然是性情中人的我,這樣隨性地結束它的生命!
它是誰? iPhone 3G!!!
訂閱:
文章 (Atom)
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.
©Copyright Davidwa Inc. All rights reserved.



















