k8s deployment and installation dashboard based on Centos8

Install and deploy dashboard 1. Check pod operation kubectl get pods -A -o wide Download the recommended.yaml filewget https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yamlModify the recommended.yaml filevim recommended.yamlkind: ServiceapiVersion: v1metadata:  labels:    k8s-app: kubernetes-dashboard  name ...

Posted by anto on Mon, 04 May 2020 18:02:22 +0200

Modify DNS server configuration by raspberry pie

Modify profile 1 sudo vim /etc/dhcpcd.conf Add the following content, we use Google DNS (Beijing Unicom test speed is good) 1 static domain_name_servers=8.8.8.8 8.8.4.4 Complete sample file section 1 2 3 4 interface eth0 static ip_address=192.168.1.3/24 static routers=192.168.1 ...

Posted by mars_rahul on Sun, 03 May 2020 06:41:09 +0200

docker installs Chinese version of gitlab (Reprint)

1.pull image in Chinese: docker pull beginor/gitlab-ce:11.3.0-ce.0 2. Create directory: Generally, GitLab's configuration (etc), log (log) and data (data) are placed outside the container for later upgrade, so please prepare these three directories first. mkdir -p /usr/local/gitlab/etc mkdir -p /usr/local/gitlab/log mkdir -p ...

Posted by KeitaroHimura on Tue, 28 Apr 2020 06:14:24 +0200

CentOS 7.4 installation and deployment openstack [Liberty version]

Next blog CentOS 7.4 installation and deployment openstack [Liberty version] (I) , this part continues to cover the following parts 1, Add block device storage service 1. Service Description: OpenStack block storage service provides block storage for instances. The allocation and consumption of storage is determined by block storage driv ...

Posted by edikasim81 on Mon, 27 Apr 2020 07:21:58 +0200

SonarQube installation configuration

thanks Download sonarqube-6.4 Download SonarQube Scanner mysql adds a database named sonar and the user sonarqube@sonarqube Unzip SonarQube and modify the database configuration and user configuration of the configuration file [root@localhost pig]# vim sonarqube-6.4/conf/sonar.properties # Configure database user na ...

Posted by gfoot on Wed, 22 Apr 2020 17:16:17 +0200

squid forward and reverse proxy and balanced polling

squid forward agent Principle: a machine that can't access the Internet can access the website that can't be accessed through the agent Here I use my real machine as an agent. The virtual machine accesses the website through the agent Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo) squid installation a ...

Posted by katuki on Wed, 15 Apr 2020 16:35:33 +0200

Nginx balanced TCP protocol server case

  After version 1.9, nginx can act as a port forwarding function, that is, to access the specified port of the server, nginx can act as a port forwarding function to direct traffic to another server, and obtain the return data of the target server and return it to the requester. The function of nginx's TCP proxy is different from that ...

Posted by dflow on Wed, 15 Apr 2020 12:04:12 +0200

QQ email alert notice

background The QQ mailbox alarm fails all the time. After checking a lot of data, you can find the ssl rules and set the port settings Script content (163 mailbox, can be used directly) [root@hf-01 ~]# vim /usr/lib/zabbix/alertscripts/mail.py #!/usr/bin/env python #-*- coding: UTF-8 -*- import os,sys reload(sys) sys.setdefaultencoding('ut ...

Posted by mpf on Tue, 14 Apr 2020 19:36:57 +0200

Linux network card / firewall

network Naming rules of network card In Centos6, the naming method of network card: it will dynamically change according to the situation and is not unique and fixed. The commonly used naming methods of network card are eth0 and eth1. When the network card is increased or decreased, the name of network card will change In Centos7/8 network ...

Posted by barrow on Sun, 12 Apr 2020 14:02:54 +0200

CentOS 6.5 add nginx to system service

1. introduction After the installation of nginx source code, it will not be registered as system service by default, so you need to add system service script manually. Create a new nginx file in the / etc/init.d directory and change the permissions. 2. Create a new nginx file vim /etc/init.d/nginx Fill in the following (modify according ...

Posted by paul_20k on Sat, 04 Apr 2020 11:18:43 +0200