We often use SECURITECRT to remotely control Linux servers in the actual operation dimension. The following is a detailed description of Windows 7 building a Linux development environment through VirtualBox and ultimately remote access to Linux servers through SECURITYCRT.
Mainly divided into the following steps
1, VirtualBox installation
2. Ubuntu installation
3, SECURITECRT installation
4. Configure Linux Network
I. The software I use
Virtualbox4.0,virtualbox is open source software that can access https://www.virtualbox.org/wiki/Downloads downloads
Ubuntu11.10 Desktop version, Ubuntu is open source free system, can access http://www.ubuntu.org.cn/download/download
SECURITECRT6.6,SECURITECRT is a billing software, but online can find cracked version of the
Second, the configuration
The first three steps to install the software is relatively simple, do not do a detailed introduction, the main introduction to the fourth step configuration.
However, when installing Ubuntu you need to be aware that, before or after installation, click on the VirtualBox settings
Pay special attention to the new
After the end of the setup to virtual a network card, this network card will be used to host remote access to the Linux server. Specifically as follows:
Where the network connection 1 go to the default settings on it, network Connection 2 set the mode of connection as "bridged Adapter"
The main network configuration after the installation is completed:
(1) Under Linux to execute the ifconfig command to view the ETH1 network card, the following figure:
If eth1 is not present, do something and skip it if it appears:
Sudo ifconfig eth1 XXX netmask 255.255.255.0
Sudo ifconfig eth1 up
Note: XXX can be set by referring to the network card that is bridged under Windows, for example, on my computer:
Then XXX can be set to 192.168.93.X (X can not be 0, 11, 255), again ifconfig can be seen.
(2) The use of the editor in Linux (I use the following gedit, you can use according to their own preferences) open interfaces file
Sudo gedit/etc/network/interfaces
Add the following at the end of the file
#eth1
Auto Eth1
Iface eht1 inet Static
Address XXX # Note: XXX is the IP set above
Netmask 255.255.255.0
Broadcast 192.168.x.255 #注: X The value of the corresponding position in XXX, for example, mine is 93
Save the file, exit Gedit, restart the virtual machine, ETH1 is the second network card will automatically start. Note that you must add the "broadcast 192.168.x.255" line, otherwise the OpenSSH client tool will not be able to connect to the virtual machine.
(3) Use the following commands under Linux
Sudo gedit/etc/resolv.conf
Add the following below the file
NameServer 202.106.196.115
NameServer 202.106.196.152
NameServer 8.8.8.8
NameServer 192.168.1.1
After saving, exit Gedit, restart Networking, command as follows:
sudo/etc/init.d/networking restart
(4) This time eth1 setup is complete, next to determine the Linux ssh on the open, if not a boot or installation will be installed after the SSH, command as follows:
sudo apt-get install openssh-server openssh-client
At this point Linux is basically set up, then use SECURITECRT to connect Linux:
Hostname is just set up Ip,port generally default is 22 (you can use gedit etc/ssh/sshd_config below Linux to view the configuration parameters of ssh, you can also use sudo gedit/etc/ssh/sshd_ Config to edit the modifications)
Username is an account that installs Ubuntu settings, and if Root is turned on, you can also use the root account.
Then enter the password to log in:
Note: Sometimes in the SECURITECRT Chinese will appear garbled, you can speak SECURITECRT in the encoding set to UTF-8 (in the Options option of SECURECRT options, Modify the character encoding in the appearance to UTF-8, so that only the encoding shown in SECURITECRT can be modified, it may be in Linux or garbled