Solve the problem of Internet access and remote logon in Solaris, and perform remote logon in solaris.
Reference http://www.jb51.net/ OS /Solaris/1656.htmlSolution to display garbled characters on solaris
Symptom:
Use the command: LANG = zh; export LANG. Or LANG = C; export LANG
Of course, we can also set them all. LC_ALL = zh; export LC_ALL.
Download the software from the pc: secureCRT is shown below:
Then establish the connection:
Select ssh protocol
Enter the Host Name and User Name
Then, the default setting is complete.
After that, double-click the host name. If everything else is OK, go to the solaris interface.
There will be two situations so far
References:
Http://wenku.baidu.com/link? Url = _ blank & qq-pf-to = pcqq. group
Vmwarevm RedHat linux networking tutorial
Generally, there are three types of VM connections: host-only, bridging, and nat. The previous one cannot access the Internet, but can access the Intranet. DHCP servers must be configured to access the Internet through bridging. Nat connects virtual machines to the real system through network address translation.
In this case, you only need to set the attributes of several files in the solaris system.
Comment out the CONSOLE =/dev/console comment in the/etc/default/login file # Do not make a mistake.
Change the string in the 105 and 128 rows in/etc/ssh/sshd_config
And make it take effect to restart the service
Svcadm restart ssh (svcadm is a tool for managing services)
Remote login configuration has been completed
Open the connection you just created, and double-click it. Enter the password to log on directly. Later we can use this to operate unix systems.
On this interface, we cannot use gedit to open files. We can only use vi to operate all files.