04 2017 档案

CentOS7安装配置Apache HTTP Server
摘要:安装httpd 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 # yum -yinstall httpd //安装httpd会自动安装一下依赖包: apr apr-util httpd-tools mailc 阅读全文

posted @ 2017-04-29 01:48 shabake 阅读(297) 评论(0) 推荐(0) 编辑

yum
摘要:查看包含httpd开头的包 安装所有httpd开通的包 阅读全文

posted @ 2017-04-29 01:39 shabake 阅读(95) 评论(0) 推荐(0) 编辑

CentOS如何挂载硬盘
摘要:远程SSH登录上CentOS服务器后,进行如下操作 提醒:挂载操作会清空数据,请确认挂载盘无数据或者未使用 第一步:列出所有磁盘 命令: ll /dev/disk/by-path 提示:如果无法确认数据盘设备名称,请使用df命令来确认系统盘的名称,从而排除挂错盘的情况。 第二步:格式化硬盘 命令: 阅读全文

posted @ 2017-04-29 01:20 shabake 阅读(238) 评论(0) 推荐(0) 编辑

rpm 命令参数详解
摘要:RPM是RedHat Package Manager(RedHat软件包管理工具)类似Windows里面的“添加/删除程序” rpm 执行安装包二进制包(Binary)以及源代码包(Source)两种。二进制包可以直接安装在计算机中,而源代码包将会由RPM自动编译、安装。源代码包经常以src.rpm 阅读全文

posted @ 2017-04-27 18:24 shabake 阅读(604) 评论(0) 推荐(0) 编辑

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

posted @ 2017-04-27 18:20 shabake 阅读(208) 评论(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 阅读(95) 评论(0) 推荐(0) 编辑

nginx反向代理不显示图片
摘要:在nginx的配置文件中加上 阅读全文

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

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 阅读(310) 评论(0) 推荐(0) 编辑

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

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

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

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

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 阅读(446) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示