LINUX (network application management) yum repository creation

Step a: loading the optical disc apparatus CentOS7
1) -p create a temporary mount point mkdir / mnt / DVD /
2) mounted CentOS7 disc mount / dev / cdrom / mnt / dvd /
LINUX (network application management) yum repository creation
Step Two: Resource CentOC7 copy documents in the optical disk
1 ) -p create a repository directory mkdir / repo / cos7dvd
2) copies of all documents within the CD to / repo / cos7dvd / directory
LINUX (network application management) yum repository creation
step three: Make sure the local repository directory, if successful copy
View command: ls / repo / cos7dvd /
LINUX (network application management) yum repository creation
step a: clean up the old configuration, and some can not be configured
to clean up the old configuration command: mkdir /etc/yum.repos.d/oldrepo
Mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/oldrepo/
LINUX (network application management) yum repository creation
step two:
1) the software source Add command: yum-config-File Manager -add the repo-: /// the repo / cos7dvd /
LINUX (network application management) yum repository creation
2) command to confirm the results: LS /etc/yum.repos.d/
. 3) LINUX (network application management) yum repository creation
. 4). 3) check the software signature prohibited
command: vim /etc/yum.conf enter
LINUX (network application management) yum repository creation
in the modify window: keepcache be modified according to i = 0 gpgcheck = 0 Esc key to exit, press shift +: enter wq to save and exit
LINUX (network application management) yum repository creation
step three: Clean yum cache data
command: yum clean all
LINUX (network application management) yum repository creation
step four: list the list of software, confirmed the results of
the command: yum repolist
LINUX (network application management) yum repository creation
Enter the command: yum list installed to view the content of installed packages
LINUX (network application management) yum repository creation
Step two: using WinSCP FTP client management resources
1) opened from the client WinSCP Win program, customer vip2525 FTP server opens WinSCP.exe program in real machine, fill in the FTP login information, note that connection, the message server address, port, user name and a password to the right, shown in Figure -3.
LINUX (network application management) yum repository creation
Step one: Install the relevant package BIND
LINUX (network application management) yum repository creation
checking software httpd, firefox, rar has been installed
LINUX (network application management) yum repository creation
1) establish the main configuration file
LINUX (network application management) yum repository creation
1) the establishment of an address database (192.168.10.11 is the IP address of the server)
LINUX (network application management) yum repository creation
LINUX (network application management) yum repository creation
3) syntax check for any errors in a timely manner correction
[root @ svr7 ~] # named -checkconf /etc/named.conf
LINUX (network application management) yum repository creation
step one: 192.168.10.11 primary DNS server configured tedu.cn domain
1) mounted bind, bind-chroot package
LINUX (network application management) yum repository creation
2) to establish the main configuration vim the /etc/named.conf
LINUX (network application management) yum repository creation
3) the establishment of an address database configuration
LINUX (network application management) yum repository creation
results validate on the client as follows
LINUX (network application management) yum repository creation

Guess you like

Origin blog.51cto.com/14310238/2426343