Leo Zhang
菩提本无树,明镜亦非台!
摘要: 1、ssh 端口转发 ssh 提供了一个非常有意思的功能,就是端口转发,它能够将其他 TCP 端口的网络数据通过 SSH 链接来转发,并且自动提供了相应的加密及解密服务。 # 本地端口转发 ssh -fgN -L 2222:localhost:22 localhost # 远程端口转发 ssh -f 阅读全文
posted @ 2022-09-07 10:58 LeoZhanggg 阅读(2196) 评论(0) 推荐(0) 编辑
摘要: 一、基本概念: 逻辑卷管理(Logical Volume Manager):LVM将一个或多个硬盘的分区在逻辑上集合,相当于一个大硬盘来使用, 当硬盘的空间不够使用的时候,可以继续将其它的硬盘的分区加入其中,这样可以实现磁盘空间的动态管理。 物理存储介质(The Physical Media):这里 阅读全文
posted @ 2022-09-07 10:36 LeoZhanggg 阅读(981) 评论(0) 推荐(0) 编辑
摘要: 1)下载离线包(Windows): http://www.rpmfind.net/linux/rpm2html/search.php?query=&submit=Search+ 2)下载离线包(Linux): yum install --downloadonly --downloaddir=/tmp 阅读全文
posted @ 2022-09-07 10:35 LeoZhanggg 阅读(785) 评论(0) 推荐(0) 编辑
摘要: 1)界面设置 a. 首先打开设置:Applications ->System Tools ->Settings b. 再打开网络,并设置IP:Network -> Wired -> IPv4 -> Manual ->Addresses ->Apply c. 重启一下网络,即可生效!!! 2)命令行设 阅读全文
posted @ 2022-09-07 10:33 LeoZhanggg 阅读(1392) 评论(0) 推荐(0) 编辑
摘要: 1) 备份原有镜像源文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2) 下载阿里云镜像源文件 curl -o /etc/yum.repos.d/CentOS-Base.repo http:/ 阅读全文
posted @ 2022-09-07 10:30 LeoZhanggg 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 准备工作 从国内镜像下载CentOS-7-x86_64-DVD-1810.iso,约4.27GB。 下载_Universal USB Installer_,用于制作USB安装盘,约1.7MB。打开连接单击如下按键下载。 准备一个至少8GB空间的U盘。建议使用USB3.0接口的U盘,读写速度更快。 G 阅读全文
posted @ 2022-09-07 10:28 LeoZhanggg 阅读(815) 评论(0) 推荐(0) 编辑
摘要: 常用操作 (1) 通过timedatectl管理时间 # 查看时间 timedatectl //等同于 timedatectl status # 设置时间 timedatectl set-time "YYYY-MM-DD HH:MM:SS" # 列出时区 timedatectl list-timez 阅读全文
posted @ 2022-09-07 10:19 LeoZhanggg 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 打开命令行 切换root用户 下载安装包(rpm) wget 暂时无法在文档外展示此内容 地址可以从浏览器获取 安装软件 yum -y install teamviewer.x86_64.rpm 或者:rpm -ivh teamviewer.x86_64.rpm 或者: yum -y -e 0 lo 阅读全文
posted @ 2022-09-07 10:16 LeoZhanggg 阅读(46) 评论(0) 推荐(0) 编辑