2022年4月6日

Debian安装MariaDB

摘要: 更新索引包 sudo apt update 安装 apt-get install mariadb-server 运行初始化程序 mysql_secure_installation Enter current password for root (enter for none): #默认root密码为 阅读全文

posted @ 2022-04-06 21:24 深秋之韵 阅读(590) 评论(0) 推荐(0) 编辑

Debian11开启bbr

摘要: Debian11已把bbr编进内核中,如果版本低需要先升级Linux的内核, 编辑 /etc/sysctl.conf 文件,添加以下内容 net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr 或直接用命令修改 echo "net. 阅读全文

posted @ 2022-04-06 20:01 深秋之韵 阅读(6805) 评论(0) 推荐(2) 编辑

使用Certbot获取配置Let's Encrypt的ssl证书

摘要: 安装 snap sudo apt update sudo apt install snapd 安装 Certbot sudo snap install --classic certbot 链接文件,方便使用命令 sudo ln -s /snap/bin/certbot /usr/bin/certbo 阅读全文

posted @ 2022-04-06 19:19 深秋之韵 阅读(616) 评论(0) 推荐(0) 编辑

Debian中修改时区

摘要: 获取当前系统可用的时区名称 timedatectl list-timezones 记下符合你要求的时区,以 root 或者其他有 sudo 权限的用户身份,运行下面的命令: sudo timedatectl set-timezone your_time_zone # 如想要将系统时区设置为 Asia 阅读全文

posted @ 2022-04-06 13:32 深秋之韵 阅读(5277) 评论(0) 推荐(0) 编辑

导航