Summary of the basic process of pushing h264 stream aac stream by android librtmp

Summary of basic process of pushing h264 stream aac stream by android librtmp 1. x264 initialization configuration Note: I stepped on some pits here, and removed pps and sps from nal in the process of rtmp pushing. Only one nal slice was allowed in a frame. Previously, the test initialization parameters of x264 failed to notice this problem, ...

Posted by rReLmy on Sat, 22 Dec 2018 17:36:12 -0800

LNMP centos7 install php7.3 nginx 1.4 deploy and install wordpress

lnmp environment, php and nginx are installed on a machine, mysql is a separate server. Install php7.3 download wget https://downloads.php.net/~cmb/php-7.3.0beta1.tar.gz tar -zxvf php-7.3.0beta1.tar.gz useradd -s /sbin/nologin php-fpm Compile ./configure –prefix=/usr/local/php –with-curl –with-freetyp ...

Posted by gckmac on Sat, 22 Dec 2018 04:09:06 -0800

CentOS+Docker+Mysql+Gerrit+Nginx configuration

Software environment: CentOS 7.0 Docker 18.06.0-ce Following is the docker image Mysql 5.7 Gerrit 2.15.3 Nginx 1.15.2-alpine Assume that the current server ip address is (all three software are on the same server) 192.168.0.1 Note: When using docker image, it is strongly recommended to fix the mirror version number o ...

Posted by voltrader on Fri, 21 Dec 2018 21:51:05 -0800

Linux Cluster Keepalived-Nginx High Availability Cluster Architecture, Load Balancing Cluster, LVS Algorithms, NAT Model LVS Architecture

1. Introduction to Linux Cluster linux cluster functions can be divided into: HA high availability, load balancing. High Availability: There are two machines, one for the main work and one for the redundant backup. When the main machine goes down, the redundant machine will take over and continue to provide services. Open ...

Posted by BigTime on Thu, 20 Dec 2018 19:33:05 -0800

Keepalived+Nginx+Redis+Tomcat for High Availability web Load Balancing

I. System Environment Operating System: CentOS 7 tomcat 8.0.47 Nginx 1.12.2 Redis 4.0.2 192.168.124.128 tomcat1+Nginx+Redis 192.168.124.130 tomcat2 Specific how to install these software, here is no longer introduced, please go online to find information. After installation, modify the port number of tomcat 2. If th ...

Posted by roice on Thu, 20 Dec 2018 17:48:05 -0800

linux Learning Chapter 59: LVS DR Model Building, Keeping Alived LVS

Construction of LVS DR Model Dead work Three machines Distributor, also known as dispatcher (abbreviated as dir) The gateway of the previous rs machine needs to be changed back 85.132 rs1 85.129 rs2 85.128 vip 85.200 DR Model Building Write the script vim/usr/local/sbin/lvs_dr.sh on dir The contents ...

Posted by bundyxc on Wed, 19 Dec 2018 22:30:05 -0800

Ansible uses jinja2 to manage configuration files and jinja2 syntax profiles

Introduction to Jinja2 Jinja2 is a python-based template engine with functions similar to smarty in PHP, Freemarker and velocity in J2ee. It can fully support unicode, and has an integrated sandbox execution environment, which is widely used. Jinja2 uses BSD authorization The syntax of Jinja2 is composed of variables and stat ...

Posted by mutedgirl on Tue, 18 Dec 2018 21:27:04 -0800

CentOS 7 Installs Fail2ban+Firewall to Prevent SSH Blasting and C C Attack

Explanation: Almost many bloggers will encounter the situation of being attacked by CC and exploded by SSH. At this time, we need to take defensive measures. A few days ago, we sent a script to prevent CC. https://www.moerats.com/archives/484/ However, for CentOS 7, because of the firewall factors, it is still a bit troublesome ...

Posted by RCS on Tue, 18 Dec 2018 16:54:04 -0800

Doker Actual Warfare 2 (Application of Doker Swarm, Construction of Doker Cluster, Creation and Update of Deployed Services in Doker Cluster)

Preface: In the past, I wrote a tutorial about the creation of docker cluster, but it is not deep enough. It just stays on the initialization of the cluster and the joining of nodes. This time, it is specific to the service and explains the principle in detail. And it summarizes a lot of pits that we have trampled in the process of doing it o ...

Posted by DavidT on Sat, 15 Dec 2018 21:18:04 -0800

Construction of Tencent Cloud Server (centos 7.4) Nginx+php+mysql+jdk+tomcat environment

Apply for Tencent cloud server, personal real-name certification can be free trial for 15 days. Install Nginx+php+mysql+jdk+tomcat based on CentOS 7.4. Connect cloud services with putty terminals locally and integrate web Environment step 1. Download and install putty. There are many tools in putty, such as putty.exe, which ...

Posted by pspcrazy on Fri, 14 Dec 2018 21:36:03 -0800