/avatar.jpg

手动升级ssh

openssl、openssh下载地址 https://openbsd.hk/pub/OpenBSD/OpenSSH/portable/ (ssh) https://ftp.openssl.org/source/ (ssl) 配置yum源 1 2 mount /dev/sdd /mnt vim /etc/yum.repos.d/local.repo #编辑 1 2 3 4 5 [my] name=my baseurl=file:///mnt enabled=1 gpgcheck=0 1 yum list #检查配置是否成功 1 2 3 4 5

Shell常见命令分享

centos基础 1 ifconfig/ip addr # 查看ip 1 netstat -tunlp | grep 8080 #查询8080端口是否存在 1 2 ping 10.0.0.1 -s 65507 #包大小为65507 ping 10.0.0.1 -l 65500 #window 1 ifconfig eth0 192.168.60.128 #修改ip 1 2 free -m #

hugo搭建

brew 文档 brew Linux安装文档 文档 前期准备 debian或者Ubuntu 1 sudo apt-get install build-essential procps curl file git 开始安装 1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 环境变量配置 1 2 3 4 test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) test