問題已開啟
(普通問題)
• 關(guān)于MOSHELl、decoder的新版本 2020-07-15
• 關(guān)于愛立信MOSHELl安裝過程中 cygwin安裝win7/10 64微系統(tǒng)按問題路過滴請留下 2019-06-22
• MOSHELl的安裝 2018-08-11
• 愛立信MOSHELl指令get0933pp,get0939lgv分別是查什么的 2017-06-20
• win764位系統(tǒng)用MOSHELl進入網(wǎng)元執(zhí)行l(wèi)tall后出現(xiàn)java錯誤 2017-01-19
• 愛立信LTE MOSHELL更換電調(diào)命令! 2016-06-03
• MOSHELl無法連接eNODEB求助 2015-12-23
• MOSHELL指令 2015-10-17
• 關(guān)于愛立信MOSHELl安裝過程中 cygwin安裝win7/10 64微系統(tǒng)按問題路過滴請留下 2019-06-22
• MOSHELl的安裝 2018-08-11
• 愛立信MOSHELl指令get0933pp,get0939lgv分別是查什么的 2017-06-20
• win764位系統(tǒng)用MOSHELl進入網(wǎng)元執(zhí)行l(wèi)tall后出現(xiàn)java錯誤 2017-01-19
• 愛立信LTE MOSHELL更換電調(diào)命令! 2016-06-03
• MOSHELl無法連接eNODEB求助 2015-12-23
• MOSHELL指令 2015-10-17
問題答案
( 2 )
答:
1、moshell在windows下安裝的方法:
Installation for Windows (using Cygwin)
Note Go directly to step 13, MoShell Installation, if you have already installed and configured
Cygwin previously.
Prerequisite: Java Run-Time Environment 1.2.2 or higher must be installed on the workstation.
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/
2. Click on Install Now
3. Save the setup.exe file, then execute it.
4. Choose Install from internet, click Next
5. Root Directory C:cygwin (It is not recommended to choose a different directory, especially
if it contains spaces)
IMPORTANT: Default Text File Type should be set to UNIX (NOT DOS !!! otherwise ftp
transfers get corrupted). Then click Next.
6. Select Internet Connection: put the proxy settings (generally use IE5 settings works with
ESOE PCs). Click Next.
7. Select Packages: Add the following packages:
• under Archive select unzip
• under Interpreters select perl
• under Net select inetutils, openssh, and openssl
• under Shells select rxvt
• optional: under Editors select vim (if you want to be able to edit files with vi)
8. Click Next, install will start
9. In the directory C:Cygwin ,double-click on the file cygwin.bat. This will startup the
Cygwin window and create some files. Now close the Cygwin window.
Open an editor and edit the file cygwin.bat
Delete the line: bash --login -i. At the end of the file add the following (replace
xxxx with your user id):
set USER=xxxx
set HOME=/home/xxxx
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
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
end of the file (replace xxx with your user id!):
export USER=xxxx
export HOME=/home/xxxx
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
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.
12. Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then
run the following commands:
Create the following 3 files in your /home/youruserid directory: .bashrc, .inputrc, and
.Xdefaults This can be done with the commands:
touch .bashrc
touch .inputrc
touch .Xdefaults
13. Go to the directory C:Cygwinhomeyouruserid (from windows explorer) and open the
following 3 files in a text editor:
In the .bashrc file, put the following lines:
unset PROMPT_COMMAND
export PS1="[
1、moshell在windows下安裝的方法:
Installation for Windows (using Cygwin)
Note Go directly to step 13, MoShell Installation, if you have already installed and configured
Cygwin previously.
Prerequisite: Java Run-Time Environment 1.2.2 or higher must be installed on the workstation.
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/
2. Click on Install Now
3. Save the setup.exe file, then execute it.
4. Choose Install from internet, click Next
5. Root Directory C:cygwin (It is not recommended to choose a different directory, especially
if it contains spaces)
IMPORTANT: Default Text File Type should be set to UNIX (NOT DOS !!! otherwise ftp
transfers get corrupted). Then click Next.
6. Select Internet Connection: put the proxy settings (generally use IE5 settings works with
ESOE PCs). Click Next.
7. Select Packages: Add the following packages:
• under Archive select unzip
• under Interpreters select perl
• under Net select inetutils, openssh, and openssl
• under Shells select rxvt
• optional: under Editors select vim (if you want to be able to edit files with vi)
8. Click Next, install will start
9. In the directory C:Cygwin ,double-click on the file cygwin.bat. This will startup the
Cygwin window and create some files. Now close the Cygwin window.
Open an editor and edit the file cygwin.bat
Delete the line: bash --login -i. At the end of the file add the following (replace
xxxx with your user id):
set USER=xxxx
set HOME=/home/xxxx
set SHELL=/bin/bash
rxvt -sl 65000 -e /bin/bash --login -i
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
end of the file (replace xxx with your user id!):
export USER=xxxx
export HOME=/home/xxxx
export SHELL=/bin/bash
mkdir -p $HOME
cd $HOME
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.
12. Start a Cygwin Terminal window by clicking on the icon in start menu or on desktop, then
run the following commands:
Create the following 3 files in your /home/youruserid directory: .bashrc, .inputrc, and
.Xdefaults This can be done with the commands:
touch .bashrc
touch .inputrc
touch .Xdefaults
13. Go to the directory C:Cygwinhomeyouruserid (from windows explorer) and open the
following 3 files in a text editor:
In the .bashrc file, put the following lines:
unset PROMPT_COMMAND
export PS1="[