Linux Upgrade OpenSSH download source12345wget https://mirrors.aliyun.com/pub/OpenBSD/OpenSSH/portable/openssh-10.0p2.tar.gzwget https://github.com/openssl/openssl/releases/download/openssl-3.5.0/openssl-3.5.0.tar.gztar -x 2025-06-24 #Linux
ifmetric 调整网络优先级 metric 简介Linux 网络中通常用metric控制网络优先级,metric越小网络优先级越高,通常情况下系统默认双网卡metric都是0,这样我们就要人工干预,将某一个网卡的优先级metric值提高,来确保metric为0这个网卡的优先级 Install ifmetric1sudo apt install ifmetric 使用ifmetric调整网络优先级1sudo ifmetric 2024-06-06 Linux commond #Linux
ubuntu22.04 安装显卡驱动 Download NVIDIA DriverDownload Links https://www.nvidia.cn/Download/driverResults.aspx/222416/en-us/ 1wget https://us.download.nvidia.cn/tesla/535.161.08/NVIDIA-Linux-x86_64-535.161.08.run 安装的时候注意需要在 2024-06-05 tool install #Linux
少年应有鸿鹄志,当骑骏马踏平川。 少年应有鸿鹄志,当骑骏马踏平川。 《史记·陈涉世家》 摘自陈胜者,阳城人也,字涉。吴广者,阳夏人也,字叔。陈涉少时,尝与人佣耕,辍耕之垄上,怅恨久之,曰:“苟富贵,无相忘。”庸者笑而应曰:“若为庸耕,何富贵也?”陈涉太息曰:“嗟乎,燕雀安知鸿鹄之志哉!” 释义鸿鹄飞得很高,常用来比喻志气高远的人。意思是少年应当有像鸿鹄一样的志向,应当 2024-06-03 saying #saying
Ubuntu 启动和禁用图像界面 Ubuntu 桌面版禁用桌面和启用桌面1234567# 关闭图形界面systemctl set-default multi-user.target# 禁用后需要重启才能生效# 打开图形界面systemctl set-default graphical.target 2023-12-13 Linux commond #Linux
Ubuntu20.04 升级gcc,g++ 添加安装源1sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test 更新安装源和安装最新gcc,g++12sudo apt updatesudo apt install gcc-11 g++-11 更新环境变量123456789sudo update-alternatives --install /usr/bin/gcc gcc /usr/ 2023-12-05 Linux commond #Linux
nginx-1.24.0 安装开发工具包12Ubuntu : sudo apt install build-essentialCentos : sudo dnf group install "Development Tools" 下载安装包1wget https://nginx.org/download/nginx-1.24.0.tar.gz -P ~/nginx 下载第三方依赖123wget ht 2023-11-04 tool install #Linux
Ubuntu server 使用bind9做DNS服务 Ubuntu 使用bind9 配置一个git.monitor.com的域名指向192.168.99.162 IP 要在Ubuntu上使用Bind9配置一个git.monitor.com的域名指向192.168.99.162 IP,需要进行以下步骤: 确保已经安装了Bind9。如果没有安装,可以使用以下命令进行安装: 12sudo apt-get updatesudo apt-get insta 2023-10-27 Network tool #Linux
windows10安装scoop作为包管理器 scoop 官网 scoop 官网安装会提示无法访问https://raw.githubusercontent.com,要么自己搭梯子访问,要么使用国内源安装(一下命令全在powershell中执行) 修改策略(需要管理员权限) 1Set-ExecutionPolicy RemoteSigned -Scope CurrentUser 安装前准备 通过改变Scoop安装到自定义目录 123 2023-07-16 Windows #Scoop
fastgithub+git访问github 访问github经常性访问不到,或者想clone代码的时候老是超时,记一下解决方案git设置代理参考https://zhuanlan.zhihu.com/p/481574024github访问不到大概率就是你的DNS找不到github的IP地址https://github.com/dotnetcore/FastGithub这个项目可以提供域名的纯净IP解析,提供IP测速并选择最快的IP 首先安装f 2023-07-04 The usage method of the tool #Github