Origin’s blog

Embed binaries in shell scripts

Original link: https://articles.singee.me/embed-bin-in-shell-script foreword When building a Linux/Unix system installation package, in addition to being packaged into a standard software package suitable for various distributions, we may also hope to provide a shell script for program installation, and the installation steps are simply converged into two steps : Download script + run script. Usually, most […]

Embed binaries in shell scripts Read More »

talk about time zones

Original link: https://articles.singee.me/timezone Usually, the problem of time zone conversion is often involved in localization, and usually the “default” time zone we use is UTC or “local” before we really pay attention to the time zone. This article takes Go as an example to analyze the time zone usage in Go. read time zone In

talk about time zones Read More »

Solve the failure of yum source in CentOS8

Original link: https://blog.singee.me/2023/06/07/baf5a24c337a4c3f8666398d601f97d5/ Let me make a complaint first, why does CentOS break a system that is running normally? If no other mirror has been configured before 1 2 sed -i ‘s/mirrorlist/#mirrorlist/g’ /etc/yum.repos.d/CentOS-* sed -i ‘s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g’ /etc/yum.repos.d/CentOS-* If configured, just change the domain name in baseurl to http://vault.centos.org (note that only HTTP is supported) The

Solve the failure of yum source in CentOS8 Read More »