In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Software installation format package type
Tar package green software; do not need to call the script, you can use the
Rmp package name analysis
Rmp command
Rpm can not solve the dependence of software
-e Uninstall-viewed by qa
Set up the experimental environment
Yum software repository
Yum command
Third-party software repository
In rhel8
Then use createrepo-v.
7. Shared software security library Note: build the software store in a host computer, and all hosts can access the software store through the network.
Node1 ip 192.168.1.18
Node2 ip 192.168.1.17
Set up the network of node1
1. Access methods supported by the software repository
File:// Local File ftp:// text transfer Protocol http:// Hypertext transfer Protocol nfts: network File system
two。 The way to build a shared software repository
In node2
1. Install shared software on a host that contains software resources
: yum search ftp
Yum install vsftp (file found above)-y installation
Systemctl start vsftpd
Systemctl enable vsftpd (automatically open)
2 close selinux and firewalld
Selinux:
Getenforce check selinux status Enforcing: selinux enabled
Turn off selinux:
Vim / etc/sysconfig/selinux
Line 7 of the SELINUX=disabled file
Reboot restart the system
Firewalld:
Close firewalld
Systemctl stop firewalld
Systemctl disable firewalld
3. Establish a shared directory
Mkdir / var/ftp/rhel7.6 / var/ftp/software
4. Store shared software resources in a shared directory
Put / var/ftp/software in all third-party software and execute ccreaterepo-v / var/ftp/software
Mount the system installation image resources to / var/ftp/rhel7.6
Mount / dev/cdrom / var/ftp/rhel7.6 is temporarily mounted
Permanently mount the system installation image resources to / var/ftp/rhel7.6
Vim / etc/rc.d/rc.local
Mount / dev/cdrom / var/ftp/rhel7.6
Exit Save
Chmod 755 / etc/rc.d/rc.local
Run it again with the absolute path
/ etc/rc.d/rc.local
Note: df view when permanently mounting, sometimes it is necessary to uninstall the old
Test:
In rhel7_node1:
Firefox ftp://192.168.1.17/software View Resources
Firefox ftp://192.168.1.17/rhel7.6 View Resources
When viewing resources in ftp in node1, sometimes you can't connect in Firefox
There may be the following problems:
1. There is no ping connection between the network and node2.
The vsftpd service is not open in 2.node2
The fire wall in 3.node2 is not closed.
Vim / etc/yum.repos.d/westos.repo
[rhel7.6]
Name=rhel7.6
Baseurl= ftp://192.168.1.17/rhel7.6
Gpgcheck=0
[software]
Name=software
Baseurl= ftp://192.168.1.17/software
Gpgcheck=0
* * yum clean all
Yum repolist to see if resources are available. If so, it means that the experimental environment has been successfully set up in node1 and 2.
Yum search dhcp
Yum install dhcp-y install the dhcp service
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.