CentOS8 failed to synchronize the warehouse cache after replacing the yum source

Cause of the problem: at first, the default yum source of CentOS 8 can be used normally, but after the Development Tools is installed with the following command: yum groupinstall -y "Development Tools" I don't know why I started to have the problem of synchronization warehouse cache failure, and I couldn't install some toolkits normally. The e ...

Posted on Mon, 23 Mar 2020 07:39:35 -0400 by Dlex

Clock synchronization and cobbler to realize automatic installation of operating system

1, Configure chrony service to realize automatic synchronization of server time By default, centos7 has installed the Chromy service: [root@centos7 ~]# rpm -qa |grep chrony chrony-3.2-2.el7.x86_64 Configure and start the chocolate service [root@centos7 ~]# cat /etc/chrony.conf |grep -v "#" server ntp1.aliyun.com iburst driftfile /var/lib/c ...

Posted on Sun, 22 Mar 2020 12:37:31 -0400 by jprazen

Installation and use of web management tool wok for KVM

I. overview kvm has no web management page. When using kvm virtualization, it usually needs to rely on other management systems or command-line mode, which brings great inconvenience to small-scale use of kvm, while wok is very convenient and lightweight to use kimchi to manage kvm Based on cherrypy's web framework, Wok can be extended by some ...

Posted on Sun, 22 Mar 2020 12:14:47 -0400 by spikeon

Details of centos network card configuration

1. Network card file location centos network card configuration file is generally located in / etc / sysconfig / network scripts/ The file name is generally ifcfg eno or ifcfg eth0. You can use the ip addr command or ifconfig command to view the network card information first If a new machine does not have a configuration file, it will also hav ...

Posted on Sun, 22 Mar 2020 10:46:05 -0400 by Topper

centos compile and install gcc8.1

gcc has been upgraded to 8.1. Try compiling it. As of May 3, 2018, the latest version: https://mirrors.tuna.tsinghua.edu.cn/gnu/gcc/gcc-8.1.0/gcc-8.1.0.tar.gz More versions to find: http://ftp.gnu.org/gnu/gcc/ In addition, you can refer to Tsinghua image, which is not complete, but fast: https://mirrors.tuna.tsinghua.edu.cn/gnu Install basic bu ...

Posted on Sat, 21 Mar 2020 11:47:30 -0400 by FezEvils

Use and optimization of the for loop: solving integer indefinite equations

qualitative analysis How do I get an integer solution to this equation? Reference Video Equation: Functions f1, f2, and f3: The derivative of F1 and f2, the slope of curve f, is theoretically steeper than that of f1, where F1 and F2 have only a limited number of intersections. The integer solution of the equation is the intersection of the ...

Posted on Fri, 20 Mar 2020 03:15:12 -0400 by koglakci

Attachment 014.Kubernetes Prometheus+Grafana+EFK+Kibana+Glusterfs Integration Scheme

A glusterfs storage cluster deployment Note: The following are brief steps for detailed reference to GlusterFS Independent Deployment with 009.Kubernetes Permanent Storage. 1.1 schema slightly 1.2 Related Planning Host IP disk Remarks k8smaster01 172.24.8.71 - Kubernetes Master Node Heketi Host k8smaster02 172.2 ...

Posted on Fri, 20 Mar 2020 03:13:05 -0400 by yanti

Zabbix monitors and provides various alerts

Install zabbix client for each monitored node 1) Download and install the zabbix source: [root@nginx-master ~]# rpm -ivh https://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm 2) Install zabbix-agent software: [root@nginx-master ~]# yum install zabbix-agent -y 3) Change profile: [root@nginx-slave ~]# vim /etc/zabb ...

Posted on Fri, 20 Mar 2020 00:44:53 -0400 by jdc44

A small skill of implementing single chain table in Orx engine

Apes do not necessarily implement single chain tables, but apes who have learned data structures must implement single chain tables. In general, the structure definition of linked list is as follows Simple version linked list , self implemented, for reference only, more professional version can be seen in glib library or Linux ...

Posted on Thu, 19 Mar 2020 13:19:29 -0400 by Death_Octimus

Linux warning: Permison denied thought

In Linux, we often encounter Permisson denied errors.Whether sudo or switching root users continue execution without understanding the logic behind it.Today we'll break and tear Linux's Discretionary Access Control. Tips: Key terms and content categorization referenced in this article may differ from the standard.Please understand flexibly Pe ...

Posted on Thu, 19 Mar 2020 03:55:39 -0400 by Joshua F