請選擇 進入手機版 | 繼續訪問電腦版

COCO研究院

 找回密碼
 註冊
搜索
樓主: 超級美少女

[心得] Linode 初體驗

[複製鏈接]
發表於 14-9-2 13:28 | 顯示全部樓層
tinyding 發表於 14-9-2 11:26
上面的測試,都是在 Debian 系統底下測試的 ... 上星期六做完 CentOS 底下的 opencc 測試後,我就把 Linode ...

底下是在 Linode VPS 下的 CentOS 6.5 環境:
  1. [root@li580-126 build]# ./src/tools/opencc -i /tmp/gb.txt -o /tmp/TEST-gb.txt -c /tmp/opencc-0.4.3/data/config/mix2zht.ini
  2. Segmentation fault
  3. [root@li580-126 build]# ./src/tools/opencc -i /tmp/gb.txt -o /tmp/TEST-gb.txt -c /tmp/opencc-0.4.3/data/config/mix2zht.ini
  4. Segmentation fault
  5. [root@li580-126 build]# pwd
  6. /tmp/opencc-0.4.3/build
複製代碼


但是當我把自行編譯的 opencc-0.4.3 執行過 make install 後,狀況又不一樣了 ... :
  1. [root@li580-126 build]# ./src/tools/opencc -i /tmp/gb.txt -o /tmp/TEST-gb.txt -c /usr/share/opencc/mix2zht.ini
  2. [root@li580-126 build]# ./src/tools/opencc -i /tmp/gb.txt -o /tmp/TEST-gb.txt
  3. [root@li580-126 build]# ./src/tools/opencc -i /tmp/gb.txt -o /tmp/TEST-gb.txt -c /tmp/opencc-0.4.3/data/config/mix2zht.ini
  4. [root@li580-126 build]# ./src/tools/opencc -i /tmp/gb.txt -o /tmp/TEST-gb.txt -c /usr/share/opencc/mix2zht.ini
  5. [root@li580-126 build]# pwd
  6. /tmp/opencc-0.4.3/build
  7. [root@li580-126 build]# ls -la /tmp/gb.tar.gz /tmp/gb.txt /tmp/TEST-gb.txt
  8. -rw-r--r-- 1 root root  2345 Sep  2 02:21 /tmp/gb.tar.gz
  9. -rwxr-xr-x 1 1003  513 16021 Sep  2 01:44 /tmp/gb.txt
  10. -rw-r--r-- 1 root root 16018 Sep  2 05:21 /tmp/TEST-gb.txt
複製代碼
所以,是不是你那邊在編譯的過程中,出了什麼問題? 而導致有底下的錯誤產生呢? :
  1. opencc: symbol lookup error: opencc: undefined symbol: opencc_convert_utf8_free
複製代碼


 樓主| 發表於 14-9-2 13:38 | 顯示全部樓層
本帖最後由 超級美少女 於 14-9-2 13:40 編輯
tinyding 發表於 14-9-2 13:28
底下是在 Linode VPS 下的 CentOS 6.5 環境:


cmake 我安裝到 3.01 版,編譯 opencc 都沒啥問題.

你的centos 6.5 64bit  opencc 編譯好的,拷貝一份給我好了~
發表於 14-9-2 14:12 | 顯示全部樓層
超級美少女 發表於 14-9-2 13:38
cmake 我安裝到 3.01 版,編譯 opencc 都沒啥問題.

你的centos 6.5 64bit  opencc 編譯好的 ...

我在我的站台(106.187.88.29),開了一個帳號給你 ...
檔案: opencc-0.4.3.compiler.tar.gz
以 lftp 登入站台後,即可下載. ^_^
發表於 14-9-2 14:25 | 顯示全部樓層
tinyding 發表於 14-9-2 14:12
我在我的站台(106.187.88.29),開了一個帳號給你 ...
檔案: opencc-0.4.3.compiler.tar.gz
以 lftp 登入站 ...

上面的站台是 Debian 系統,但 opencc-0.4.3.compiler.tar.gz 是我在 Linode VPS CentOS6.5 64 bit 環境下編譯成功的 ...
我怕 CentOS6.5 的環境,又在我測試完 Opencc 後,就又被砍掉了,所以,上傳到 Debian 那邊儲存起來 ...
 樓主| 發表於 14-9-2 15:55 | 顯示全部樓層
tinyding 發表於 14-9-2 14:25
上面的站台是 Debian 系統,但 opencc-0.4.3.compiler.tar.gz 是我在 Linode VPS CentOS6.5 64 bit 環境下 ...


暈倒,,手抖了一下。。

一個 pc 檔案夾,突然消失不見了~~

怎樣搜尋都找不到.........
 樓主| 發表於 14-9-2 16:02 | 顯示全部樓層
tinyding 發表於 14-9-2 14:25
上面的站台是 Debian 系統,但 opencc-0.4.3.compiler.tar.gz 是我在 Linode VPS CentOS6.5 64 bit 環境下 ...



我下載了,不行。。放棄~
發表於 14-9-2 16:41 | 顯示全部樓層
超級美少女 發表於 14-9-2 15:55
暈倒,,手抖了一下。。

一個 pc 檔案夾,突然消失不見了~~

