学以致用

focus on Python , C++, and some interest in Go and R

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  165 随笔 :: 0 文章 :: 41 评论 :: 41万 阅读
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

2021年8月26日

when using Hugo encountered the following errors:

hugo: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by hugo)
hugo: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by hugo)
hugo: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by hugo)

And after googling the somewhile and doing a lots tests, and confirmed installed the latest gcc helped fixing the error on CentOS 7.9

# solutions
# check libc
strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX

# install new versions of gcc
wget http://mirror.ghettoforge.org/distributions/gf/el/7/gf/x86_64/gf-release-7-12.gf.el7.noarch.rpm
rpm -Uvh gf-release-7-12.gf.el7.noarch.rpm
yum install gcc10-libstdc++
rpm -ql gcc10-libstdc++.x86_64

find / -name "libstdc++.so.6*"
cp /opt/gcc-10.2.1/usr/lib64/libstdc++.so.6.0.28 /usr/lib64/
cd /usr/lib64
rm libstdc++.so.6
ln -s libstdc++.so.6.0.20 libstdc++.so.6

posted @ 2021-08-26 16:21 Jerry.Kwan 阅读(826) 评论(0) 推荐(1) 编辑

2021年2月15日

摘要: http://pateldenish.com/2016/09/recovering-corrupted-postgres-database.html 阅读全文
posted @ 2021-02-15 21:56 Jerry.Kwan 阅读(60) 评论(0) 推荐(0) 编辑

2020年7月3日

摘要: Ubuntu server out of box is not optimized to make full use of available hardware. This means “out-of-box” setup might fail under high load. So we need 阅读全文
posted @ 2020-07-03 17:02 Jerry.Kwan 阅读(154) 评论(0) 推荐(0) 编辑

2019年11月18日

摘要: https://coderprog.com/ https://avxhm.se/ebooks/programming_development https://www.foxebook.net/ http://gen.lib.rus.ec/ https://www.letmeread.net http 阅读全文
posted @ 2019-11-18 09:35 Jerry.Kwan 阅读(191) 评论(0) 推荐(0) 编辑

2019年5月26日

摘要: https://www.tummy.com/articles/isolating-heavy-load/ https://www.tecmint.com/understand-linux-load-averages-and-monitor-performance/ yum install sysst 阅读全文
posted @ 2019-05-26 14:02 Jerry.Kwan 阅读(135) 评论(0) 推荐(0) 编辑

2019年4月19日

摘要: see time wait number https://www.linux.org/threads/reduce-your-apache-time_wait-connections.4505/ 阅读全文
posted @ 2019-04-19 16:08 Jerry.Kwan 阅读(226) 评论(0) 推荐(0) 编辑

2019年4月8日

摘要: # install python3sudo yum -y updatesudo yum -y install yum-utilsyum install -y zlib-devel bzip2-devel ncurses-develyum install libffi-develsqlite-deve 阅读全文
posted @ 2019-04-08 16:45 Jerry.Kwan 阅读(200) 评论(0) 推荐(0) 编辑

2019年1月15日

摘要: 以下配置只针对nsqadmin v1.1.0 (built w/go1.10.3)版本 ## The default server#server { listen 80 default_server; listen [::]:80 default_server; server_name _; roo 阅读全文
posted @ 2019-01-15 11:20 Jerry.Kwan 阅读(532) 评论(0) 推荐(0) 编辑

2019年1月8日

摘要: touch /etc/yum.repos.d/city-fan.repo vi /etc/yum.repos.d/city-fan.repo add the following: 阅读全文
posted @ 2019-01-08 16:59 Jerry.Kwan 阅读(280) 评论(0) 推荐(0) 编辑

2018年9月27日

摘要: yum -y updateyum -y install epel-releaseyum -y install ncftp screen # Compilers and related tools:yum groupinstall -y "development tools" # Libraries 阅读全文
posted @ 2018-09-27 16:26 Jerry.Kwan 阅读(208) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示