Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

LINUX (Network Application Management) yum repository creation

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Step 1: mount the CentOS7 CD device

1) create a temporary mount point mkdir-p / mnt/dvd/

2) Mount CentOS7 CD mount / dev/cdrom / mnt/dvd/

Step 2: copy the document resources on the CentOC7 CD

1) create a warehouse directory mkdir-p / repo/cos7dvd

2) copy all the documents in the CD to the / repo/Cos7dvd/ directory

Step 3: confirm whether the local warehouse directory has been copied successfully.

View commands: ls / repo/cos7dvd/

Step 1: clean up the old configuration, not available configuration

Clean up old configuration command: mkdir / etc/yum.repos.d/oldrepo

Mv / etc/yum.repos.d/*.repo / etc/yum.repos.d/oldrepo/

Step 2:

1) add software source command: yum-config-manager-add-repo file:///repo/cos7dvd/

2) confirm the result command: ls / etc/yum.repos.d/

3)

4) 3) prohibit checking software signatures

Command: vim / etc/yum.conf enter

Modify in the window: press I to modify keepcache=0 gpgcheck=0 Esc key to exit, then press shift+: to enter wq to save and exit

Step 3: clean up the yum cache data

Command: yum clean all

Step 4: list the software repositories and confirm the results

Command: yum repolist

Enter command: yum list installed to view the contents of the installed package

Step 2: manage FTP resources through the WinSCP client

1) Open the WinSCP program from the Win client, log in to the FTP server with the user vip2525, open the WinSCP.exe program in the real machine, fill in the FTP login information, and pay attention to the correct connection method, server address, port, user name and password, as shown in figure-3.

Step 1: install BIND-related software packages

Check whether the software httpd, firefox, rar have been installed

1) create a master profile

1) establish the address base (192.168.10.11 is the IP address of this server)

3) perform grammar check and correct any errors in time

[root@svr7 ~] # named-checkconf / etc/named.conf

Step 1: configure 192.168.10.11 as the primary DNS server for the tedu.cn domain

1) install bind and bind-chroot software packages

2) establish the master configuration vim / etc/named.conf

3) establish address base configuration

The result of verification on the client is as follows

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report