1.建立http服务,要求: (1)提供两个基于名称的虚拟主机: www1.stuX.com,页面文件目录为/web/vhosts/www1;错误日志为/var/log/httpd/www1/error_log,访问日志为/var/log/httpd/www1/access_log www2.stu ...
分类:
Web程序 时间:
2020-02-21 22:13:42
阅读次数:
145
一、搭建思路 从浏览器到web服务器(Apache)到PHP环境到mysql数据库 二、环境搭建 1、浏览器(略) 2、Apache 1)官方下载地址:https://httpd.apache.org/docs/current/platform/windows.html 2)修改apache主配置文 ...
分类:
数据库 时间:
2020-02-21 18:02:25
阅读次数:
127
# Linux常用命令 ## 系统服务管理 ### systemctl - 启动服务:systemctl start httpd.service - 关闭服务:systemctl stop httpd.service - 重启服务(不管是否在运行):systemctl restart httpd.s ...
分类:
系统相关 时间:
2020-02-21 16:13:20
阅读次数:
81
1.下载apache服务器: Apache下载地址: https://www.apachehaus.com/cgi-bin/download.plx 在页面找到如下连接,下载即可。 2.设置端口号和定义服务路径 解压安装后,进入apache安装目录的conf文件夹下,配置httpd.conf Lis ...
[Toc] 1. SaltStack模块介绍 Module是日常使用SaltStack接触最多的一个组件,其用于管理对象操作,这也是SaltStack通过Push的方式进行管理的入口,比如我们日常简单的执行命令、查看包安装情况、查看服务运行情况等工作都是通过SaltStack Module来实现的。 ...
分类:
其他好文 时间:
2020-02-20 20:37:34
阅读次数:
79
```(1)证书列表 应用端私钥:/usr/local/apache/conf/cert/test.com.key 应用端证书:/usr/local/apache/conf/cert/test.com.crt 中间CA证书链:/usr/local/apache/conf/cert/test.com.... ...
分类:
Web程序 时间:
2020-02-19 15:12:19
阅读次数:
102
常用自动化运维工具: ①CFengine ②Chef ③Puppet ③SaltStack ③Ansible 基于python开发,分布式,无需客户端,轻量级。配置语言采用YAML. Ansible基本架构 Ansible工作原理 Ansible的安装及使用 ①CentOS Linux releas ...
分类:
其他好文 时间:
2020-02-19 12:50:56
阅读次数:
76
1.安装apache [root@admin-pc mnt]# yum -y install httpd* 2.创建默认index.html页面(默认没有index.html页面) [root@admin-pc mnt]# vi /var/www/html/index.html <html><bod ...
分类:
其他好文 时间:
2020-02-18 18:34:23
阅读次数:
86
5.1、安装cobbler: 参考"linux运维_集群_01(35、cobbler自动化安装操作系统:)"5.2、cobbler yum源常用操作命令:cobbler repo add 添加yum源cobbler repo copy 复制cobbler repo edit 修改cobbler re... ...
分类:
其他好文 时间:
2020-02-17 23:55:29
阅读次数:
154
manjaro linux 安装 Apache,MariaDB,PHP(LAMP) root 身份执行下面的命令 1. 升级系统 2. 安装 Apache 升级完后,安装Apache 编辑 /etc/httpd/conf/httpd.conf file 找到LoadModule unique_id_ ...
分类:
数据库 时间:
2020-02-17 14:12:35
阅读次数:
75