FreezeJ' Blog

sshkey校验

私钥生成公钥ssh-keygen -y -f id_rsa > id_rsa.pub.tobecompared 然后对比一下id_rsa.pub.tobecompared和id_rsa.pub 查看指纹ssh-keygen -lf id_rsa
查看更多

centos修改系统语言

Linux
locale查看当前系统语言locale -a查看系统支持的语言,可以通过grep过滤想要的语言如:中文:locale -a | grep zh_ 一般用zh_CN.UTF-8英文:locale -a | grep en_ 一般用en_US.utf8 # centos7 vim /etc/ ...
查看更多

bash命令补全

Linux
bash自动补全脚本目录:/etc/bash_completion.d # bash completion for menu.py # 命令补全 _test_options() { local curr_arg; curr_arg=${COMP_WORDS[CO ...
查看更多

Linux磁盘性能分析iostat

Linux
iostat是I/O statistics(输入/输出统计)的缩写,iostat工具将对系统的磁盘操作活动进行监视。它的特点是汇报磁盘活动统计情况,同时也会汇报出CPU使用情况。iostat也有一个弱点,就是它不能对某个进程进行深入分析,仅对系统的整体情况进行分析本文参 ...
查看更多

centos7快速安装docker

# Centos7 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/cent ...
查看更多

centos7快速安装docker

# Centos7 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/cent ...
查看更多

python使用psutil获取服务器基本信息

Python
官方文档 #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020-6-1 11:28 # @Author : FreezeJ # @File : get_machine_info.py # @Software: ...
查看更多

paramiko实现ssh跳板机

Python
#!/usr/bin/python import paramiko def jump2server( jump_server_ip, jump_server_username, jump_server_password, r ...
查看更多

模态框html与js代码

JavaScript HTML
模态框html与js代码HTML<!--方法结果模态框--> <div class="modal fade" id="fun_result" tabindex="-1" role="dialog" ...
查看更多

Centos更换yum源

Linux
阿里云Centos7cd /etc/yum.repos.d mkdir -p tmp mv CentOS* tmp/ curl -O http://mirrors.aliyun.com/repo/Centos-7.repo # 安装EPEL yum -y install epel-rele ...
查看更多
Prev

第 10 页,共 142 篇文章

Next