linux builds php performance analysis tool
First on the renderings:
Installation environment
Centos,php7,MongoDB3,nginx
php extension
mongodb: http://pecl.php.net/package/mongodbtideways_xhprof: https://github.com/tideways/php-xhprof-extension
Install MongoDB3
By default, MongoDB2 is installed in my environment yum. xhgui requires version 3 or above.
Create a yum source for MongoDB3
vi ...
Posted by jalapena on Sat, 11 Apr 2020 17:27:35 +0200
linux compiling and installing nginx and detailed explanation of the parameters of each step
1. Environment and installation of dependent packages
[root@localhost ~]# systemctl stop firewalld && setenforce 0 #Turn off the firewall and selinux first
[root@localhost ~]# yum -y install gcc gcc-c++ #Install build environment
[root@localhost ~]# yum install -y pcre pcre-devel #Install pcre package (make nginx support http rewri ...
Posted by rupam_jaiswal on Mon, 06 Apr 2020 17:36:47 +0200
CentOS 6.5 add nginx to system service
1. introduction
After the installation of nginx source code, it will not be registered as system service by default, so you need to add system service script manually. Create a new nginx file in the / etc/init.d directory and change the permissions.
2. Create a new nginx file
vim /etc/init.d/nginx
Fill in the following (modify according ...
Posted by paul_20k on Sat, 04 Apr 2020 11:18:43 +0200
The UTF-8 coding problem of Jenkins
Jenkins is easy to get cramped sometimes. I configured the code in tomcat, which is not easy to use. I started because of the problem of nginx's reverse proxy, but later found out that Tomcat became a demon. The solution is to copy my Tomcat configuration, and then add parameters and modify on my basis.
Error screenshots
...
Posted by rfrid on Thu, 02 Apr 2020 22:30:04 +0200
windows environment installation of Openresty data
◆ 1. Download the windows version of openresty:
http://openresty.org/cn/download.html
◆ 2. Unzip to the directory to be installed (for example: unzip to the root directory of disk D):
D:\openresty-1.13.6.1-win32>dir
Driver D The volume in does not have a label.
The serial number of the volume is A25B-3CEA
D:\openres ...
Posted by heminfotech on Wed, 01 Apr 2020 23:58:25 +0200
Smokeping quick installation guide
Written in front
I thought I would never use smokeping again, but I was wrong.
According to the last use for about half a year, it's usually used once for sex and again this time. I totally forgot to clean it.
Then start
install
apt-get -y install smokeping
Configuration service
For the configuration of the Web server, refer to the above Ru ...
Posted by help_lucky on Mon, 30 Mar 2020 19:56:48 +0200
Setting method of static files on nginx cache server
1, Advantages of nginx caching
As shown in the figure, nginx caching can reduce the processing pressure of the source server to a certain extent. Because many static files (such as css, js, pictures) are not updated frequently. nginx uses proxy cache to cache users' requests to a local directory. The next same request can directly fetch the ...
Posted by acabrera on Sun, 22 Mar 2020 18:39:44 +0100
k3s service building
There is a server at home, usually used as its own development environment, running some small programs. It is planned to upgrade the server and use k3s to manage common development tools, which is convenient for your own use. Because I only have one server, there is no cluster in this article.
Quick install command
## "-- Docker" use ...
Posted by dymon on Sat, 21 Mar 2020 15:32:51 +0100
k8s-1.15 deploy kube-prometheus-0.3.0
Article directory
Deploy Kube Prometheus
Kube Prometheus project composition
Submission of resources
Modify grafana
Create directory on 32.94, create pv, pvc
Create svc of grafana MySQL
Create cm for grafana.ini
Modify the configuration in grafana deployment, add the operation of mounting configma ...
Posted by noisenet on Wed, 11 Mar 2020 11:41:02 +0100
The end of nginx configuration reverse agent and load balancing
Refer to previous articles for specific installation configuration https://blog.csdn.net/weixin_44001965/article/details/102723855
Article directory
1, Common commands for nginx operations
nginx profile
2, nginx configure reverse agent (1)
3, nginx configure reverse agent (2)
Find the nginx configura ...
Posted by johnseito on Mon, 02 Mar 2020 09:28:25 +0100