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 /
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
step three: Make sure the local repository directory, if successful copy
View command: ls / repo / cos7dvd /
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/
step two:
1) the software source Add command: yum-config-File Manager -add the repo-: /// the repo / cos7dvd /
2) command to confirm the results: LS /etc/yum.repos.d/
. 3)
. 4). 3) check the software signature prohibited
command: vim /etc/yum.conf enter
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
step three: Clean yum cache data
command: yum clean all
step four: list the list of software, confirmed the results of
the command: yum repolist
Enter the command: yum list installed to view the content of installed packages
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.
Step one: Install the relevant package BIND
checking software httpd, firefox, rar has been installed
1) establish the main configuration file
1) the establishment of an address database (192.168.10.11 is the IP address of the server)
3) syntax check for any errors in a timely manner correction
[root @ svr7 ~] # named -checkconf /etc/named.conf
step one: 192.168.10.11 primary DNS server configured tedu.cn domain
1) mounted bind, bind-chroot package
2) to establish the main configuration vim the /etc/named.conf
3) the establishment of an address database configuration
results validate on the client as follows
LINUX (network application management) yum repository creation
Guess you like
Origin blog.51cto.com/14310238/2426343
Ranking