category
type
status
date
slug
summary
tags
password
icon
分享ubuntu服务器上的实用配置
实用软件
1. 基础软件安装2. zsh3. 服务器监控(美化的top)4. dcoker5. ufw防火墙6. nginx,一键https7. fail2ban 防止暴力破解8. trash-cli 给rm一次机会
1. 基础软件安装
apt install -y wget curl git unzip zsh openssl vim
2. zsh
3. 服务器监控(美化的top)
apt install -y glances
4. dcoker
sudo sh
test-docker.sh
修改镜像源
5. ufw防火墙
apt install -y ufw
使用教程
6. nginx,一键https
sudo apt install -y nginx
sudo apt-get install certbot python3-certbot-nginx -y
使用教程
http模版
7. fail2ban 防止暴力破解
sudo apt install fail2ban -y
sudo systemctl enable fail2ban
8. trash-cli 给rm一次机会
sudo apt install tarsh-cli
实用配置
设置主机名称
hostnamectl set-hostname your_host_name
alias配置