Configure the image media as the yum source in RedHat.
Cause
When an application is deployed into the virtual pool, the gcc compiling environment and telnet remote service are missing from the virtual machine.
Solution
To facilitate the installation of other missing services on the virtual machine in the future, we recommend that you configure the yum source.
Procedure
Ask the Virtual Machine administrator to mount the system installation image to the/media Directory root user login, find the rhel-source.repo file under the/etc/yum. repos. d/directory
cd /etc/yum.repos.d/
3. Modify the file vi, add the image in media to a new yum source, and enable
vim rhel-source.repo
4. Run the yum list command to check whether the yum source is successfully added. <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KCjxwPjUueXVt1LTF5NbDs8m5prrzo6y9 + NDQsLLXsDwvcD4KCjxwcmUgY2xhc3M9 "brush: java;"> yum –y install gcc*yum –y install telnet*
6. Run the following command to start the telnet service.
service xinetd start
7. Compile the program and telnet the program.