摘要: squid 简介 squid是一个高性能的代理缓存服务器,支持FTP、gopher、HTTPS和HTTP协议,是一种用来缓冲Internet数据的软件 服务端 安装 yum install -y squid 修改配置文件 cat /etc/squid/squid.conf | egrep -v "^ 阅读全文
posted @ 2024-08-07 16:59 itk 阅读(62) 评论(0) 推荐(0)
摘要: nmcli 简介 nmcli是NetworkManager的命令行工具 在使用nmcli时,NetworkManager必须保持开启 NetworkManager # 相关命令 systemctl status NetworkManager # 查看运行状态 systemctl start Netw 阅读全文
posted @ 2024-08-07 16:19 itk 阅读(42) 评论(0) 推荐(0)
摘要: screen 使用 简介 全屏窗口管理器,将物理终端抽象为多个虚拟终端,每个虚拟终端都可以运行一个shell或程序。 安装 # ubuntu 和debian apt-get install screen # centos 和 fedora yum install screen # Alpine ap 阅读全文
posted @ 2024-08-07 15:45 itk 阅读(121) 评论(0) 推荐(0)
摘要: linux 命令页面issue 简介 /etc/issue文件是Linux系统开机启动时在命令行界面弹出的欢迎语句文件 配置 cat /etc/issue \S Kernel \r on an \m # 参数介绍 \d 本地端时间的日期 \l 显示第几个终端机的接口 \n 显示主机的网络名称 \o 阅读全文
posted @ 2024-08-07 14:31 itk 阅读(58) 评论(0) 推荐(0)
摘要: linux 欢迎页面motd 配置欢迎页面 vim /etc/motd hello world! 登录效果: Last login: Tue Aug 6 08:44:55 2024 from 172.16.1.60 hello world! 配置带颜色 echo -e "\033[31m hello 阅读全文
posted @ 2024-08-07 14:20 itk 阅读(54) 评论(0) 推荐(0)
摘要: wget使用 常用方法 1、下载单个文件 wget http://URL 2、将下载的文件重命名 wget http://URL -O name 3、下载限速 wget --limit-rage=128k http://URL 4、断点续传 wget -c http://URL 5、后台下载 wge 阅读全文
posted @ 2024-08-07 14:01 itk 阅读(61) 评论(0) 推荐(0)