First, let's talk about the Unix domain protocol.
The Unix domain protocol is not an actual protocol family. It only communicates with a client-server on the same host, one method of using the same API (set interface or xTi) as communication
Struct sockaddr {Unsigned short sa_family;/* address family, af_xxx */Char sa_data [14];/* 14 bytes of Protocol address */};Sa_family is the address family, generally in the form of "af_xxx. It seems that af_inet is commonly used.Sa_data is a
Php-fpm.conf
The editor configures the FPM configuration file as a php-fpm.conf when loading... runtime, and its syntax is similar to php. ini. Position of the pid stringPID file in the php-fpm.conf global configuration segment. the default value is
PHP Network Functions Overview
checkdnsrr-DNS traffic checks for the specified host (domain name) or IP address
closelog-Turn off System log links
define_syslog_variables-Initialize all syslog-related variables
DNS_CHECK_RECORD-CHECKDNSRR
# Whether to run subsequent processes. The default value is "no". If you want to run a later process, change it to "yes ".
Daemonize No
# If a later process runs, you need to specify the PID where you can customize the location of the redis. PID
Memcached is a high-performance distributed memory object caching system that can be used to store data in a variety of formats, including images, videos, files, and database retrieval results, by maintaining a unified, huge hash table in memory.
The slow query log is used to optimize the query statement, the following are several parameters, 5.5 can be later to the subtle (MS)Mysql> Show variables like '%slow% ';+---------------------------+-------------------------------+| variable_name |
Manage memcached Services
Start memcached
In general, you can start the memcached service simply by using a form similar to the following:/usr/local/bin/memcached-d-192.168. 1024-p/usr/local/memcached/memcached.pid The above
"This Tutorial directory"
What's 1.redis?The author of 2.redis, who also3. Who is using Redis4. Learn to install Redis5. Learn to start Redis6. Using the Redis Client7.REDIS Data Structure-Introduction8.REDIS Data Structure –strings9.REDIS Data
To put it simply, it is easy to install the software yum and will automatically resolve the dependencies of each package. RPM is just a package.
CentOS to install MySQL5.5 in RPM mode
First go to the
PHP's website: http://php.netPHP5 version of the Discuz this forum support parsing, there is good compatibility, but in PHP7 and later versions of Discuz This forum is not compatible, PHP7 may also be some related software compatibility is not very
Nginx's Httpupstreammodule provides simple load balancing for back-end (backend) servers. One of the simplest upstream is written as follows:Server backend1.example.com;Server backend2.example.com;server.backend3.example.com;Location/{Proxy_pass
Directory
Nginx+uwsgi+django Deploying a Web server
Environment description
Objective
Building projects
Django Deployment
Editluffy/luffy/settings.py
Editluffy/app01/views.py
First, start Apache
There are two ways of
1, open the network share
Open "System Preferences"-> "sharing" and tick before "Internet sharing".
2, open the terminal, input
sudo apachectl start
Then you need to enter a password, enter
To agree on several directories
yusr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.ini
Startup parameters for PHP-FPM
#测试php-FPM
This article mainly introduced the PHP network Operation function Summary, this article has enumerated such as GETHOSTBYADDR, gethostbyname, Header_remove, Http_response_code, Ip2long and so on network frequently uses the function, Need friends can
In order to optimize the Oceanbase query timeout setting way, special research mysql about timeout processing, the record is as follows.
Copy Code code as follows:
Mysql> Show variables like '%time% ';
+----------------------------+----
checkdnsrr-DNS traffic checks for the specified host (domain name) or IP addresscloselog-Turn off System log linksdefine_syslog_variables-initialization of all syslog-related variablesDNS_CHECK_RECORD-CHECKDNSRR AliasDNS_GET_MX-GETMXRR
In Nginx, the four-tier data is called the stream, and the modules related to the four-tier agent are mainly:
Ngx_stream_core_module: The basic function module of four layer agentNgx_stream_upstream_module: Four-tier agent forwarding to upstream
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.