WSGI 全称 Web Server Gateway Interface,基于 WSGI 的python 框架有 django,flask,tornado 等,我们可以很简单获取访问者 IP。 方案一:apache & modwsgi & python 创建 getip.wsgi,使用 apache…
Elrepo 源升级 CentOS7/RHEL7 内核
国内镜像站 https://mirrors.tuna.tsinghua.edu.cn/elrepo/kernel/el7/x8664/ https://mirrors.ustc.edu.cn/elrepo/elrepo/el7/x8664/ 由于 GFW 的原因,使用 elrepo 官方源可能速度较…
PXE & Kickstart 安装 CentOS7
简介 PXE是基于 server/client 模式的技术,让客户端从远程服务器下载启动镜像,从而实现网络启动。客户端要求服务器通过 DHCP 分配 IP 地址,再通过 TFTP 下载启动镜像。 Kickstart 将安装过程中需要手动设置的参数保存为应答文件,通过读取应答文件实现无人值守安装。 安…
红帽 rhel8 发布
2019年5月7日,红帽发布了 RHEL8 正式版,CentOS8 应该不久会发布 RHEL8 下载地址:https://developers.redhat.com/rhel8/ 参考文档:https://access.redhat.com/documentation/en-us/redhatent…
ssh 客户端配置 ssh_config
配置文件 用户配置文件优先级高于系统配置文件 常用配置选项 可以直接 ssh host(别名)即可登录
nginx 添加 tls 证书
TLS 证书申请 freessl.cn wosign.com 保存到服务器 nginx 配置
安装新版 wordpress
不知不觉,wordpress 已经更新到 5.X 了,第一次接触 wordpress 还在新浪云上,那时候实名认证后每个月有免费的云豆,wordpress 版本是 3.6,那时作为初中生的我有了一个 wordpress 博客激动了好久,如今 wordpress 已经更新到 5.X 了,新版 word…
onedriver 5t 空间
注册 Office365 几个 4 月 25 日可用教育邮箱或者企业授权的邮箱: http://mail.ac.id/ http://t.odmail.cn/ http://xkx.me/ 获取临时邮箱后注册: https://signup.microsoft.com/signup?sku=stud…