I recently learned how to perform Oracle operations on RedHat. Of course, I need to install REDHAT first, and how to access LINUX Through the host is encountered during installation, the first is how to access the REDHAT installed on vmware. The network is set to HOST-ONLY. Then, set the linux ip address and gateway based on the VMwareNetworkAdapterVMnet1 IP address in the VM. the linux ip address must be the same as the VMwareNetworkAdapterVM IP address.
I recently learned how to perform Oracle operations on RedHat. Of course, I need to install REDHAT first, and how to access LINUX Through the host is encountered during installation, the first is how to access the REDHAT installed on vmware. The network is set to HOST-ONLY.
Then, set the linux ip address and gateway based on the VMware Network Adapter VMnet1 IP address in the VM. the linux ip address must be in the same Network segment as the VMware Network Adapter VMnet1, the LINUX gateway address is the address of VMware Network Adapter VMnet1, so that you can PING each other.
Then install the TELNET service for two machines. I will not talk about the WINDOWS platform. It is very simple. I will focus on the installation in LINUX.
First, check whether the TELNET service is installed in LINUX. In terminal mode, enter the following command.
[Root @ orclserver ~] # Rpm-qa telnet-server
Telnet-server-0.17-39.el5
Indicates that the TELNET service is successfully installed. If no proof is displayed, you must first install the service.
You can directly find the REDHAT installation disk inside the telnet-server-0.17-25.i386.rpm double-click to install
Run the preceding command again after the installation is successful.
Start the TELNET service, open the/ETC/XINETD. D/TELNET file, and change disable = yes
DISABLE = NO
- [Root @ orclserver ~] # Cat/etc/xinetd. d/telnet
- #Default:On
- # Description: The telnet server serves telnet sessions; it uses \
- # Unencrypted username/PasswordPairsForAuthentication.
- Service telnet
- {
- Flags = REUSE
- Socket_type = stream
- Wait =No
- User= Root
- Server =/usr/sbin/In. Telnetd
- Log_on_failure + = USERID
- Disable =No
- }
Restart the XINET Service
[Root @ orclserver ~] # Service xinetd restart
Now, you should be able to access the virtual machine's LINUX Through telnet. If not, you need to shut down the linux iptables Firewall Service and restart the LINUX
[Root @ orclserver ~] # Service iptables stop
In this case, you should be able to enter LOGIN on the LOGIN interface, but you may not be able to log on as the ROOT user. Because of linux login restrictions, we need to modify the/ETC/SECURETTY file and add PTS/1, PTS/2 .......
The number after PTS indicates that several ROOT users can log on at the same time.
[Root @ orclserver ~] # Cat/etc/securetty
Console
Pts/1
Pts/2
Vc/1
Vc/2
Vc/3
Vc/4
Vc/5
Vc/6
Vc/7
Vc/8
Vc/9
Vc/10
Vc/11
Tty1
Tty2
Tty3
Tty4
Tty5
Tty6
Tty7
Tty8
Tty9
Tty10
Tty11
Now try again to log on.
The preceding modifications to LINUX Files are made using the VI command.