RocketMq cluster construction steps teaching package teaching package meeting

mq cluster construction I haven't written these technical articles for a while. I'll spare some time to write them today, or I'll forget them This article records the process of building rocketmq cluster, and it's also a half day's achievement record! Interested friends like to go! Well, there's not much bullshit. Let's start. This article i ...

Posted by scoppc on Thu, 07 May 2020 00:07:47 -0700

ELK Detailed Installation Deployment

1. Preface The logs mainly include system logs and application logs. Operations and developers can use the logs to understand information about hardware and software in the server, check for application or system failures, and understand the cause of the failure in order to solve the problem.Analyzing the logs gives you a clearer picture of th ...

Posted by jogisarge on Wed, 06 May 2020 21:49:08 -0700

[DNS] Ubuntu 14.04 deploy local DNS Service

1, Background In the Intranet environment, you need to install the local DNS service at many times. Take the ubuntu 14.04 64 bit operating system environment as an example to illustrate the DNS server building method. 2, Deployment steps 2.1 install bind software # apt-get install bind9 -y 2.2 edit profile A. add a custom domain name reso ...

Posted by ramas on Tue, 05 May 2020 18:03:14 -0700

Hbase API create table error record for Docker container deployment cluster

Hbase API create table error record Demo method: import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.client.Admin; import ...

Posted by spartan7 on Tue, 05 May 2020 16:37:36 -0700

Recovery linux savings: architecture building lnmp (configuration)

nginx virtual host vim /usr/local/nginx/conf/nginx.conf Add include vhost/*.conf; mkdir /usr/local/nginx/conf/vhost vim /usr/local/nginx/conf/vhost/aaa.com.conf - virtual host configuration file server { listen 80 default_server; (Yes default_serve Is the default virtual host) server_name aaa.com; (Define site name) index ...

Posted by jonahpup on Tue, 05 May 2020 14:19:09 -0700

python object oriented

1, Classes and objects Class is the reflection of the entity of the real world or the thinking world in the computer It encapsulates data and operations on it Compare a class to a template, through which many objects can be generated 2, Constructor $ vim s3.py class Student(): name = '' age = 0 def do_homew ...

Posted by kennethl on Tue, 05 May 2020 12:39:56 -0700

Nginx multisite configuration

1, Create site profile 1. Create the conf.d folder and configuration file in the nginx conf directory, assuming the site is www.a.com $ pwd /usr/local/nginx/conf $ sudo mkdir conf.d $ sudo vim conf.d/www.a.com.conf #New site profile 2. Write the following content into the www.a.com.conf file, which can be mod ...

Posted by frontlines on Mon, 04 May 2020 13:33:59 -0700

Python - modules and packages (common modules)

Modular In Python, a. py file is called a module Greatly improves code maintainability You don't have to start from scratch to write code. When a module is written, it can be referenced elsewhere vim mymod.py import mymod mymod.hello() mymod.world() package What if different people write the same module name? ...

Posted by luke101 on Mon, 04 May 2020 09:22:38 -0700

Three ways to configure Nginx virtual host (3) (based on domain name)

3. Nginx domain name based virtual host configuration Using domain name based virtual host configuration is a popular way. You can configure multiple domain names on the same IP and access them through port 80. 3.1 suppose the server has an IP address of 192.168.2.155 [root@localhost ~]# ifconfig ens33:5 192.168.2.155/24 up [root@localh ...

Posted by ginoitalo on Sun, 03 May 2020 22:23:41 -0700

iptables persistence under CentOS

iptables rule persistence Set firewall rules iptables -A INPUT -s 1.1.1.1/32 -p tcp -m tcp --dport 22 -j DROP iptables -A INPUT -s 2.2.2.2/32 -p tcp -m tcp --dport 22 -j DROP iptables -A INPUT -s 3.3.3.3/32 -p tcp -m tcp --dport 22 -j DROP iptables -A INPUT -s 4.4.4.4/32 -p tcp -m tcp --dport 22 -j DROP Save firewall rules service iptabl ...

Posted by TechGuru on Sun, 03 May 2020 22:15:49 -0700