In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
-install the local yum repository-cd / etc/yum.repos.d/ / enter mkdir back/ under the configuration directory of the yum repository / create a directory mv C * back/ move all files starting with C into the back directory cp back/*. / / move the files out of the directory rm-r / / Delete rm-rf / / force deletion
Vi local.repo / / must be followed by .repo, because yum only recognizes files that end in .repo.
After entering, add the following
[local] name=localbaseurl= file:///mntenabled=1gpgcheck=0 temporary mount CD drive: mount / dev/cdrom / mnt/df-hT / / View mount information permanent mount CD drive: vi / etc/fstab / / start auto mount configuration file skip to the last line: / dev/cdrom / mnt iso9660 defaults mount-a-build Aliyun yum warehouse-only if you can access the Internet 1. Aliyun yum warehouse [Ali] name=CentOS-$releasever-Basebaseurl= http://mirrors.aliyun.com/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-72, China University of Science and Technology [mariadb] name = MariaDBbaseurl = https://mirrors.ustc.edu.cn/mariadb/yum/10.3/centos74-amd64/gpgcheck=1gpgkey=https://mirrors.ustc.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB-------------------- uses the yum repository to install the service-- Yum clean all clears all warehouse caches yum makecache rebuild warehouse yum repolist all lists all repositories yum provides searches packages yum whatprovides * / filenames based on specific criteria to see which packages the files belong to yum list to list all packages in the warehouse yum info to view package information if yum install is installed with-y There is no need to manually confirm the installation. Yum reinstall reinstall package yum remove uninstall yum update update (requires networking) yum check-update check updatable packages (requires networking) yum grouplist View Group Service yum groupinstall installation Group 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.