linux
liubin9043
The powers of heaven help those who help themselves.
展开
-
fedora国内源
#cd /etc/yum.repos.d把原来的问文件删除 rm -rf 然后#wget http://mirrors.163.com/.help/fedora-163.repo#wget http://mirrors.163.com/.help/fedora-updates-163.repo或者换阿里的源Fedorawget -O /etc/yum.repos.d/fedora.repo htt...转载 2018-04-27 23:27:22 · 1234 阅读 · 0 评论 -
在ubuntu上安装yum会怎样
在ubuntu上安装yum会有依赖的问题。安装yum的步骤:1、首先检测是否安装了build-essential程序包,apt-get install build-essential。2、安装yum,apt-get install yum。3、安装完毕但是没有源,不能直接使用yum安装软件,于是尝试着把fedora上的源放到ubuntu上使用。首先下载fedora-163.repo和fedora-...转载 2018-04-27 23:28:15 · 21827 阅读 · 8 评论 -
nginx重启报找不到nginx.pid的解决方法
nginx被停止(nginx -s stop)或者直接杀掉了进程(kill -9 nginx的进程号)后,调用命令(nginx -s reload 或者 nginx -s reopen)会报错:无法找到 "var/run/nginx.pid"文件。这句话中,有好几个知识点,也包含了一些错误,错误得把reload或者reopen当做了启动的命令。来依次总结一下:1.nginx的常用命令停止:直接杀n...转载 2018-06-28 18:56:37 · 896 阅读 · 0 评论 -
ubuntu 下搭建redis和php的redis的拓展+遇到的坑
这么简单的操作怎么会遇到坑?看了很多的安装教程并没有解决问题,看看下面遇到的问题。 ubuntu16.0.4.4 ,php7.0 一.安装redis服务 sudo apt-get install redis-server 安装好的redis目录在 /etc/redis 检查redis是否安装?用下面三个命令 whereis redis whereis redis-cli wher...原创 2018-12-10 14:55:58 · 378 阅读 · 0 评论