GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — opslinux/linux at master · jjz-learning/opslinux

Expand file tree

/

linux

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

linux

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Inspection
Inspection
 
 
dns
dns
 
 
ftp
ftp
 
 
ipmitool
ipmitool
 
 
iptables
iptables
 
 
java
java
 
 
shell
shell
 
 
tcp
tcp
 
 
ubuntu
ubuntu
 
 
安全加固
安全加固
 
 
常用工具
常用工具
 
 
系统优化
系统优化
 
 
网络相关
网络相关
 
 
Asciinema-Linux操作命令录制神器.md
Asciinema-Linux操作命令录制神器.md
 
 
Centos7上搭建ftp服务器.md
Centos7上搭建ftp服务器.md
 
 
Cgroups控制cpu内存io示例.md
Cgroups控制cpu内存io示例.md
 
 
Linux远程强制重启触发器.md
Linux远程强制重启触发器.md
 
 
MegaCli使用手册.md
MegaCli使用手册.md
 
 
Nginx网站使用CDN之后禁止用户真实IP访问的方法.md
Nginx网站使用CDN之后禁止用户真实IP访问的方法.md
 
 
Python多线程批量Ping主机IP的脚本.md
Python多线程批量Ping主机IP的脚本.md
 
 
README.md
README.md
 
 
SSH配置免密码登录后,仍需要输入密码.md
SSH配置免密码登录后,仍需要输入密码.md
 
 
Shell 脚本中 curl 取得HTTP返回的状态码.md
Shell 脚本中 curl 取得HTTP返回的状态码.md
 
 
TCP连接的状态详解以及故障排查.md
TCP连接的状态详解以及故障排查.md
 
 
deny_ctrl.sh
deny_ctrl.sh
 
 
echo后面输出两个空行问题.md
echo后面输出两个空行问题.md
 
 
id_rsa和id_rsa.pub校验.md
id_rsa和id_rsa.pub校验.md
 
 
linux之安装nali本地解析IP归属实现IP详情的日志分析.md
linux之安装nali本地解析IP归属实现IP详情的日志分析.md
 
 
sed替换文件处理.md
sed替换文件处理.md
 
 
shell网站资料.md
shell网站资料.md
 
 
strace手册.md
strace手册.md
 
 
xargs exec批量结束进程和删除文件方法.md
xargs exec批量结束进程和删除文件方法.md
 
 
常用命令工具集.md
常用命令工具集.md
 
 
文本处理find_grep.md
文本处理find_grep.md
 
 
服务器IO高问题分析.md
服务器IO高问题分析.md
 
 
服务器历史命令显示优化.md
服务器历史命令显示优化.md
 
 
虚拟机初始化.md
虚拟机初始化.md
 
 
防止ssh暴力破解登录.md
防止ssh暴力破解登录.md
 
 

README.md

Outline

一、手册

  • 虚拟机初始化.md
  • MegaCli使用手册.md
  • 服务器IO高问题分析.md
  • 常用命令工具集.md
  • TCP故障分析.md
  • 防止ssh暴力破解登录.md
  • Nginx拉黑处理.md

二、出口IP

#!/bin/sh

ip=$(curl -s https://api.ip.sb/ip)
echo "My IP address is: $ip"

三、文件上锁

chattr -i /var/spool/cron/root
chmod 755  /var/spool/cron
chmod 644  /var/spool/cron/root
chattr +i /var/spool/cron/root
chmod 644 /etc/sysconfig/iptables
chattr +i /etc/sysconfig/iptables

四、判断服务器出口

curl https://ip.cn/

curl https://ipinfo.io/
{
  "ip": "103.201.24.187",
  "city": "Hong Kong",
  "region": "Central and Western",
  "country": "HK",
  "loc": "22.2783,114.1747",
  "org": "AS133115 HK Kwaifong Group Limited",
  "timezone": "Asia/Hong_Kong",
  "readme": "https://ipinfo.io/missingauth"
}

#国内接口地址
curl myip.ipip.net

当前 IP:28.187.161.129  来自于:中国 广东 深圳  电信

#国际接口地址
curl ip.gs

Current IP / 当前 IP: 13.21.24.187
ISP / 运营商:  kf-idc.com
City / 城市:  Hong Kong
Country / 国家: China
IP.GS is now IP.SB, please visit https://ip.sb/ for more information. / IP.GS 已更改为 IP.SB ,请访问 https://ip.sb/ 获取更详细 IP 信息!
Please join Telegram group https://t.me/sbfans if you have any issues. / 如有问题,请加入 Telegram 群 https://t.me/sbfans 

  /\_/\
=( °w° )=
  )   (  //
 (__ __)//
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.