First look at a program:
int value = 0;
int main(int argc, char **argv)
Now I want to debug it step by step and track the change of value. How can I do it?
You can use gdb. But if you want to understand what's going on behind the scenes, it's better to do it b ...
Posted by yshaf13 on Thu, 04 Jun 2020 08:24:06 -0700
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
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
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
Posted by detalab on Mon, 01 Jun 2020 08:46:58 -0700
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
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
Each service has its own command to check the uptime of the service. But you can also use other commands for this.
By Magesh Maruthamuthu
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
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
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.
Project function introduction
Project core configuration code
Hidden configuration of MVC static resources
Project f ...
Posted by lmg on Fri, 29 May 2020 07:21:25 -0700
Blogger server version and installed jdk and mysql versions:
System: CentOS 6.9
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)
Posted by daydreamer on Tue, 26 May 2020 23:56:40 -0700