Tutorials

“Install Free SSL Certification On Your Website”

Install Free SSL Certification On Your Website Introduction Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG). Environment Server: Centos 7.0 Prerequisites An availabe website deployed on a server A domain name can be resolved by DNS Server Web Server like Nginx, Apache , etc. Choose Your System and Web Server Let’s Encrypt suppiles automatically deployment by using Certbot.

Posted

#Tutorials #Ops

“Installing Nginx on CentOS and its Basic Configuration”

Installing Nginx on CentOS and its Basic Configuration Environment Server: Centos 7.0 Installation sudo -y install nginx Before Configuration Make sure you have backed up the nginx.conf file. Configuration vi /etc/nginx/nginx.conf Basically, you can change the port nginx listend and the root of your site. Result If you have finished steps mentioned above, you may access a welcome page or your index page by your IP address or domain name.

Posted

#Tutorials #Ops

“SSH Configuration on GCP”

SSH Configuration on GCP Environment Server: Centos 7.0 Workstation: macOS Mojave 10.14.2 Generate a Key Open a terminal, using ssh-keygen tool. ssh-keygen -t rsa -f ~/.ssh/[KEY_FILENAME] -C [USERNAME] The USERNAME should be identical to the counterpart of your instance. You must restrict access to your private key or you will get a denial when you try to connect the server using ssh command chmod 400 ~/.ssh/[KEY_FILENAME] The key generated was stored at ~/.

Posted

#Tutorials #Ops

“Google Cloud DNS 域名解析教程”

Google Cloud DNS 域名解析教程 准备工作 购买域名 常见的域名购买网站有 GoDaddy , Namecheap 等。 这边使用的域名是从 GoDaddy 购买的。 GCP 网络服务—— Cloud DNS 可以通过搜索栏查找 “DNS” 关键字快速找到 Cloud DNS。 域名服务器的更改 Cloud DNS 创建地区 首先我们需要在 Cloud DNS 创建地区。 按照其要求填写各项内容,建议开启 DNSSEC 。DNSSEC 相关内容参见 GCP 官方文档。 详细信息 至少添加两条 A 记录, - 其一用于解析 www 域名, 如 www.tigermemo.com - 其二用于解析无 www 的域名,如 tigermemo.com 复制蓝色框出的域名服务器地址,随后更改域名服务器需要使用。 更改域名服务器 在 Godaddy DNS 管理模块中,删除所有配置。 手动添加Google Cloud DNS服务器。 完成操作后需要等待一段时间,域名供应商会发送邮件予以确认。 故障处理与后续改进方案 故障处理 先尝试 ping ip ,若无法 ping 通,应该考虑该 ip 是否被墙,中国大陆用户也要考虑 GCP 本身的稳定性。

Posted

#Tutorials #Ops