上一页 1 ··· 8 9 10 11 12 13 14 15 下一页

2017年4月27日

rpm和yum的区别

摘要: rpm是由红帽公司开发的软件包管理方式,使用rpm我们可以方便的进行软件的安装、查询、卸载、升级等工作。但是rpm软件包之间的依赖性问题往往会很繁琐,尤其是软件由多个rpm包组成时。 Yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SU 阅读全文

posted @ 2017-04-27 18:20 shabake 阅读(212) 评论(0) 推荐(0)

nginx 伪静态设置

摘要: location /{ rewrite ^(.*)/equip(d+).html$ $1/index.php?m=content&c=index&a=lists&catid=$2 last; } 阅读全文

posted @ 2017-04-27 17:27 shabake 阅读(105) 评论(0) 推荐(0)

nginx反向代理不显示图片

摘要: 在nginx的配置文件中加上 阅读全文

posted @ 2017-04-27 09:45 shabake 阅读(1275) 评论(0) 推荐(0)

2017年4月26日

secure ssh 命令行 快捷键

摘要: ctrl + d 删除光标所在位置上的字符相当于VIM里x或者dl ctrl + h 删除光标所在位置前的字符相当于VIM里hx或者dh ctrl + k 删除光标后面所有字符相当于VIM里d shift+$ ctrl + u 删除光标前面所有字符相当于VIM里d shift+^ ctrl + w 阅读全文

posted @ 2017-04-26 23:16 shabake 阅读(316) 评论(0) 推荐(0)

2017年4月21日

firewalld

摘要: 使用CentOS 7时发现使用iptables防火墙时提示错误Unit iptables.service failed to load,意思是防火墙运行启动失败了,那么要如何处理呢。 一直用CentOS 6 习惯了,一下没适应过来。防火墙配置后执行service iptables save 出现”F 阅读全文

posted @ 2017-04-21 10:06 shabake 阅读(181) 评论(0) 推荐(0)

2017年4月18日

firewalld

摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文

posted @ 2017-04-18 14:25 shabake 阅读(303) 评论(0) 推荐(0)

2017年4月14日

linux whois

摘要: yum install whois #安装 whois google.com #查询 whois -p 43 google.com #指定端口查询 yum search all whois #不详 yum whatprovides whois #输出很多内容 语 法:whois[选择参数][必要参数 阅读全文

posted @ 2017-04-14 22:02 shabake 阅读(454) 评论(0) 推荐(0)

2017年3月19日

wget版本更新

摘要: centos : sudo yum -y install wget 阅读全文

posted @ 2017-03-19 22:48 shabake 阅读(690) 评论(0) 推荐(0)

2017年2月20日

nginx错误解决方法

摘要: 1、Bad Request - Invalid Hostname 解决方法:删掉proxy_set_header Host $host; 这行代码 就不会提示 Bad Request - Invalid Hostname 阅读全文

posted @ 2017-02-20 11:30 shabake 阅读(444) 评论(0) 推荐(1)

2017年2月16日

解决Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid

摘要: 解决方法: [root@localhost nginx]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 使用nginx -c的参数指定nginx.conf文件的位置 [root@localhost nginx]# c 阅读全文

posted @ 2017-02-16 17:27 shabake 阅读(4195) 评论(0) 推荐(1)

上一页 1 ··· 8 9 10 11 12 13 14 15 下一页

导航