Deployment and application of Cacti monitoring platform

brief introduction Cacti is a software implemented in php language. Its main function is to obtain data through snmp service, then use rrdtool to store and update data. When users need to view data, use rrdtool to generate charts and present them to users. So the key of cacti is snmp and rrdtool. snmp ...

Posted by mem0ri on Tue, 09 Jun 2020 04:54:13 +0200

Powerful one click deployment website architecture tool Oneinstack

Oneinstack basic use Oneinstack 1. Features of Oneinstack: 2. Oneinstack open source software version 3. Deployment and installation of oneinstall 3.1 download oneinstall 3.2 decompression and installation 3.3 operation install.sh Official website explanation chart: 3.4 installation process diagram ...

Posted by linda thomas on Sun, 07 Jun 2020 08:30:41 +0200

Source configuration PHP7.4

1, php Installation Preparation Environment System: CentOS Linux release 7.7.1908 PHP: php-7.4.6 2, Install PHP dependency package yum install gcc libxml2 libxml2-devel openssl openssl-devel bzip2 bzip2-devel libcurl libcurl-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel gmp gmp-devel libmcrypt libmcrypt-devel rea ...

Posted by Pyrite on Thu, 21 May 2020 17:55:26 +0200

Web development, only JS can complete the development of Express query API interface

Some netizens left a message saying that they want to call the express bird API interface to realize Express query, but they don't understand the back-end development, JAVA, PHP, C and python. They asked me if I could realize express interface query, and I said what would you do, he said, I only know a little JS, I replied that it's enough. No ...

Posted by itbegary on Tue, 19 May 2020 16:19:13 +0200

Three common encryption functions in PHP

PHP encryption function - md5() function encryption instance usage MD5() function is the MD5 hash value of calculator string. Using MD5 algorithm, the full name of MD5 is message digest algorithm 5. Its function is to calculate data information of different length into a 128 bit value through a series of algorithms, that is, to change a byte st ...

Posted by DavidAM on Fri, 15 May 2020 12:03:01 +0200

centos7 builds wordpress blog

Install apache yum install -y httpd Start apache systemctl start httpd Set apache to power on automatically systemctl enable httpd Access public network address to check whether apache is normal Install MySQL database wget -i http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm yum -y install mysql57-community-release-el7-10 ...

Posted by pedroteixeira07 on Mon, 11 May 2020 19:01:44 +0200

PHP uses POP3 to read mailbox and receive mail

1 <?php 2 $array_values['host'] = "host"; 3 $array_values['port'] = 110; 4 $array_values['user'] = 'user name'; 5 $array_values['password'] = 'Password'; 6 $array_values['checkmail'] = 'xxx@xxx.xxx'; 7 8 ganji_get_test_mail($array_values); 9 10 function ganji_get_test_mail($array_values) 11 { 12 $host = $array_values['host' ...

Posted by mtimdog on Thu, 07 May 2020 16:01:23 +0200

PHP-7.1.6 source compilation and installation

Explain php5 and php7 can be installed in an apache server at the same time, but only one of them can run. The other needs to comment out the corresponding LoadModule in the apache configuration file 1. Download and install [root@dl-001 src]# wget http://cn2.php.net/distributions/php-7.1.6.tar.gz [root@dl-001 s ...

Posted by cdinca on Tue, 05 May 2020 20:06:12 +0200

Android uses WeChat, Alipay and qq wallet H5 to pay.

There was a project before Android using webview to load the contents of the web page, and then adding the original function of APP. This project has the integration of WeChat, Alipay, qq wallet and other H5 payment methods. Recently, the content of the payment version has been upgraded on the webpage side, resulting in ...

Posted by fotofx on Mon, 04 May 2020 21:35:36 +0200

3, Insert sort

1. Algorithm principle Insertion sorting is to insert a data into the ordered data that has been arranged, so as to get a new ordered data with one number plus one. This algorithm is suitable for sorting a small amount of data. The time complexity is O(n^2) and the space complexity is O(1). Insertion sort is a s ...

Posted by maxmjessop on Sun, 03 May 2020 07:17:23 +0200