Google 的 server 照片 , data center ,

來源 :
http://news.cnet.com/8301-1001_3-10209580-92.html

http://www.datacenterknowledge.com/archives/2009/04/01/googles-custom-web-server-revealed/

不過發表日是 April fool 😛 , 這是玩笑嗎?

誰可以估算一下 Google 一台 server 多少錢呢?

MB : GIGABYTE , GA-9IVDP , 這張主板很小/精簡 , 甚至顯示卡/晶片都沒用, 側面有看到 USB port.
CPU : 2 * ? , CPU 也應該很小, 風扇/散熱片都那麼小
RAM : 8 * 1GB (我猜的, RAM太少不好用)
HD : SATA * 2 ( 目前 300G – 500G , CP值較高, 兩顆可能做 RAID 1 , mirror)
電源 : 可能要 300W 吧, 不過是特殊規格, 放大照片看是 MIC , AC 220伏特 , DC 13.65V , 20.5A
電池 : 不知

特別的是, 他們的 HD 等元件都是用魔鬼氈綁住的.

CENTOS 改 keyboard mapping

system-config-keyboard

改 IP address

工具 : system-config-network

或改 /etc/sysconfig/network-scripts/ifcfg-eth0 檔案

改完後, 下
/etc/init.d/network restart

service network restart

—–

centos 改 init.d 的 run level 的方法: chkconfig

列出 各 service :

chkconfig –list

Slumdog Millionaire 貧民百萬富翁

http://en.wikipedia.org/wiki/Slumdog_Millionaire

SLUMDOG MILLIONAIRE Movie Songs Lyrics
Dreams On Fire Lyrics Hindi Song Title: Dreams On Fire : SLUMDOG MILLIONAIRE
Singer(s): SUZZZANE
Cast(s): DEV PATEL , ANIL KAPOOR , IRFAN KHAN , MADHUR MITTAL , FREIDA PINTO , SAURABH SHUKLA

Hindi Lyrics:

You Are My Waking Dream, You’ re All Thats Real To Me
You Are The Magic In The World I See
You Are In The Prayer I Saying, You Are In My Two My Names
You Are The Faith That Make Me Belive
Dreams On Fire, Higher N Higher
Pasion Burning, Ride On The Path, Once For Forever Yours
In Me, All Your Heart, Dreams On Fire, Higher N Higher

You Are My Ocean Rage, You Are My Thought Each Day
You Are The Laughter From Childhood Games
You Are Things Further Down, You Are Where I Belong
You Are Make Me Feel In Every Songs
Dreams On Fire, Higher N Higher, Pasion Burning
Ride On The Path, Once For Forever Yours, In Me
All Your Heart, Dreams On Fire, Higher N Higher

interview with Dev Patel & Freida Pinto

[youtube]http://www.youtube.com/watch?v=drCPqTjNqlM[/youtube]

北橫獨騎 , 板橋 –> 三民 –> 羅浮 –> 巴陵 –> 明池 –> 員山 –> 宜蘭

臨時決定騎個北橫來看看. . . . 今天北橫這段獨騎完全是沒有任何準備下的結果, 備胎, 修車工具, 甚至水都沒在巴陵補好, 一路渴得半死, 回來後看了別人的 blog 才知大家都有在台7的77公里 “Lucky 777” 照張相 , 看來下次有機會再來補這張了.

這是今天的軌跡圖 :
df204d554da0686f5e53e0358f5ab415

P002P003P008 P017 P018 P025 P035P040P044

巴陵 ( 80 ) 到 四陵 ( 40 ) 之間的路是整段北橫中最有挑戰的一段

P049 P050 P051 P054

明池之後累翻了就都沒照了

網站贊助廣告版位出租 – Pagerank 5 / 10 , SEO

廣告特色 : 本站 www.monster.com.tw 目前在 Google pagerank 是 5/10, 本位置廣告可以增加您的網站 SEO.

廣告版位 : 固定每頁都有(參考附圖), 不輪播, 大小為 720px × 90px , 可放一則 banner 或 flash 加上網頁聯結.

廣告價格 : 請看我的賣場!

請參考本站在 Google 排名 2009.0331

關鍵字 oracle :
繁體中文網頁 – 排名第 12
台灣的網頁 – 排名第 7

關鍵字 vmware :
繁體中文網頁 – 排名第 7
台灣的網頁 – 排名第 5

關鍵字 javascript  :
繁體中文網頁 – 排名第 33
台灣的網頁 – 排名第 20

關鍵字 codeigniter  :
繁體中文網頁 – 排名第 3
台灣的網頁 – 排名第 3

15d0ecaf788b8cd0b7d97e87fa7d19c1

解決 mysql innodb 效能問題方法之一

可以用
Using Per-Table Tablespaces : http://dev.mysql.com/doc/refman/5.1/en/multiple-tablespaces.html

Store each InnoDB table and its indexes in its own file. This feature is called “multiple tablespaces” because in effect each table has its own tablespace.

Using multiple tablespaces can be beneficial to users who want to move specific tables to separate physical disks or who wish to restore backups of single tables quickly without interrupting the use of other InnoDB tables.

[mysqld]
innodb_file_per_table

那在把不同的 innodb file 放到不同 disk partition 去, 達到分散實體 IO 的目標, 不過, mysql 對於 path 部份要特別處理, 避免 drop table 或 alter table 時, 它會發生無法預期的結果, 翻了 web , 看到有人這麼作:

改 mysys/mf_format.c

if (!lstat(to,&stat_buff))  /* Check if it's a symbolic link */
    if (S_ISLNK(stat_buff.st_mode) && realpath(to,buff))
成

if (realpath(to,buff))

試看看吧, 我沒改過!

Monster LAMP Pack Lite – ver.317

Basic install emerge
lilo dhcpcd openssh syslog-ng vixie-cron screen ntp cronolog net-mail/mpack app-arch/sharutils unzip bind-tools trafshow traceroute

Linux  : 2.6.24-gentoo-r7
Apache : 2.2.10
Mysql  : 5.0.70-r1
PHP    : 5.2.8-pl2

PHP 的編法是

USE="apache2 berkdb bzip2 calendar cjk cli crypt curl gd gdbm hash iconv json mysql mysqli ncurses nls oci8-instant-client pcre readline reflection session simplexml spell spl ssl truetype unicode xml zlib" emerge -av php

package 有

samba :
postfix :
oracle instant client :
open-vm-tools : vmware 的 tools

emerge 這些 package:

重要軟體:
mysql php apache postfix

中等重要:
screen ntp samba

工具類軟體:
subversion vim open-vm-tools cronolog net-mail/mpack app-arch/sharutils unzip

記得

  • /etc/udev/rules.d/70-persistent-net.rule 砍掉
  • 改 net_DHCP
  • 砍 /tmp/*
  • check /etc/conf.d/clock , /etc/hosts , /etc/resolv.conf