Logstash & Real-time analysis of Web logs | Cloud computing
1. Install Logstash
1.1 problems
This case requires:
Create a virtual machine and install logstashMinimum configuration: 2cpu, 2G memory, 10G hard diskVirtual machine IP: 192.168.1.47 logstash
1.2 steps
To implement this case, you need to follow the following steps.
Step 1: install logstash
1) Configure the host name, ip and yum so ...
Posted by Rose.S on Wed, 05 Jan 2022 10:09:34 +0100
Understanding environment variables
catalogue
I Basic concepts
1. Common environment variables
II command
1. How to view environment variables
2. Other relevant directives
3. Test PATH
III Organization of environmental variables
IV Get environment variables through code
V Get environment variables through system call
Vi Environment variables usually have global attribut ...
Posted by kwong on Wed, 05 Jan 2022 08:41:04 +0100
Understanding linux network namespace
network namespace is an important function provided by linux kernel to realize network virtualization. It can create multiple isolated network spaces. The firewall, network card, routing table, neighbor table and protocol stack in an independent network space are independent. Whether it is a virtual machine or a container, when running in a sep ...
Posted by toivo on Wed, 05 Jan 2022 08:15:46 +0100
Redhat7.6. Build LAMP environment
Turn off firewall and selinux #
systemctl stop firewalld
systemctl disable firewalld
Disable Selinux
vim /etc/selinux/config
Change to disabled
SELINUX=disabled
Note: the above configuration takes effect only after restart, so it is necessary to temporarily close selinux firewall
setenforce 0
Install Apache #
yum -y install httpd
Start A ...
Posted by msgcrap on Tue, 04 Jan 2022 22:53:11 +0100
Upgrade the website running platform & deploy the cache service & migrate data | Cloud computing
1. Upgrade the website operation platform
1.1 problems
The specific configuration is as follows:
Clear current configurationDeploy LNMPTest configuration
1.2 steps
To implement this case, you need to follow the following steps.
Step 1: clear the current configuration
1) Stop Web Service
[root@web33 ~]# /usr/local/tomcat/bin/shutdo ...
Posted by britt15 on Tue, 04 Jan 2022 22:26:17 +0100
Build QQ robot Linux deployment robot based on Nonebot2
Through the contents of the first two chapters, I believe we can write simple plug-ins to complete some functions of QQ robot. But because it is running on your own computer, when you close go cqhttp or stop bot When py is running, it will stop the robot. So how can we keep the robot working? That is to deploy our code and go cqhttp on the ...
Posted by CoderDan on Tue, 04 Jan 2022 21:39:51 +0100
30 day self-made C + + server day13-C + + engineering and performance optimization
In the previous tutorial, we have completely developed the core architecture of a master-slave Reactor multithreaded server. The next development focus should shift from architecture to details. Before that, it is necessary and necessary to modernize and engineer the whole project.
The first step in C + + project engineering must be to use CMa ...
Posted by hukadeeze on Tue, 04 Jan 2022 20:56:27 +0100
RH358 configuring MariaDB SQL database -- installing MariaDB database
RH358 configuring MariaDB SQL database – installing MariaDB database
Chapter 7 introduces how to configure the database MariaDB. Although it is not deep enough, it is a good start for beginners. It is a more practical chapter in 358 course.
1. Describe the importance of relational databases
Relational databases store structure ...
Posted by synstealth on Tue, 04 Jan 2022 18:40:02 +0100
Path to the file system mount point
1. About pathname lookup
1.1 treatment process
VFS pathname lookup, that is, how to export the corresponding inode from the file pathname. This process can be briefly described as: check the directory entry matching the first name to obtain the corresponding index node. Then, read the directory file containing that inode from the disk, and ch ...
Posted by plisken on Tue, 04 Jan 2022 17:03:28 +0100
Linux software management - yum tools
Linux software management - yum tools
yum basic overview
What is yum
yum is the package manager in RedHat and CentOS. It can download and install packages ending in rpm through the Internet, and can automatically handle dependencies without cumbersome downloading and installing again and again.
1. Get software online 2. RPM based manage ...
Posted by morgann7 on Tue, 04 Jan 2022 16:11:56 +0100