Java implementation converts txt file to xls file

Recently, the project uses the conversion of txt file and xls file. Here are the specific ideas. Next, use java code to convert txt to xls. Here, use the jxl.jar Package, which is a tool class library for operating Excel tables through Java. The jar package supports font, number and date operations, can modify cell at ...

Posted by Harbinger on Wed, 03 Jun 2020 09:31:15 -0700

Getting started with kubernetes and going into the real world

Write before The previous series of articles have introduced the architecture, installation, upgrade and quick start of kubernetes. Readers have a preliminary understanding of kubernetes through the implementation of this article. Starting from this chapter, the basic concepts and core concepts of kubernetes are gradually introduced, including ...

Posted by ahmed17 on Tue, 02 Jun 2020 05:32:28 -0700

Modify the network card name in linux

How to modify the network card name in linux Use the ip add or ip link command to view the network interface details [root@centos6 ~]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet ...

Posted by detalab on Mon, 01 Jun 2020 08:46:58 -0700

Implement LNMP architecture, deploy WordPress and configure NGINX virtual host

1. Compile and install LNMP and wordpress 1.1 install PHP, php mysql, mysql, PHP FPM [root@c1 ~]# yum install php php-mysql ngnix mariadb-server php-fpm -y 1.2 compile and install nginx 1.2.1 installation dependency package [root@c1 nginx]# yum install gcc pcre-devel openssl-devel zlib-devel -y 1.2.2 creating nginx users [root@c1 ~]# useradd ...

Posted by murali on Mon, 01 Jun 2020 07:59:42 -0700

LVS load sharing (NAT mode) infrastructure

1. NAT mode topology and working principle There is a scheduler in front of a group of servers, which are connected through Switch/HUB. These servers provide the same network service and content, that is, no matter which server the request is sent to, the execution result is the same. The content of the service can be copied to the local hard d ...

Posted by Archadian on Mon, 01 Jun 2020 01:52:51 -0700

Three ways to check the normal running time of MySQL/MariaDB database on Linux - Zhihu

Each service has its own command to check the uptime of the service. But you can also use other commands for this. Source: https://linux.cn/article-12263-1.html By Magesh Maruthamuthu Translator: geekpi We all know the purpose of using the uptime command in Linux. It is used for checking Linux system uptime And the time s ...

Posted by kevinritt on Fri, 29 May 2020 17:56:15 -0700

Opencv + nginx RTMP module for image streaming

This scheme realizes RTMP streaming after single frame image processing Reference resources Nginx and nginx RTMP module building RTMP video live and on demand servers,<jkuri /opencv-ffmpeg-rtmp-stream>,Compiling and installing ffmpeg under Linux (modification - simple and complex final version) Setting up nginx server download ngin ...

Posted by naskar on Fri, 29 May 2020 09:06:38 -0700

Spring boot configures modular Services - one configuration is used everywhere

Configuring the service module is a bit like the configuration center, but the function is not so powerful for the time being. Later, the source address will be updated after improvement. catalog Project function introduction Project core configuration code Environment configuration Hidden configuration of MVC static resources Project f ...

Posted by lmg on Fri, 29 May 2020 07:21:25 -0700

Linux system CentOS 6.9 x64 configures jdk and MySQL 8.0 environment and grants MySQL remote access

Blogger server version and installed jdk and mysql versions: System: CentOS 6.9 jdk: jdk1.8_221 MySQL: mysql8.0.20 Relevant files needed in the configuration process (click to download from Baidu cloud): jdk: jdk-8u221-linux-x64.tar.gz (extraction code: kkp7) mysql: mysql-8.0.20-1.el6.x86_64.rpm-bundle.tar (extraction code: 0pvh) Softwar ...

Posted by daydreamer on Tue, 26 May 2020 23:56:40 -0700

corosync v1 + pacemaker high availability cluster deployment

corosync v1 + pacemaker Corosync: an open cluster engine project derived from the development of OpenAIS to Wilson, which provides heartbeat message detection and member management. Pacemaker: cluster explorer. It uses the message and member management capabilities provided by the cluster infrastructure (OpenAIS, heartbeat or corosync) to dete ...

Posted by ryanpaul on Tue, 26 May 2020 22:53:30 -0700