Shell -- getting started with shell

1. Introduction to shell 1. Configuration requirements: OS: RHEL7 or CentOS8 is recommended CentOS8 will stop maintenance at the end of 2021 RHEL8 or dragon lizard operating system https://openanolis.cn 2. Classification of Shell Scripting Language There are two kinds of shells: Bourne shell and C shell Bourne shell includes Bourne s ...

Added by mcog_esteban on Thu, 10 Mar 2022 10:18:30 +0200

Steps to build a cluster environment

*How to transfer files from Mac to virtual machine: Connect the host as follows: Transfer file: scp file location and file name root@IP Address: the location where files need to be stored 1. Configure NAT network Note: change the network adapter of vm to NAT mode edit /etc/sysconfig/network-scripts/ifcfg-ens33 file Modified as BOOTPR ...

Added by brandon on Wed, 09 Mar 2022 17:00:28 +0200

DNS server configuration

1. Mount the CD mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom vim /etc/fstab /dev/cdrom /mnt/cdrom iso9660 defaults 0 0 2. Create yum source [root@centos7-1 xwk]# yum-config-manager --add-repo=file:///mnt/cdrom Plug in loaded: fastestmirror, langpacks adding repo from: file:///mnt/cdrom Cannot add repo from file:///m ...

Added by hcdarkmage on Tue, 08 Mar 2022 19:49:26 +0200

Learn the principle of elasticsearch. Elasticsearch is built in centos

1, Stand alone installation 1.1 elasticsearch and kibana There are three ways to install es and kibana: yum, rpm, tar gz The latter two methods can be used in the Intranet environment when yum needs to open the external network. 1.1.1 es installation How we install rpm this time: Download the rpm file and upload it to the server, and ins ...

Added by scuba on Tue, 08 Mar 2022 09:06:30 +0200

Nginx deployment SSL Certificate (Alibaba cloud)

Step 1: download the certificate to the local Nginx certificate zip file. After decompression, you will get the following files: Certificate file in PEM format. Certificate KEY file in KEY format Step 2: install the certificate on the Nginx stand-alone server Execute the following command to create a directory (named cert) for storing certi ...

Added by Rik Peters on Tue, 08 Mar 2022 01:11:29 +0200

CentOS 6.9 yum 404 "The requested URL returned error: 404 Not Found"โ€œ

CentOS 6.9. When executing yum makecache, 404 errors are reported as follows: http://mirrors.cloud.aliyuncs.com/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" The reason is that "CentOS 6 has entered EOL (Reaches End of Life) with the end of November 2020 , the official re ...

Added by ehhwan on Mon, 07 Mar 2022 23:29:48 +0200

Linux learning notes

1, Common commands Teaching video of station B: https://www.bilibili.com/video/BV1mW411i7Qf?p=106 tab Automatic completion if you want to switch paths, such as cd Desktop Can enter cd Des tab Key automatic completion Direction keys up and down can automatically the previous command clear Clear screen whoami View current login user 1.1 doc ...

Added by infomamun on Sun, 06 Mar 2022 11:50:09 +0200

Binary installation Kubernetes (k8s) v1 23.4 ---

6.k8s component configuration (different from point 4)All k8s nodes create the following directoriesmkdir -p /etc/kubernetes/manifests/ /etc/systemd/system/kubelet.service.d /var/lib/kubelet /var/log/kubernetes6.1. Create apiserver (all master nodes)6.1.1master01 node configurationcat > /usr/lib/systemd/system/kube-apiserver.service << ...

Added by pranav_kavi on Tue, 01 Mar 2022 05:51:45 +0200

[RabbitMQ series that laymen can understand] - dead letter queue of RabbitMQ advanced (including video demonstration service and service code)

preface Congratulations to all the friends who read this article for successfully unlocking the advanced features of RabbitMQ series Contents of dead letter queue ๐ŸŽ Through this article, you will clearly understand: what is dead letter? What is a dead letter queue? How to use the dead letter queue? etc. ๐Ÿ˜„ Finally, Xiaoming will he ...

Added by billcoker on Mon, 28 Feb 2022 02:39:48 +0200

[CentOS] install HBase components

Preparation environment: Hadoop fully distributed cluster environmentHBase installation package: https://archive.apache.org/dist/hbase/ 1. Unzip HBase installation package Upload local installation package: Unzip and rename: Back to top 2. System environment variable configuration Configure the environment variables a ...

Added by ManOnScooter on Fri, 25 Feb 2022 12:06:45 +0200