随笔分类 - Linux
摘要:vim卡死 使用vim时,按了 Ctrl + s后,不能输入任何东西了,像死掉了一般,其实vim并没有死掉,这时vim只是停止向终端输出而已,要想退出这种状态,只需按Ctrl + q 即可恢复正常。 :e filename 跳转vim文件 :open file可以再打开一个文件 同时显示多个文件(分
阅读全文
摘要://后台常在 退出终端仍然运行 nohup python pyredis.py & nohup输出重定向到my.log nohup command > my.log 2>&1 &
阅读全文
摘要:nginx服务器修改php.ini后需要重启php-fpm才能生效 先查看php-fpm的master进程号 master ps aux|grep php-fpmroot 42891 0.0 0.1 182796 1220 ? Ss 4月18 0:19 php-fpm: master process
阅读全文
摘要:1.启动、关闭防火墙永久打开或则关闭chkconfig iptables onchkconfig iptables off即时生效:重启后还原service iptables startservice iptables stop或者:/etc/init.d/iptables start/etc/in
阅读全文

浙公网安备 33010602011771号