rm 沒有設定保險? ...
  1. root@linode-001:/tmp# alias
  2. alias cp='cp -i'
  3. alias mv='mv -i'
  4. alias rm='rm -i'

  5. root@linode-001:/tmp# cat ~/.bashrc
  6. # ~/.bashrc: executed by bash(1) for non-login shells.

  7. # Note: PS1 and umask are already set in /etc/profile. You should not
  8. # need this unless you want different defaults for root.
  9. # PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
  10. # umask 022

  11. # You may uncomment the following lines if you want `ls' to be colorized:
  12. # export LS_OPTIONS='--color=auto'
  13. # eval "`dircolors`"
  14. # alias ls='ls $LS_OPTIONS'
  15. # alias ll='ls $LS_OPTIONS -l'
  16. # alias l='ls $LS_OPTIONS -lA'
  17. #
  18. # Some more alias to avoid making mistakes:
  19. alias rm='rm -i'
  20. alias cp='cp -i'
  21. alias mv='mv -i'
複製代碼

如果已被刪除掉,可能就找不回來了 ...
發表於 14-9-2 16:43 | 顯示全部樓層
超級美少女 發表於 14-9-2 16:02
我下載了,不行。。放棄~

要讓我來試試看嗎? ...
 樓主| 發表於 14-9-2 17:03 | 顯示全部樓層
tinyding 發表於 14-9-2 16:43
要讓我來試試看嗎? ...



我想想還是用 mysql 偽原創的工具。直接在 mysql 上簡轉繁。

每次更新個20-30個商品。不用下載整個資料庫下來簡轉繁。

評分

參與人數 1金錢 +1 收起 理由
tinyding + 1

查看全部評分

發表於 14-9-6 23:24 | 顯示全部樓層
今早 06:04 再度收到 Linode 寄送過來 "Hardware Issue" ... :
  1. Hello,

  2. Our administrators have detected an issue affecting the physical hardware your Linode resides on. We're working to resolve the issue as quickly as possible and will update this ticket as soon as we have more information.

  3. Your patience and understanding is greatly appreciated.

  4. Sincerely,
  5. Ryan
複製代碼

十幾分鐘後,再次順利解決. ^_^
  1. Hello,

  2. The physical hardware that your Linode currently resides on became unresponsive to our monitoring and required an emergency reboot. The hardware is back online and Linodes will be returning to their last state (booted or shutdown) shortly. However in order to protect your Linode from any further downtime, we have scheduled an emergency migration to different hardware in the Tokyo facility.

  3. Your Linode has been entered into a migration queue and it will be moved to its new hardware shortly. Your Linode will be cleanly shut down, migrated to its new hardware, and then returned to its last state; you will not be required to manually power on your Linode. You can monitor your position in the migration queue in the Linode Manager. The migration process can take up to 2-3 minutes per GB of disk images.

  4. Please accept our sincere apologies for any inconvenience this may have caused you. Should you have any questions or concerns regarding this issue, please do not hesitate to reply to this support ticket.

  5. Regards,
  6. Matt M.
複製代碼


 樓主| 發表於 14-9-7 20:56 | 顯示全部樓層
tinyding 發表於 14-9-6 23:24
今早 06:04 再度收到 Linode 寄送過來 "Hardware Issue" ... :
十幾分鐘後,再次順利解決. ^_^



靠,這該恭喜你,還是同情你?
發表於 14-9-7 21:14 | 顯示全部樓層
超級美少女 發表於 14-9-7 20:56
靠,這該恭喜你,還是同情你?

還好我只是做實驗的 ... 再重新登入 Linode 站台後,選擇 Grub-pv 以哪個開機選項來開機即可. 沒有什麼影響. ^_^
發表於 14-9-22 08:42 | 顯示全部樓層
今早 03:48 再度收到 Linode 的來信 ...
  1. Hello,

  2. Our administrators have detected an issue affecting the physical hardware your Linode resides on. We're working to resolve the issue as quickly as possible and will update this ticket as soon as we have more information.

  3. Your patience and understanding is greatly appreciated.

  4. Regards,
  5. Jon F.
  6. Linode Support
複製代碼


所幸! 04:10 就解決了 ... ^_^
  1. Hello,

  2. We have resolved the issue at this time, and your Linode will return to its last state shortly (running or powered off). There is no need to issue boot jobs for your Linode at this time.

  3. Thank you for your patience and understanding. Please feel free to update this ticket in the event that you have any additional questions or concerns about this matter.

  4. Regards,
  5. Jon F.
  6. Linode Support
複製代碼


 樓主| 發表於 14-9-22 08:44 | 顯示全部樓層
tinyding 發表於 14-9-22 08:42
今早 03:48 再度收到 Linode 的來信 ...



叫Linode換個位置看看~
發表於 14-9-22 08:47 | 顯示全部樓層
超級美少女 發表於 14-9-22 08:44
叫Linode換個位置看看~

這只是測試用的 ...
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|站長信箱|廣告洽詢|COCO研究院

GMT+8, 24-4-19 05:01

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回復 返回頂部 返回列表
理財討論網站 | AI繪圖AI超擬真美女AI beauty AI Stable DiffusionAI正妹AI Lookbook