Get the App
SLTechnology News&Howtos  ›  Network Security  › 

LINUX (Network Application Management) yum repository creation

Shulou Source: shulou.com Published: 2022-06-01 05:30:16 10月04日 Update

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

Tags: Steps commands software configuration CDs addresses servers services warehouses customers copies directories results software packages checks information documents users programs resources Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker Linux MariaDB Shulou Information