Cassandra database installation and deployment

Installation version cassandra-3.11.4 System version more /etc/redhat-release CentOS Linux release 7.6.1810 (Core) Dead work Cassandra database is based on Java platform, so it can run in many operating systems that support Java technology, and it can start working with very little disk space and available memory. For the applications describe ...

Posted by gabe on Wed, 12 Jun 2019 16:46:55 -0700

PHP vscode+XDebug remote breakpoint debugging server code

Reference link https://www.cnblogs.com/ryanzheng/p/10575790.html Five years of intermittent php, debug is only on the development machine in the early stage, never debug in the mid-term. What's wrong with var_dump? Now we have a problem with fpdf, but we have to debug server. I just recorded the problems I encountered, basically in accordance w ...

Posted by spyder on Wed, 12 Jun 2019 11:53:46 -0700

Hadoop Programming Tour I

Configure the programming environment on Hadoop and test sample run Pre-preparation: Hadoop runs successfully"Hadoop" Installation of the Sixth Bullet from Zero - Brief Bookhttp://www.jianshu.com/p/96ed8b7886d2 Install the Linux version of eclipseeclipse-jee-mars-2-linux-gtk-x86_64.tar.gzUse tar command to decompress under Linux, ...

Posted by haynest on Sun, 09 Jun 2019 18:28:54 -0700

Spring Dynamic Data Source + Mybatis Interceptor for Database Read-Write Separation

In the project encountered a need to do read-write separation scenario. For old projects, to minimize code intrusion and achieve read-write separation at the bottom is crashing. There are two main points in the technology used: spring dynamic data source mybatis interceptor spring dynamic data source In the case of multiple data sources, spri ...

Posted by thatsme on Sat, 08 Jun 2019 16:38:19 -0700

Save Files to Mobile Memory

MainActivity.java package com.example; import java.util.Map; import com.example.service.loginService; import android.support.v7.app.ActionBarActivity; import android.text.TextUtils; import android.util.Log; import android.os.Bundle; import android.view.View; import android.widget.CheckBox; import android.widget.EditText; import android.wid ...

Posted by Rony on Sat, 08 Jun 2019 16:18:38 -0700

Single, Completable and Maybe in RxJava

Maybe tomorrow.jpeg Usually, if we want to use RxJava, the first thing we think about is using Observable. If we want to consider the situation of Backpress, we will use Flowable in the RxJava 2. x era. In addition to Observable and Flowable, there are three types of Observables in RxJava 2.x: Single, Completable, and Maybe. type describe ...

Posted by krystof78 on Sat, 08 Jun 2019 12:32:22 -0700

Struts2 Learning: Use of interceptor

For websites that require login validation, privilege validation and other functions, each action writes a piece of validation code for each request, which is redundant and difficult to maintain.Strts2 provides interceptors to provide a facet, or common component, for these pages for easy maintenance and code reuse.There are many default interc ...

Posted by p2003morris on Sat, 08 Jun 2019 10:22:18 -0700

Alberta Linux 44th Lecture Apache Log Management (Optimization)

11.22 Access log does not record static files Edit the virtual host configuration file "httpd-vhosts.conf": [root@adailinux ~]# vim /usr/local/apache2.4/conf/extra/httpd-vhosts.conf ...... <VirtualHost *:80>     DocumentRoot "/data/wwwroot/111.com"     ServerName 111.com     ServerAlias www.example.com     <IfModule mod_rewri ...

Posted by ikebaldo on Sat, 08 Jun 2019 10:16:03 -0700

Source Compile Install Apache - Attach One-Click Deployment Script

1. Enter apache's website at https://www.apache.org/, click Download 2. Select as shown 3. Select httpd 4. Download two packages, 2.2 for CentOS6 and 2.4 for CentOS7 1. CentOS6 1. Enter the command rz and a dialog box will pop up to transfer the windows file to linux. 2. In the pop-up dialog box, select Package--->Add--->OK.Be caref ...

Posted by azurian on Fri, 07 Jun 2019 11:47:49 -0700

Recording the process of troubleshooting on-line

Background: After the completion of the new function development test, we are ready to launch. When the third machine is released, the monitoring shows that CPU of one machine suddenly soars to 300%, the number of active threads of Dubbo directly soars to 1000+, so we have to stop publishing, immediately roll back the problem machine, and retur ...

Posted by meigwil on Thu, 06 Jun 2019 13:30:25 -0700