Linux:修订间差异

跳转到导航 跳转到搜索
 
(未显示1个用户的3个中间版本)
第7行: 第7行:
* [[https://geoff.greer.fm/ag/ ag]] The Silver Searcher代码搜索工具
* [[https://geoff.greer.fm/ag/ ag]] The Silver Searcher代码搜索工具
* [[https://github.com/yaosonglive/vim .vimrc]] vim制表符换成控制配置
* [[https://github.com/yaosonglive/vim .vimrc]] vim制表符换成控制配置
 
* aview 从图片生成 ASCII 字符画,命令:asciiview
** $ sudo apt install aview
** $ sudo apt install imagemagick


== Nginx ==
== Nginx ==
第88行: 第90行:
== nginx fpm connect() to unix:xxx failed. http 502 ==
== nginx fpm connect() to unix:xxx failed. http 502 ==
https://forum.nginx.org/read.php?11,215606,215606#msg-215606
https://forum.nginx.org/read.php?11,215606,215606#msg-215606
1)调高nginx和php-fpm中的backlog
2)增加sock文件和php-fpm实例数




第107行: 第113行:


开多个fpm
开多个fpm
== 终端中文输入 ==
* ubuntu
locale-gen zh_CN.UTF-8
dpkg-reconfigure locales
== ubuntu 阿里云源 ==
ubuntu 18.04 (bionic) 配置 opsx 安装源
https://opsx.alibaba.com/guide?lang=zh-CN&document=69a2341e-801e-11e8-8b5a-00163e04cdbb