curl website development guide
curl It is a command-line tool that sends out network requests and then retrieves and extracts data that is displayed on stdout.
It supports a variety of protocols. Here's an example of how to use it in website development.
1. Viewing Web Source Code
You can see the source code of the web page by adding the web address directly after the c ...
Posted by fred12ned on Sun, 09 Jun 2019 14:35:19 -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
Deep answer for you how to avoid the domain name being blocked by WeChat. What issues should we pay attention to in the domain name envelope of WeChat?
It is common for domain names to be blocked from sharing promotions in WeChat. Recently, many friends have left messages to me on various forums and blogs asking if I have a solution. Actually, there is no need to ask. There must be a solution.To take the simplest example, our company recently pushed a batch of web advertising links in WeChat, ...
Posted by papapax on Wed, 29 May 2019 09:17:47 -0700
Compile and install php5.6.5 under CentOS 6.5 (64-bit)
Download the relevant installation packages
2. Install compiler tools and library files using yum command
Three Starts of Installation
Install yasm
Install libmcrypt
Install libvpx
4 install tiff
5 Install libpng
6 Install freetype
7 install jpeg
8 install libgd
9 install t1lib
10 install php
11 configure nginx to support php
I. ...
Posted by n00b Saibot on Wed, 29 May 2019 05:36:56 -0700
Implementation of JS SDK Based on Vue Wechat Public Number
Get ready
First of all, we should see clearly the authorization of Wechat Web pages. Official documents Every step, then my demo is a small project based on vue, backstage is the Slim framework of php. Since the official documents are so complete that I can hardly read them at the time of development, I will try to say as little as possible in ...
Posted by Gabriel_Haukness on Wed, 29 May 2019 04:28:29 -0700
New features of PHP7
From http://blog.csdn.net/fenglailea/article/details/52717364
PHP7.0
New features
1. Empty merge operator (??)
Simplify Judgment
$param = $_GET['param'] ?? 1;
Amount to:
$param = isset($_GET['param']) ? $_GET['param'] : 1;
2. Variable type declaration
Two modes: mandatory (default) and strict
Types: string, int, float, and bool
...
Posted by Hitch54 on Sat, 25 May 2019 10:50:55 -0700
Redis Cluster Simple Setup and Use
Environment: A Linux Virtual Machine
Redis version: redis-4.0.1
1. Download and decompress
cd /opt/redis
wget http:http://download.redis.io/releases/redis-4.0.1.tar.gz
tar -zxvf redis-4.0.1.tar.gz
2. Compile and Install
Be sure to enter the decompression directory and use the command make, or you will report an error: make:* No targets ...
Posted by salathe on Fri, 24 May 2019 12:08:46 -0700
Elastic search of ELK architecture
ELK is the acronym for three software products: Elastic search Logstash Kibana
Elasticsearch
Responsible for log retrieval and storage
Logstash
Responsible for the collection, analysis and processing of logs
Kibana
Responsible for visualization of logs
Uses: Distributed log data centralized query and man ...
Posted by EcLip$e on Sun, 19 May 2019 01:48:47 -0700
Keeping alived to achieve high availability of services
Chapter 1 keepalived service description
1.1 What is keeping alived?
Keepalived software was originally designed for LVS load balancing software to manage and monitor the status of each service node in the LVS cluster system. Later, it added VRRP function to realize high availability. Therefore, besides managing LVS software, Keepalived can a ...
Posted by jmicozzi on Fri, 17 May 2019 15:17:37 -0700
Jenkins Jenkinx-client Curl operation jenkins
There are two ways for Jenkins to call Java remotely, one is REST API, the other is to use jenkins-client.
Reference link: https://www.cnblogs.com/zjsupermanblog/archive/2017/07/26/7238422.html
Implementation of jenkins-client
The bottom layer of jenkins-client is implemented by sending post requests using HttpClient HttpPost, which encapsulate ...
Posted by Jpauls104 on Fri, 17 May 2019 14:27:57 -0700