linux共13篇 第2页
使用curl获取外网IP地址|leon的博客

使用curl获取外网IP地址

curl ifconfig.me curl icanhazip.com curl ident.me curl ipecho.net/plain curl tnx.nl/ip curl myip.dnsomatic.com curl ip.appspot.com curl curlmyip.com curl ipinfo.io/ip curl http://w...
Leon的博客的头像|leon的博客Leon的博客5年前
11220
CentOS下使用parted分区工具分区大于2T硬盘|leon的博客

CentOS下使用parted分区工具分区大于2T硬盘

需求: 虚拟机增加了一个8T的硬盘,现在需要挂载到CentOS7上,但linux上的fdisk只能分小于2T的硬盘,所需要借助parted工具来实现分区挂载 1、安装parted [cce lang='bash']yum -y install parte...
Leon的博客的头像|leon的博客Leon的博客5年前
17660
Win10子系统搭建Yum源|leon的博客

Win10子系统搭建Yum源

第1章 使用SSH登录Ubuntu 1.1 编辑SSHD配置文件 [cce lang='bash']root@leon-PC:~# cat /etc/ssh/sshd_config Port 2525 ListenAddress 127.0.0.1 PermitRootLogin yes PermitEmptyPasswords no...
Leon的博客的头像|leon的博客Leon的博客7年前
19560