chkconfig命令 systemctl(代替chkconfig和service) chkconfig 和 systemctl 区别对比 任务 | 旧指令 | 新指令 : :|: :|: : 使某服务自动启动 | chkconfig level 3 httpd on | systemctl ena ...
分类:
其他好文 时间:
2019-10-03 16:12:17
阅读次数:
79
初学Linux,首先需要弄清Linux 标准目录结构 / root 启动Linux时使用的一些核心文件。如操作系统内核、引导程序Grub等。 home 存储普通用户的个人文件 ftp 用户所有服务 httpd samba user1 user2 bin 系统启动时需要的执行文件(二进制) sbin ...
分类:
系统相关 时间:
2019-10-03 14:23:55
阅读次数:
103
1打开conf下的配置文件 在server 之下 location 之上加入 auth_basic "Input Password:"; 弹出的提示信息 auth_basic_user_file "/usr/local/nginx/pass"; 认证的密码文件 2.使用htpasswd生成相应的密码 ...
分类:
其他好文 时间:
2019-10-03 11:05:42
阅读次数:
78
Apache服务(Apache HTTP Server),是Apache软件基金会的一个开放源码的网页服务器。 一、Centos6和Centos7自带的Apache版本 Centos6:httpd2.2 Centos7:httpd2.4 二、Apache的安装方式 1 rpm安装 2 编译安装 3 ...
分类:
Web程序 时间:
2019-10-02 17:06:29
阅读次数:
98
用来请求web服务器,名称的含义就是 client 的url,客户端的url工具 不带任何参数,即发送get请求 访问本地的httpd服务 curl 127.0.0.1 服务器的返回内容会在命令行显示 A指定客户端的用户代理,即user agent ,默认使用的用户代理字符串是curl/[versi ...
分类:
Web程序 时间:
2019-10-02 14:39:26
阅读次数:
123
如果文件已被指定默认程序 指定一个特定程序打开文件 如果使用频繁,还可以添加软连接 输入sublime就可以打开 sublime text输入sublime httpd.conf就可以用 sublime text 打开文件 ...
分类:
系统相关 时间:
2019-10-02 10:48:28
阅读次数:
112
1、在安装apache yum install httpd 2、启动测试 systemctl start httpd // restart (重启) 3、查看运行状态 service httpd status 4、配置httpd.conf文件,把AllowOverride改为了All。 vim /e ...
分类:
Web程序 时间:
2019-10-01 09:54:50
阅读次数:
140
CentOS下使用yum安装Apache极为方便,只需要在终端键入以下命令即可 1.安装Apache yum install httpd 2.设置服务器开机自动启动Apache systemctl enable httpd.service systemctl is-enabled httpd.ser ...
分类:
Web程序 时间:
2019-09-29 21:40:52
阅读次数:
119
初学Linux,首先需要弄清Linux 标准目录结构 / root 启动Linux时使用的一些核心文件。如操作系统内核、引导程序Grub等。 home 存储普通用户的个人文件 ftp 用户所有服务 httpd samba user1 user2 bin 系统启动时需要的执行文件(二进制) sbin ...
分类:
系统相关 时间:
2019-09-29 21:34:32
阅读次数:
164
WAMP环境配置 环境: apache 2.4 php 7.2 https://windows.php.net/download php 7.3 mysql 8.0 安装apache服务 ~~~markdown 下载并解压apache包 http://httpd.apache.org/ 修改配置文件 ...
分类:
其他好文 时间:
2019-09-28 23:12:01
阅读次数:
112