httpd版本:Server version: Apache/2.4.37 (Alibaba Cloud Linux)

 

实验步骤如下:

1. 购买域名,使用阿里云域名购买 k.com。

2. 购买ECS服务器(使用突发式实例-印度尼西亚,便宜3分钱一小时),带有公网IP。

3. 配置域名解析 demo.k.com指向ECS公网IP。

4. 购买SSL证书,使用阿里云数字证书管理->SSL证书->免费证书(单账号1年有20张免费额度),创建好之后进行证书申请(申请域名为demo.k.com),秒批。

  下载证书备用(对于httpd有三个文件分别是:10127296_demo.k.com.key、10127296_demo.k.com_public.crt、10127296_demo.k.com_chain.crt)。

   配置完成后,域名解析中会多如下的记录:

         

 

5. 在ECS上安装httpd,使用命令:yum -y install httpd,安装之后启动 service httpd start.

6. 安装ssl模块,使用命令:yum install mod_ssl openssl,然后配置证书,将4中的3个证书文件上传到服务器的固定目录(httpd的证书目录),配置ssl.conf,配置完成重启httpd,使用命令service httpd resart。

   ssl.conf配置如下图: 

   

 

7.  访问https://demo.k.com,显示安全链接。  

   

 

posted @ 2023-05-21 22:37 梅里之巅 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 1.用hive语句describe extended f_gameCenter_user_login_out_day partition(dt = '2014-03-19');2.用hive元数据库mysql查询selecta.LOCATIONfrom SDS aleft join PARTITIO 阅读全文
posted @ 2022-10-12 11:05 梅里之巅 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 1.npm install 报错 Command failed: /bin/sh -c autoreconf -fiv /bin/sh: autoreconf: command not found 解决: brew install autoconf automake libtool 阅读全文
posted @ 2022-06-20 15:29 梅里之巅 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Docker 容器开启SSH需要手动安装SSH相关软件,并启动,且做好容器端口和宿主机端口映射 1.安装软件 yum install passwd openssl openssh-server -y 2.编辑 /etc/ssh/sshd_config RSAAuthentication yes #启 阅读全文
posted @ 2022-02-17 16:50 梅里之巅 阅读(943) 评论(0) 推荐(0) 编辑
摘要: 1.calico 配置文件为/etc/calico.yaml 2.配置更新,使用下面的脚本【endpoints使用https】 # ETCD 地址 ETCD_ENDPOINTS="https://server117:2379" sed -i "s#.*etcd_endpoints:.*# etcd_ 阅读全文
posted @ 2022-02-09 20:10 梅里之巅 阅读(633) 评论(6) 推荐(0) 编辑
摘要: 报错: CentOS Linux 8 - AppStream Cannot prepare internal mirrorlist: No URLs in mirrorlist 解决: 1.将以下三个yum源文件中的 mirrorlist行注释掉,baseurl行打开,且将访问主机修改为腾讯云地址即 阅读全文
posted @ 2022-02-07 16:57 梅里之巅 阅读(745) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE database.ad_hourly_report ( id bigserial NOT NULL, -- 自增ID settled_time timestamp NOT NULL, -- 日期时间 account_id int4 NOT NULL, -- 广告主账号 ca 阅读全文
posted @ 2021-12-07 20:55 梅里之巅 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 教育机构看到,觉得写的挺好,做个记录: 4C CONNECT 联系 社交技能 计划与组织能力 沟通能力 团队合作能力 CONSTRUCT 建构 动手能力 专注力和持续力 好奇心和想象力 创新思考能力 CONTEMPLATE 反思 独立思考能力 发现问题和解决问题的能力 语言和文字能力 总结问题的能力 阅读全文
posted @ 2021-02-03 23:45 梅里之巅 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 1 var restify = require('restify'); 2 3 // 先找到e,e_token原始token,结果:b3b7bf1272752-420b-a354-640e36535125(b7bf12727545d425035e810faa7dc296) 4 e_token="b3 阅读全文
posted @ 2021-01-13 14:02 梅里之巅 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 由于plugin.log 关联的进程是windows资源管理进程explorer.exe程序,所以无法直接在杀死explorer.exe之后界面操作删除该文件。 做法: 1.复制文件的具体路径,比如C:\Users\test\AppData\Roaming\WXDrive\logs\plugin.l 阅读全文
posted @ 2020-11-08 20:46 梅里之巅 阅读(11470) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示