一般我們自己工作電腦沒有運維童鞋幫助做外網端口映射的情況下我們用linux想在外網遠程我們工作電腦是需要跳轉服務器的,目前沒找到合適免費的跳轉服務器(window免費解決方案稍多點,之前用過向日葵,logmein,pocketcloud 感覺后兩個移動端做的非常不錯用9.7寸ipad遠程操作很是方便,操作方式和macbook觸控板操作方式一樣 )
入正題,目前用的是向日葵跳轉.
記錄下安裝過程遇到的問題.
正常情況下執行安裝命令后,啟動服務,會出現以下異常(竟然提示的是沒有找到這個文件/目錄,cat下其實是有這個二進制可執行文件的)
grant@ubuntu:/usr/local/sunlogin/bin$ ./oraysunloginservice
-bash: ./oraysunloginservice: No such file or directory
這種情況是因為這是一個32位的程序,64默認對32位程序沒有支持(缺少相關庫)
然后安裝32位庫
sudo apt-get install ia32-libs
grant@ubuntu:~/sunlogin_linux_1.0.0.25020$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
E: Package 'ia32-libs' has no installation candidate
我們發現它被新庫替換了, lib32z1 lib32ncurses5 lib32bz2-1.0
執行這個安裝替代它的庫
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
安裝好之后我們再執行
/usr/local/sunlogin/bin/oraysunloginservice
/usr/local/sunlogin/bin/oraysunloginservice: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
發現又有了新的錯誤.
安裝c++庫
sudo apt-get install libstdc++6 lib32stdc++6
然后再執行,就ok了.
grant@ubuntu:~/sunlogin_linux_1.0.0.25020$ sudo /usr/local/sunlogin/bin/oraysunloginservice
[sudo] password for grant:
1.Account login
2.Sunlogin code login
Please select your login type:
已經第二次安裝了,上次裝好之后忘記記錄,這次記錄下..
