Archive for April 3rd, 2006

1&1 Server ReImage Notes

Monday, April 3rd, 2006

Recently, 1&1 released Fedora Core 3 with Plesk 7.5 as one of the images server administrator can restore to. Since I've messed up the server a lot, instead of spending more time trying to figure out how to fix it and upgrade it, a quicker solution is to reimage it to FC3. This leads to backuping things up. I tried to get ftpfs working so there would be easy access to 1&1's backup server, but the process seems like this: I'm getting close the solution, but there is this one problem which leads to another problem, and then as I get close to the solution of this another problem, there's another one problem that leads to another another problem. You get the idea. Anyway, I ended up using tar and ftp command to manually backup files and upload them onto the backup server.

Directories backuped:

  • /etc
  • /home/httpd
  • /var

1&1's FAQ has an article "What should I backup?" and I think… yeah… well… it's a 1&1's FAQ, as long as you're happy. I use the standard tar zcvf to add each directory info one .tgz file and then upload it onto the backup server. After these, simply go to the admin panel's Server ReImage page, and select Fedora Core 3 w/ Plesk 7.5, then click the button. In about 40 minutes? Maybe less? The refreshed page finally shows Server Ready.

These are what I really used during restore:

  • /etc/csh.cshrc
  • /etc/screenrc
  • /home/httpd
  • /var/lib/mysql

I tried to restore mysql database through the dumped out database via phpmyadmin by uploading them into the sql query window. It doesn't work (orz). What I found out that worked way easier is to create the database & user via Plesk first, and then copy the old database files onto the new ones. Files are located under /var/lib/mysql/[databasename]/. Since I'm getting my old files back from the FTP backup server, installing FTPFS helps a lot.

Additionally, there are other things to do after the newly reimaged server:

  • Move /opt to allow Plesk 8.0 update: For some mysterious reason, Plesk 8.0 refuse to install unless you have enough space under /opt. Ironically, by default, there is not enough space. So to make Plesk 8.0 happy in this FC3, link /opt to /home/opt.
  • Change the timezone: relink the file /etc/localtime to the correct timezone listed under /usr/share/zoneinfo. For mine:
    ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime
  • Add ntpdate into root's cron:
    0 * * * * /usr/sbin/ntpdate time.ucla.edu
  • Essential packages: yum install cvs firefox openssl python-devel subversion vim xterm
  • Essential Packages not available via yum: apt, ncftp. rpm -iv files.

Also within /etc/my.cnf under [mysql.server], add in:

set-variable = max_connections = 300
set-variable = max_user_connections = 300

Do they work? I haven't get a chance to try yet.

To be updated later if new things came across.

VoipStunt Paid

Monday, April 3rd, 2006

在老木來的這個禮拜裡面, 去給 VoipStunt 付費了. 為什麼? 因為老木要打電話回去跟中華電信抱怨說為啥明明廣告說 3G 電話拿到哪裡都可以用, 來美國後竟然不能用. 用電話卡打國際電話回台灣 complain 實在有點小白, 於是興起了用網路電話打的念頭. 但是最近 VoipStunt 的一分鐘限製作的十分徹底, 1 minute, cut. 所以想說用 Skypeout 或者 Voipstunt 選一個. 用上次得到的 $.20 SkypeOut credit 來打回去給老北試, 看起來效果似乎真的跟電話差不多. Voipstunt 則是音質差了那麼一咪咪 (難看的使用介面造成心靈層面的質感問題?), 但基本上效果也是跟電話一樣. 但是 SkypeOut 每分鐘要算錢, VoipStunt 則不用算, 所以結果很明顯了.

根據 VoipStunt 官方網頁的說法是只要帳號裡面有餘額, 就不會有一分鐘的限制. 雖然這麼說, 但是進入付費網頁後, 發現最低也要存入 $10 EUR. 根據 XE.COM (PR9) 網站的資料, $10 EUR = $12.13 USD. 那實際上銀行顯示是多少呢?

VoipStunt Fee

他還會存了 $0 來跟我講說要 charge 我 $10 Eur + $.36 手續費, 真是貼心阿. $12.43 USD 根據 XE.COM (PR9) 折合新台幣 $405.27.存完後 balance 馬上就變成 $10, 然後討厭的 1 minute limit 也不見了. 除此外基本上都完全一樣. 真的都讓你無限制的打到爆嗎? 會倒吧… Orz 所以他們有限制在你付費完 120 天內得用完.

VoipStunt 4 month limit

那可不可以共用帳號? 答案是… 否定的. 他不會像 Sype 一樣讓你同時在兩台電腦 Sign in, 然後人家打來時候兩台電腦同時響 (新的版本還會不會不知道耶.. 以前的都會這樣). VoipStunt 的做法則是像一般的 IM, 這台 Sign in, 之前那台就會自動被 Sign Out. 不過只要同時間只有一個人用, 那看來是沒問題的. 所以一個月 $100 台幣可以無限制的打那麼多的國家 (台灣手機參照這篇), 很划算啦 XD

All Rights Reserved Copyright © 2008 Design by StyleShout and Clazh