June 2017
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

Categories

June 2017
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

Tomcat+Nginx+Memcached

?Tomcat+Nginx+Memcached

??Ubuntu 16.04 64 bit test pass

??Movement classification, load balancing, clustering, Javolution serialized, high-performance, high availability

Configuration environment (both current latest stable version): ??the JDK-Linux-x64-8u131 ??the Apache-Tomcat-8.5.14 ??nginx-1.12.0 ??memcached-1.4.36

EDITORIAL:

??Originally intended configuration kryo serialization framework, but also how to get unsuccessful, with only a Javolution ??If the last unsuccessful general problems will find […]

ActiveMQ standalone installation and use tutorial

ActiveMQ standalone installation and use tutorial

First of all, simply introduce the MQ, MQ English name MessageQueue, Chinese name is that we use the message queue, why use it, that white is a message to accept and forward the container can be used for message push.

ActiveMQ is produced by Apache, one of the most […]

Tomcat starts with slow optimization methods

Tomcat starts with slow optimization methods Tomcat started today and found that the start is very slow, take a few minutes, the problem worthy of attention, so go to view the log, found that time is caused by a random number caused by the problem. Tomcat Session ID calculated by SHA1 algorithm, the time to […]

CentOS 6.8 to compile and install LNMP Brief

CentOS 6.8 to compile and install LNMP Brief

deas: According to information systems and Linux systems company’s Web site, select the appropriate installation package for installation

First, view system information

# Uname -a # View kernel /operating system /the CPU information # Head -n 1 /etc/issue # view the operating system version # Grep MemTotal […]

Red Hat Enterprise Linux installation at 7.3 Nginx

Red Hat Enterprise Linux installation at 7.3 Nginx

I. Introduction

Nginx ( “engine x”) is a by Russian designer Igor Sysoev procedures developed high-performance Web server and reverse proxy, also a IMAP / POP3 / SMTP proxy server. In the case of high concurrent connections, Nginx Apache server is a good substitute.

Second, prepare

1, […]

Keepalived Nginx Dual Primary High Availability Load Balancing Cluster

Keepalived Nginx Dual Primary High Availability Load Balancing Cluster

Purpose of the experiment: Use keepalived to implement Nginx’s dual main high availability load balancing cluster.

Experimental environment: two Nginx proxy (two main Nginx, each need two NIC, eth0 connection network, eth1 connected to the external network), two web server (request load balancing), a client used […]

MongoDB replication set settings Replication Sets

MongoDB replication set settings Replication Sets

Master-Slave Master-slave replication: -master only need to add a parameter when a service starts, while another service plus -slave and -source parameters, you can achieve synchronization.

The latest version of MongoDB is no longer recommended for this program.

Replica Sets replication set: MongoDB version 1.6 for developers of new […]

Linux to achieve SSH password-free remote access server

Linux to achieve SSH password-free remote access server

Description

Usually use SSH login remote server, you need to use the input password, hoping to achieve through the key login and exemption from the input password, which can be achieved for the future batch automatic deployment of the host to prepare.

The environment is as follows:

[…]

MariaDB Galera Cluster deployment

MariaDB Galera Cluster deployment (how quickly deploy MariaDB cluster)

MariaDB is a branch of Mysql, has been widely used in open source projects, such as hot openstack, therefore, in order to ensure high availability of services, while increasing the load capacity of the system, clustered deployment is essential.

MariaDB Galera Cluster Introduction

MariaDB MariaDB […]

CentOS 6.9 compile and install Nginx1.4.7

CentOS 6.9 compile and install Nginx1.4.7

[root@rmohan.com ~]# yum install -y openssl [root@rmohan.com ~]# service iptables stop iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Flushing firewall rules: [ OK ] iptables: Unloading modules: 2. Download nginx source package to a local

[root@rmohan.com ~]# ll nginx-1.4.7.tar.gz -rw-r–r–. 1 root root 769153 Jun […]