User Tools

Site Tools


cdn:command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cdn:command [2018/12/11 20:37]
shaoxp created
cdn:command [2021/06/01 15:29] (current)
Line 1: Line 1:
 ====== CDN Commands ====== ====== CDN Commands ======
 I want to take a note here for all commands we met when running a CDN service. I want to take a note here for all commands we met when running a CDN service.
 +
 +===== nslookup =====
 +  - ''​nslookup www.simplenature.cn''​
 +  - ''​nslookup -type=cname www.simplenature.cn''​
 +  - ''​nslookup -type=mx simplenature.cn''​
 +  - ''​nslookup -q=txt simplenature.cn''​
 +
 +===== dig =====
 +  - ''​dig www.simplenature.cn''​
 ===== wget ===== ===== wget =====
-  * wget -S "​http://​xxxxx"​+  * ''​wget -S "​http://​xxxxx"​''​ 
 +  * ''​wget -S "​https://​xxxx"​ -e --http_proxy=114.123.11.11''​ 
 +  * ''​wget -S "​http://​cname.domain"​ --header=host:​domain''​
 ===== curl ===== ===== curl =====
-  * curl -voa "​http://​xxxx"​+  * ''​curl -voa "​http://​xxxx"​''​ 
 +  * ''​curl -voa "​http://​xxxx"​ -x "​114.123.11.11"''​ 
 +  * ''​curl -voa "​http://​xxxx.cname.domain/​xxx"​ --header "​host:​domain"​ 
 +''​ 
 +===== systemctl ===== 
 +  * systemctl status elasticsearch.service -l 
 +  * systemctl enable elasticsearch 
 +  * systemctl stop elasticsearch 
 +  * systemctl disable elasticsearch 
 +  * systemctl start elasticsearch 
 +  * systemctl restart elasticsearch 
 + 
 +===== journalctl ===== 
 +  * journalctl -u elasticsearch 
 + 
  
  
cdn/command.1544531874.txt.gz · Last modified: 2021/06/01 15:29 (external edit)