下載:
(鏈接: https://pan.baidu.com/s/1o78qisM 密碼: 79sq)
安裝:
1、安裝Wine
參考:http://www.cnblogs.com/EasonJim/p/8016167.html
2、手動安裝Xshell 4
wine xshell_40_build0138.exe
安裝過程和Windows的一樣,注意要輸入SN,不要選擇免費版本。
3、設置Xshell無法輸入的問題
4、添加圖標,雙擊運行
參考:http://www.cnblogs.com/EasonJim/p/7467457.html
vim Xshell4.command
chomd u+x Xshell4.command
#!/bin/bash test "$?BASH_VERSION" = "0" || eval 'setenv() { export "$1=$2"; }'; setenv PATH "/Applications/Wine Stable.app/Contents/Resources/start/bin:/Applications/Wine Stable.app/Contents/Resources/wine/bin:$PATH"; nohup wine ~/.wine/drive_c/Program\ Files\ \(x86\)/NetSarang/Xshell\ 4/Xshell.exe >/dev/null 2>&1 &
5、安裝Xftp
wine xfp04000118.exe
輸入SN,不要選擇免費版本。
6、添加桌面圖標
vim Xftp4.command chmod u+x Xftp4.command
#!/bin/bash test "$?BASH_VERSION" = "0" || eval 'setenv() { export "$1=$2"; }'; setenv PATH "/Applications/Wine Stable.app/Contents/Resources/start/bin:/Applications/Wine Stable.app/Contents/Resources/wine/bin:$PATH"; nohup wine ~/.wine/drive_c/Program\ Files\ \(x86\)/NetSarang/Xftp\ 4/Xftp.exe >/dev/null 2>&1 &