Tag : apache

After receiving a friend’s help, he now faces a difficult problem. Even for the newly-recruited company, the project does not have GIT, and the old version of TP,CI, code is also very messy, and the catalog is also very many. some of the missing items are stored on the server, and nearly 30G of the ..

Read more

docker run -d -p 80:80 -p 3306:3306 -v /home/www:/app -v /home/mysql:/var/lib/mysql tutum/lampThe service can be started docker run -i -t tutum/lamp /bin/bash docker commit {id} test/lamp docker run -d -p 80:80 -p 3306:3306 -v /home/www:/app -v /home/mysql:/var/lib/mysql free/lampUnable to start service My goal is to modify the configuration of tutum/lamp so that the web service ..

Read more

Create an empty git warehouse under Apache’s htdocs git –bare init myweb.git Then access it in the browser.http://127.0.0.1/myweb.git/Confirm that the document can be seen. But under the git command line, use git clonehttp://127.0.0.1/myweb.gitBut he made a mistake fatal: repository ‘http://127.0.0.1/myweb.git/‘ not found Why is this? It should not be a question of permissions. clone only ..

Read more

The picture shows the display branch problem of git and svn in terminal prompt. However, I am using git-svn now. if all displayed words are git’s branch, is there any way to prompt me in prompt that this branch uses git-svn mode? ? You can refer to this problem on stackoverflow: How to tell if ..

Read more

As shown in the figure, I wrote a redis connection pool with golang’s redigo library and simulated 10,000 concurrent read operations with ab test. However, redis refreshed info, the number of connections was always 2, and only 4 was displayed at most. However, there were more than 60 connections using write operations, and netstat-ano showed ..

Read more

CustomLog “| /usr/local/apache/bin/rotatelogs /data/wwwlogs/access_%Y%m%d.log 86400 480” combined The configuration file settings are as above But restarting apache-generated files looks like this. It is not generated by day, but only after a few days.Another point is that today’s date is the 13th, and the latest one generated by him is the 8th. I checked the server’s ..

Read more