随笔分类 - 软件工具使用
摘要:yum install iptables-services systemctl mask iptables ip6tables ebtables && iptables -P INPUT ACCEPT && iptables -P OUTPUT ACCEPT && iptables -P FORWA
阅读全文
摘要:命令补全bash-completion source /etc/profile.d/bash_completion.sh
阅读全文
摘要:黄色:成功执行并伴随着状态的改变 绿色:成功执行并且没有发生状态的改变 红色:执行失败 灰紫:表示对命令执行发出警告信息,(可能存在问题,给你建议一下) yum install -y ansible ansible主机往其他方向需要ssh信任 ssh-keygen -t rsa ssh-copy-i
阅读全文
摘要:yum install screen -y 打开新窗口xxx1 screen -S xxx1 查看窗口 screen -ls ctrl+a再d 暂时离开,后台 运行 screen -ls看会话id screen -r 【ID】重新连上
阅读全文
摘要:rpm -qa|grep xxx rpm -e --nodeps 搜索列出的名字 --nodeps不管依赖关系强行处理
阅读全文
摘要:7代及其之前 yum makecache && yum install vim net-tools -y&& yum update -y 8代 dnf makecache && dnf install vim net-tools -y&& dnf update -y
阅读全文
摘要:yum -y install ntpdate rm -f /etc/localtime ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate pool.ntp.org date
阅读全文
摘要:yum install -y --downloaddir=/root xxx 安装xxx同时把rpm安装到本地 yum localinstall -y xxx.rpm 安装rpm包同时把依赖关系的包也安装 1.使用YUM查找软件包 命令:yum search~ 2.列出所有可安装的软件包 命令:yu
阅读全文
摘要:yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel lib
阅读全文
摘要:pip安装 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py
阅读全文
摘要:习惯使用firewell就要禁用iptables 有两个方法 : 一: echo '/usr/sbin/iptables -F' >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local 二: 重装iptables后卸载掉或者卸载安装再卸载
阅读全文

浙公网安备 33010602011771号