ubuntu18安装composer

2018-09-30 09:45:55 xhs
sudo apt update sudo apt install curl php-cli php-mbstring git unzip 失败了 php -v 因为我装的是php7.3,,所以装php的扩...

php-fpm和nginx的reload、restart的区别

2018-04-20 21:39:57 xhs
php-fpm和nginx的 reload、restart的区别 reload ...

php报错Unable to create lock file: Bad file descriptor (9)

2018-10-09 21:45:38 xhs
Tue Oct 9 21:44:29 2018 (23730): Fatal Error Unable to create lock file: Bad file descriptor (9) 原因: tm...

常用的Linux命令

2017-10-08 00:12:35 xhs
常用的Linux命令,备查,欢迎在评论区与我分享! #测试网络 echo "" | telnet 192.168.3.97 11218 # 搜索排除注释 grep -E "^$|^#" -v grep.t...

常用vim命令

2018-06-22 09:27:51 xhs
#去重 :sort :g/^\(.\+\)$\n\1/d #粘贴格式问题 :set paste #不要折行显示 :set nowrap 有利于竖向编辑 1. 复制到缓存器 "ayy 表示...

ubuntu18 php7.3 安装symfony4.1

2018-10-15 08:53:38 xhs
xhs@xhs:~$ sudo composer create-project symfony/website-skeleton symfony_web [sudo] password for xhs: D...

debian安装openrestry

2018-05-29 20:54:23 xhs
apt-get install libpcre3-dev libssl-dev perl make build-essential curl cd /root/openresty-1.13.6.2 ....

docker学习笔记

2018-07-13 15:56:32 xhs
docker run ubuntu echo hello docker docker pull nginx #本地的8080端口映射到容器的80端口 docker run -p 8080:80 -d ngi...

openresty重启失败

2019-03-20 11:21:03 xhs
[root@to8to nginx]# systemctl status openresty.service ● openresty.service - SYSV: OpenResty is a scalabl...

AttributeError: module 'threading' has no attribute 'Thread'

2019-05-18 14:24:00 xhs
运行报错 AttributeError: module 'threading' has no attribute 'Thread' 原来是我的文件名叫做threading.py,所以import的就是本文件 ...