国内镜像阿里云/163源/清华大学/中科大 Ubuntu 22.04 LTS这是一个长期支持版本,它将被支持五年,直到2027年4月。已发布的LTS版本带来了一些新的功能。如果你正在使用Ubuntu 20.04 LTS,你会注意到许多视觉上的变化。 当然作为国内用户首要任务安装完成之后首要任务就是更改ubuntu 22.04的镜像/软件源。 国内有很多Ubuntu 22.04的镜像源,包括阿里、网易,还有很多教育网的镜像源,比如清华源、中科大源。 在教程中我们将介绍如何更改镜像在ubuntu 22.04。国内的包括有镜像阿里云/163源/清华大学/中科大。 首先我们需要先备份Ubuntu官方的软件源,执行以下命令将备份原来的软件源。 sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak 清华大学镜像 复制以下命令即可一键切换到清华大学ubuntu 22.04镜像: sudo bash -c “cat /etc/apt/sources.list && apt update deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/…
Read more
使用 APT 安装 由于 apt 源使用 HTTPS 以确保软件下载过程中不被篡改。因此,我们首先需要添加使用 HTTPS 传输的软件包以及 CA 证书。 $ sudo apt-get update $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg2 \ lsb-release…
Read more
方法 系统要求:支持Debian、Ubuntu、CentOS系统。 运行以下命令: wget https://www.moerats.com/usr/down/sshport.sh bash sshport.sh 输入端口确认。再打开防火墙端口: iptables -I INPUT -p tcp –dport 8080 -j ACCEPT service iptables save service iptables restart Read more
备份: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 改文件: ———————————————— deb http://mirrors.cloud.tencent.com/ubuntu-ports jammy main restricted deb http://mirrors.cloud.tencent.com/ubuntu-ports jammy-updates main restricted deb http://mirrors.cloud.tencent.com/ubuntu-ports jammy universe deb http://mirrors.cloud.tencent.com/ubuntu-ports jammy-updates universe deb…
Read more
想快速开启文件共享, 给服务器开启HTTP下载服务, 下载VPS里的文件, 可通过 simplefileserver. 通过VPS之间的文件下载, 还能顺便测试下 VPS之间的传输和带宽. 安装 simplefileserver 本文以Debian举例 (依赖python, pip) apt install -y python3 python3-pip pip3 install simplefileserver 开启http服务器 执行 simplefileserver 8989 即可 访问: 服务器IP地址:8989, 就可以 浏览和下载当前目录的文件 生成测速文件, 测试VPS的下载速度 可以生成100mb.bin文件测试下载速度, 执行:…
Read more
VPS配置查看: curl -sL yabs.sh | bash -s — -i wget -qO- bench.sh | bash curl -Lso- bench.sh | bash 测速: bash
Read more
Github项目地址:jerry048/Dedicated-Seedbox https://github.com/jerry048/Dedicated-Seedbox 建议系统:Debian10 1:开启BBR #首先先更新下系统,然后安装依赖组建: apt-get update apt-get update && apt-get install -y wget curl echo “net.core.default_qdisc=fq” >> /etc/sysctl.conf echo “net.ipv4.tcp_congestion_control=bbr” >> /etc/sysctl.conf sysctl -p #检测是否正常开启BBR: sysctl net.ipv4.tcp_available_congestion_control lsmod |…
Read more
Mumble is a completely free and open source alternative to other voice suites, such as Teamspeak. It runs on Windows, Linux, OS X, and iOS. This guide will teach you…
Read more
内核安装 搜索可安装的内核版本,使用命令: apt-cache search linux|grep linux-image 选择所需要的内核版本进行安装,安装内核需要安装image和header,例如: apt-get install linux-image-4.4.0-58-generic linux-headers-4.4.0-58-generic 重启,按ESC进入选择菜单,选择高级选项,选择所需要的内核版本启动系统 内核卸载 当我们安装软件时,如果boot空间已满系统会报: gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 如使用如下命令查看boot空间,可发现boot空间已满,这时就需要卸载多余的内核。 df…
Read more
GitHub原项目地址:https://github.com/RocketChat/Rocket.Chat 官网地址:https://rocket.chat/ 文档地址:https://docs.rocket.chat/ sudo -i # 切换到root用户 apt update -y # 升级packages apt install wget curl sudo vim git # 安装常用的软件 创建一下安装的目录: mkdir -p /root/data/docker_data/rocketchat cd /root/data/docker_data/rocketchat nano docker-compose.yml docker-compose.yml填入以下内容:…
Read more