Manually configure Solaris 10.0 Internet access
The following four files need to be checked and modified. If the file does not exist, manually create the file: 1. /etc/hosts 2./etc/resolv.conf 3./etc/defaultrouter 4./etc/nsswitch.conf The following is an introduction to the four files: 1) /tec/hosts file, which contains the IP address and host name of the host: # # Internet host table # ::1 localhost 127.0.0.1 localhost 192.168.1.9 solaris1221 loghost 192.168.1.9 is the corresponding host IP address, solaris1221 corresponding to the host name 2) /etc/resolv.conf, which is used to configure DNS, add the following information: nameserver 192.168.1.1 3) /etc/defaultrouter, which is used to configure router Settings, enter the following: 192.168.1.1 4) /etc/nsswitch.conf, edit the file, and change the line corresponding to hosts as follows: hosts: files dns In this case, the Internet access configuration of the solaris host is complete, and you can access the Internet.
Related article
-
Details of the Solaris threading model
Solaris is a modern operating system developed and released by Sun Company, is an important branch of the UNIX system, today Xiaobian brings you a detailed explanation of the Solaris thread model, I hope it will be helpful to you, friends in need to go and see it2017-04-06 -
Description Solaris iostat command
Today, Xiaobian brings you a detailed explanation of Solaris iostat. I hope it will be helpful to you. Friends in need will go to see it2017-04-06 -
Today, Xiaobian brings you a brief introduction to Solaris technology, I hope it will be helpful to you, and friends in need will go to see it2017-04-06
-
How can I expand a Resource pool in solaris11? solaris11 Method of expanding a resource pool
Recently, some friends asked solaris11 how to expand the resource pool? Today Xiaobian will share the solaris11 expansion resource pool method for everyone! I hope it will be helpful to everyone, and friends in need will go to see it2017-04-06 -
How can I change the subnet mask in Solaris10? Solaris10 Method for changing the subnet mask
Recently, some friends asked Solaris10 how to change the subnet mask? The following small series will share the Solaris10 to change the subnet mask method! I hope it will be helpful to everyone! Friends who need to go and have a look2017-03-19 -
This section describes how to install and uninstall tar.z on Solaris
Today, Xiaobian will bring you a detailed explanation of installing and uninstalling tar.z in Solaris! I hope it will be helpful to everyone! Friends who need to go and have a look2017-03-16 -
How do I set the resolution in solaris? A way to set resolution in solaris
Recently, some friends asked me how to set the resolution in solaris? The following Xiaobian will bring you the method of setting resolution in solaris! I hope it will be helpful to everyone, interested friends go to see it2017-03-15 -
How do I view the version and number of bits of my solaris system?
Recently, some friends asked how to check the version and number of solaris systems? Today Xiaobian will share for you to view the version of the solaris system and the number of methods! I hope it will be helpful to everyone, and friends in need will go to see it2017-03-14 -
This section describes the differences between common commands used in Solaris and Linux
This article mainly introduces the difference between Solaris system and Linux system common commands,Linux as a copy of Unix, its commands will have many similarities with Solaris as a Unix distribution, and this article focuses on their differences, the need for friends2016-02-05 -
windows XP+Fedora 8+solaris 11 three system installation guide
This section describes how to install windows XP+Fedora 8+solaris 112014-06-16
Latest comments