Common command operation of firewall of CentOS7 series
firewalld
Introduction to firewalld
firewalld is a daemon that can configure and monitor system firewall rules. It covers the settings of iptables, IP6 tables and ebtables.
firewalld features
The dynamic firewall function is realizedYou can communicate with firewalld through DBus message system to request to open the network port, so as to ...
Posted by planethax on Thu, 10 Mar 2022 15:56:19 +0100
Elasticsearch learning (Centos based installation)
Elasticsearch is a Lucene based search server. It provides a distributed multi-user full-text search engine based on RESTful web interface. Elasticsearch is developed in the Java language and released as an open source under the Apache license terms. It is a popular enterprise search engine. Elasticsearch is used in cloud computing, which can a ...
Posted by franknu on Wed, 09 Mar 2022 15:17:23 +0100
Linux server build project running environment
1. Server configuration
1. Reset the server password
After purchasing a server (take Alibaba cloud as an example), a service will be generated in the server list. Click the server to enter server management (the interface may be different for different Linux versions). The default server initialization password is empty, so you need to set a ...
Posted by bogeyman on Wed, 09 Mar 2022 08:54:08 +0100
nginx installation, security configuration and forwarding agent
Nginx installation
1. Create a new user and group ngxuser:ngxuser
groupadd ngxuser
useradd -m -g ngxuser ngxuser #-m automatically creates the home directory, - g specifies the group
2. Install dependent packages (nginx installation is installed by root user)
The two covered by red do not need to be installed
#Force all installation ...
Posted by nscipione on Tue, 08 Mar 2022 21:24:20 +0100
Deploy the SpringBoot project to the server
1, SpringBoot project environment
IntelliJ IDEA 2018.3.2Mysql 5.1
2, Tencent cloud CentOS 7.6 image server
Students can apply for Tencent cloud student exclusive, 27 yuan for three months
3, Attention
(1) XShell
Modify host namehostnamectl set-hostname master #Set to master name
View current hostnamehostname
After modifying the hos ...
Posted by hypertech on Fri, 04 Mar 2022 22:56:20 +0100
Quickly build a Centos7 Linux system (Virtual Box + Vagrant)
Install Virtual Box, Download from official website Install Vagrant, Download from official website There are multiple Linux system images in the Vagrant image warehouse. We can use Vagrant to connect to the Virtual Box and quickly install the Linux image. Mirror Box warehouse Use vagrant init centos/7 to initialize a cantos7 virtual machin ...
Posted by rawky on Fri, 04 Mar 2022 09:55:30 +0100
prometheus uses label rewriting
Previously, we have declared the targets instance to monitor and collect our node service status, as follows
However, when prometheus loads the target instance, there will be some default tags. We put the mouse over the label and it will be displayed
These tags will help us to declare how prometheus should get indicators from the targ ...
Posted by fred_belanger on Thu, 03 Mar 2022 18:19:25 +0100
Build test environment
The test environment built this time: PHP (5.5-7.0) + Apache (> 2.0) + MySQL 5 7 (Architecture) → Windows/Linux
The first step is to install the basic software through yum
Installation method: directly use after decompression; rpm file installation; yum online installation;
There is no need to configure the yum source here, becaus ...
Posted by Indersingh on Thu, 03 Mar 2022 13:00:22 +0100
Binary installation Kubernetes (k8s) v1 23.4 ---
1. EnvironmentDocuments required in the documentreference resources: https://github.com/cby-chen/Kubernetes/releases/tag/cbyHost name IP address explain Software Master01192.168.1.30master nodekube-apiserver,kube-controller-manager,kube-sch ...
Posted by php new bie on Tue, 01 Mar 2022 04:47:50 +0100
CMake actual installation test and add environment to generate installation package
1. Installation test
CMake can also specify installation rules and add tests. These two functions can be executed by using make install and make test after generating makefile. In GNU Makefile, you may need to write install and test pseudo targets and corresponding rules for this, but in CMake, such work also needs to simply call a few command ...
Posted by dev99 on Mon, 28 Feb 2022 14:05:01 +0100