随笔分类 - Linux/Mac OS
摘要:Homebrew 1.5 宣布放弃 homebrew/php, 转而使用homebrew/core维护, 详见https://brew.sh/2018/01/19/homebrew-1.5.0/ 于是php扩展在homebrew/php搜索不到了, 于是我重新装了homebrew/core中的php
阅读全文
摘要:iTerm 2 is a terminal emulator for Mac OS X that does amazing things. iTerm2 是一个终端模拟器,官方网站:http://www.iterm2.com/ Solarized 的主页:http://ethanschoonover
阅读全文
摘要:MAC终端配色Solarized 在 solarized/osx-terminal.app-colors-solarized 下双击 Solarized Dark ansi.terminal 和 Solarized Light ansi.terminal 就会自动导入两种配色方案 Dark 和 Li
阅读全文
摘要:Windows下进入http://ctags.sourceforge.net/ 下载ctags把ctags58.zip解压,随便放个地方,我放到了Home\Vim\vim72下,在ctags58文件夹下,找到ctags.exe文件,分别复制到C:\WINDOWS\system32和源程序文件夹下(所...
阅读全文
摘要:下载和配置NERDTree插件的官方地址如下,可以从这里获取最新的版本https://github.com/scrooloose/nerdtree 下载zip安装包或者使用下面官网源文件安装方法我的实验环境是centos6.6,其他版本可能有些不同。安装方法很简单,先把压缩文件下载下来,解压后将pl...
阅读全文
摘要:阿里云服务器可以自己购买数据盘并挂载使用,虽然官方也提供了挂载的教程,但是还是有些朋友不清楚其中的细节,为此,我在这里来给大家分享一下详细的挂载办法。工具/原料已经购买开通阿里云服务器,并且在开通时购买了数据盘linux服务器远程连接,要使用ssh连接工具,推荐putty方法/步骤许多朋友不清楚自己...
阅读全文
摘要:" Configuration file for vimset modelines=0 " CVE-2007-2438" Normally we use vim-extensions. If you want true vi-compatibility" remove change the fol...
阅读全文
摘要:user _www _www;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/ng...
阅读全文
摘要:查看nginx进程 ps aux | grep nginx 改mysql密码 进入mysql 然后SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpassword'); unzip -n test.zip //-n表示不覆盖已有同名文件 Linu
阅读全文
摘要:" Configuration file for vimset modelines=0 " CVE-2007-2438" Normally we use vim-extensions. If you want true vi-compatibility" remove change the fol...
阅读全文
摘要:转自http://freeloda.blog.51cto.com/2033581/1288553大纲一、前言二、环境准备三、安装与配置Nginx四、Nginx之反向代理五、Nginx之负载均衡六、Nginx之页面缓存七、Nginx之URL重写八、Nginx之读写分离注,操作系统为 CentOS 6....
阅读全文
摘要:Nginx 命令 sudo nginx // 启动Nginx #重新加载|重启|停止|退出 sudo nginx -s reload|reopen|stop|quit #上传文件限制更改: 进入nginx.conf client_max_body_size 50M;client_body_temp_
阅读全文
摘要:sudo chown -R `whoami` /usr/local # ps aux |grep php-fpmphp-frm start and stopphp-fpm -Dkillall php-fpmnginx config file path:vim /usr/local/etc/ngi...
阅读全文

浙公网安备 33010602011771号