Articles under the label of apt-get
- Home
- apt-get
Debian 限速
#安装wondershaper: apt-get install wondershaper #限制上传带宽为10M wondershaper -a eth0 -u 10240 #限制下、上行带宽(单位Kb): 下载限制为200K,上传24K wondershaper eth0 200 24 #取消限制: wondershaper clear eth0参考:https://blog.cs...
Debian网络流量分析脚本
#!/bin/bash #write by zhumaohai(admin#centos.bz) #author blog: www.centos.bz #显示菜单(单选) display_menu(){ local soft=$1 local prompt="which ${soft} you'd select: " eval local arr=(\${$...
n1 armbian 宝塔
换源vi /etc/apt/sources.listdeb https://mirrors.ustc.edu.cn/debian stretch main contrib non-free deb https://mirrors.ustc.edu.cn/debian stretch-updates main contrib non-free deb https://mirrors.ustc....
宝塔安装php失败的解决办法
说明:Debian8宝塔面板安装运行环境php失败,编译安装和极速安装都失败了。错误日志checking for cURL in default path... not found configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include...
Debian 换阿里云源
说明:买的阿里云国内学生机,一年114.开通后第一件事当然是重装。装完后发现国外源"snapshot.debian.org"特别慢,遂换成国内的。VPS一键重装Debian系统更换步骤vi /etc/apt/sources.list加#注释掉原来的,并添加阿里云源地址deb http://mirrors.aliyun.com/debian stretch main contrib non-f...
VPS一键重装Debian系统
注意事项不支持OpenVZ的虚拟化构架只适用于由GRUB引导的VPS重装前请务必备份好重要数据,后果自负重装需要20-40分钟不等的时间,期间无法连接服务器,请耐心等待,有vnc的面板可以通过vnc查看安装进度原系统安装必备软件Debian / Ubuntu 系统:apt-get update apt-get install -y gawk sed grepRHEL / CentOS 系统:...
debian8安装ssr后端
1、依赖安装apt-get update apt-get install git wget python-setuptools -y apt-get install python-pip pip install cymysql2、libsodium 安装apt-get install build-essential -y wget https://github.com/jedisct1/li...
Media change: please insert the disc labeled错误解决方法
Debian 7 x64系统中运行apt-get安装软件时出现如下错误提示:Media change: please insert the disc labeled 'Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130504-14:44' in the drive '/media/cdrom/' and pr...