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/README.md at master · Lancger/opslinux

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
77 lines (63 loc) · 2.59 KB
/

README.md

Copy path

File metadata and controls

77 lines (63 loc) · 2.59 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

一、手册

  • 虚拟机初始化.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° )=
  )   (  //
 (__ __)//
 
#出口IP和运营商
curl cip.cc
IP      : 116.81.26.69
地址    : 中国  广东  广州
运营商  : didichuxing.com
数据二  : 北京市海淀区 | 北龙中网(北京)科技有限公司
数据三  : 中国广东广州 | 电信
URL     : http://www.cip.cc/116.81.26.69

参考资料:

https://oneinstack.com/ 一键安装Linux基础组件软件推荐

You are visitor 01402792 — 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.