In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Linux version
1. Extract redis-5.0.2.tar.gz file
2. Enter the redis directory after decompression. When executing the make installation command, an installation error is prompted (the gcc command is not found, and gcc needs to be installed).
Solution 1:
Installation via CD yum source (making CD yum source articles)
yum install gcc-c++
Solution 2: See the article on resolving dependencies (http://blog.csdn.net/ReadyYes/article/details/51848015)
a. Mount the CD first, mount /dev/sr0/mnt/cdrom
b. Enter the directory/mnt/cdrom/Packages and execute rpm installation commands in sequence.
rpm -ivh cpp-4.8.5-11.el7.x86_64.rpm
Find and install the cpp dependency libraries libmpc.so.3() and libmpfr.so.4(), and finally install cpp
rpm -ivh kernel-headers-3.10.0-514.el7.x86_64.rpm
rpm -ivh glibc-headers-2.17-157.el7.x86_64.rpm
rpm -ivh glibc-devel-2.17-157.el7.x86_64.rpm
rpm -ivh libgomp-4.8.5-11.el7.x86_64.rpm
rpm -ivh gcc-4.8.5-11.el7.x86_64.rpm
3. After installing gcc, enter the redis directory, you must first execute the make distclean command, and then execute the make command to install (the installation process is slow and you need to wait).
If you execute the make command directly, jemalloc.h does not have that file or directory error.
Finally, execute the make install command to complete the installation.
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.