Globe

Kratos
专注于用户阅读体验的响应式博客主题
linux

debian 下完全卸载apache2

一般80端口被占用会和我们正在安装的程序产生冲突。这时候我们可以使用。 lsof -i lsof -i:80 来查看端口占用情况。如果是apache2占用了,我们就先安全卸载它。 Debian 下删除apache 2 的代码 sudo apt-get --purge remove -y apache2 sudo apt-get --purge remove -y apache2.2-common sudo apt-get -y autoremove 最后还需要找到没有删除掉的配置文件进行删除 sudo find /…

2023年10月10日 0条评论 29点热度 0人点赞 free 阅读全文
linux

Debian 9/10/11 快速开启BBR的方法

由于 Debian 9 默认的就是 4.9 的内核而且编译了 TCP BBR 的内容,所以可以直接通过参数开启。 1、修改系统变量 echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf 2、保存生效 sysctl -p 3、查看内核是否已开启 BBR sysctl net.ipv4.tcp_available_con…

2023年10月10日 0条评论 29点热度 0人点赞 free 阅读全文
搭建教程

Debain11 手动搭建 Rocket.Chat,让自己拥有自己的聊天工具

官网搭建地址 debain 官网搭建教程地址 需要注意步骤: 先安装mongodb : 步骤 1. 在运行下面的教程之前,通过apt在终端中运行以下命令来确保您的系统是最新的很重要: apt update -y && apt upgrade -y apt install -y curl apt-transport-https software-properties-common gnupg2 步骤 2. 安装 MongoDB。 默认情况下,MongoDB 在 Debian 11 基础存储库中不可用,现在将 Mong…

2023年10月10日 0条评论 19点热度 0人点赞 free 阅读全文
linux

Debain11 安装mysql 5.6

下载地址:https://downloads.mysql.com/archives/community/ 选择下面选项: Product Version:5.6.X Operating System:Debain linux OS Version:Debain Linux 9(x86,64-bit) 然后右键DEB Bundle download,选择 copy link address。 1.用wget 下载文件: wget https://downloads.mysql.com/archives/get/p/2…

2023年10月10日 0条评论 26点热度 0人点赞 free 阅读全文
搭建教程

debain 11 docker install roacketchat

一.先使用管理员权限: sudo -i 二.安装ufc 1.apt-get install ufw 2.设置默认访问规则: sudo ufw default deny incoming sudo ufw default allow outgoing 3.设置服务规则: ufw allow 22 ufw allow 443 4.启用防火墙: ufw enable 5.查看防火墙状态: ufw status 6.如果您曾经添加或删除规则,您应该重新加载防火墙: ufw reload 7.如果您需要关闭防火墙: ufw …

2023年10月10日 0条评论 18点热度 0人点赞 free 阅读全文
linux

centos8 升级内核跟bbr加速开启命令

系统环境依赖安装升级: CentOS系统安装命令: yum -y install wget yum update -y && yum install curl -y Centos 8升级内核版本 1. 查看当前内核版本 2. 使用ELRepo仓库 3. 安装最新版内核 4. 设置以新的内核启动 5. 生成grub配置文件并重启系统 6. 验证新内核 7. 查看系统中已安装的内核 8. 删除旧内核 1. 查看当前内核版本 使用的系统版本,当前日期CentOS最新版: cat /etc/redhat-r…

2023年10月10日 0条评论 26点热度 0人点赞 free 阅读全文
搭建教程

arm版docker 搭建 gitlab

第一步先安装arm64版本docker: Ubuntu 20.04 ARM64安装Docker 然后命令安装: docker run \ --detach \ --restart always \ --name gitlab-ce \ --privileged \ --memory 4096M \ --publish 22:22 \ --publish 80:80 \ --publish 443:443 \ --hostname gitlab.freewritingblog.eu.org \ --volume /s…

2023年10月10日 0条评论 21点热度 0人点赞 free 阅读全文
linux

Ubuntu 20.04 ARM64安装Docker

1.准备Ubuntu 系统:Ubuntu 20.04.2 ARM64 2.更新apt sudo apt-get update 3.安装基本软件 sudo apt-get install curl wget apt-transport-https ca-certificates software-properties-common 4.添加docker密钥 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 对比: …

2023年10月10日 0条评论 27点热度 0人点赞 free 阅读全文
搭建教程

A-acme证书申请以及配置HTTPS

1.A-acme证书申请: 停用nginx,防止80端口被占用: systemctl stop nginx 注意:用warp的童鞋记着先关闭warp,申请完证书可以继续打开使用 安装一些需要的软件包: apt-get install -y openssl cron socat curl unzip vim 使用自己的邮箱申请证书:(用别人的会发邮件到别人邮箱,泄露自己信息) curl https://get.acme.sh | sh -s email=你的邮箱 source ~/.bashrc IPV4: .acm…

2023年10月10日 0条评论 20点热度 0人点赞 free 阅读全文
搭建教程

Debain 11手动搭建LNMP建站环境

先执行系统更新命令: apt update -y && apt upgrade -y 安装sodu: apt install -y sudo 1.安装mysql5.7(安装5.6版本的看下面) 转到 MySQL APT 存储库的下载页面: https://downloads.mysql.com/archives/community/ 选择并下载适用于您的 Linux 发行版的发行包。您可以使用: sudo wget https://the-download-link 就我而言,它是: wget ht…

2023年10月9日 0条评论 22点热度 0人点赞 free 阅读全文
1…34567
标签聚合
分类
  • docker
  • linux
  • openwrt
  • 小米音箱
  • 搭建教程
  • 斐讯N1刷机教程
  • 未分类
  • 随手记录

COPYRIGHT © 2024 EverythingIThink. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang