問題已開啟 (普通問題)
那位大俠可以介紹一下如何裝moshell?
愛立信moshell的安裝
提問者: zhugeyingju  提問時間: 2009-05-23    
 
  我要回答:
 

  請先 登錄注冊 再回答問題

更多 MOS HEL Moshell 相關(guān)問題
問題答案 ( 2 )

答:
1、moshell在windows下安裝的方法:ierpoejK:JFD()本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
 Installation for Windows (using Cygwin)
Note Go directly to step 13, MoShell Installation, if you have already installed and configuredK:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Cygwin previously.K:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Prerequisite: Java Run-Time Environment 1.2.2 or higher must be installed on the workstation.sfds1fadK:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Java 1.3.1_15 or 1.3.1_16 is recommended because it uses the least amount of memory and
supports all features on MoShell.
When running on Windows, Moshell uses a unix emulator known as Cygwin.
2.4.1 Getting and installing cygwin
1. Go to the website http://www.cygwin.com/?$#@3K:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
2. Click on Install Now
3. Save the setup.exe file, then execute it.jlurewioK:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
4. Choose Install from internet, click NextoK:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
5. Root Directory C:cygwin (It is not recommended to choose a different directory, especially
if it contains spaces)?*@#(_@s4faK:JFD()$#_*(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
IMPORTANT: Default Text File Type should be set to UNIX (NOT DOS !!! otherwise ftpf12zcvK:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
transfers get corrupted). Then click Next.@&%#*(我)$K:JFD()$#_本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
6. Select Internet Connection: put the proxy settings (generally use IE5 settings works withs3a21fd3s1K:JFD()$#_本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
ESOE PCs). Click Next.?&#%kcvmK:JFD()$#本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
7. Select Packages: Add the following packages:ckjluK:JFD本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
under Archive select unzip纇$#$#&)*(K:JFD()$#_本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
under Interpreters select perl
under Net select inetutils, openssh, and opensslierpoej道K:JFD()$#本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
under Shells select rxvtfkjhfjK:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
optional: under Editors select vim (if you want to be able to edit files with vi)&#%kcvmmK:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
8. Click Next, install will start
9. In the directory C:Cygwin ,double-click on the file cygwin.bat. This will startup thed5a4f8K:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Cygwin window and create some files. Now close the Cygwin window.s1fads不21fK:JFD()$#_*本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Open an editor and edit the file cygwin.bat45%#(么$*@K:JFD()$#_本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Delete the line: bash --login -i. At the end of the file add the following (replace
xxxx with your user id):v545%#(肒:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
set USER=xxxx
set HOME=/home/xxxx&#*($(K:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
set SHELL=/bin/bashds13東oitreK:JFD()$#_*本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
rxvt -sl 65000 -e /bin/bash --login -isaf12zcv54K:JFD()$#_本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
IMPORTANT: Make sure that there are no spaces at the end of the lines otherwise the
windows environment variables don’t get set correctly and your .Xdefaults file will not be
read (meaning that rxvt looks horrible!).
10. Open the file C:Cygwinetcprofile in a text editor and add the following 6 lines at the*$#什K:JFD本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
end of the file (replace xxx with your user id!):
export USER=xxxx34321%$#(*$#K:JFD()$#_*(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
export HOME=/home/xxxx
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOMEads不K:JFD本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
source $HOME/.bashrc
11. Edit the file C:/Cygwin/etc/passwd in a text editor and make sure that there is a row with
your username and home directory. If the home directory (found towards the end of the
line) looks like /cygdrive/h then replace this with /home/youruserid (replace youruserid
with your user id!!). This is needed for ssh to function properly.v545%K:JFD本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
12. Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then221a3dK:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
run the following commands:12zcv545%#(肒:JFD()$#_*(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
Create the following 3 files in your /home/youruserid directory: .bashrc, .inputrc, and$*@#(_@s4faK:JFD()$#_*本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
.Xdefaults This can be done with the commands:&%#*(我)K:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
touch .bashrc21a3dK:JFD本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
touch .inputrc東oitrK:JFD(本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
touch .Xdefaultsoitre43K:JFD()本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
13. Go to the directory C:Cygwinhomeyouruserid (from windows explorer) and open thefds1fads不2K:JFD()$#_*本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
following 3 files in a text editor:3a21fd3K:JFD()本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
In the .bashrc file, put the following lines:oej道h$#K:JFD()$本文來自移動通信網(wǎng)m.gg1fic3.cn,版權(quán)所有
unset PROMPT_COMMAND
export PS1="[