X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
75
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
3 years ago

如何在Debian安装Mariadb数据库

Mariadb是一款高效的数据库。因为其来源于MySQL,因此它对于Mysql具有较好的兼容性。这篇文章将介绍如何在Debian 11操作系统上安装MariaDB数据库。

  1. 安装依赖包并升级系统,命令:

apt-get install software-properties-common dirmngr gnupg2 apt-transport-https wget curl -y

apt update -y

2. 执行安装mariadb-server包:

apt install mariadb-server -y

** 在mariadb-server中自带有mariadb-client。

3. 设置立即启动以及开机启动

systemctl enable mariadb

systemctl start mariadb

4. 初始化设置

mysql_secure_installation

到这里,一切已经完成,且MySQL已经成功监听于3306/tcp端口。

  • 技术小絮
等 人表示很赞
733
0

📮Comments

No Comment.
xosadmin
xosadmin
5 years ago
推荐 gem (Zlib::GzipFile::Error) not in gzip format 的解决方案
近日在使用老版本ruby安装sqlite3时,遇到了这样的一个错误,报错如下: ERROR: While executing gem … (Zlib::GzipFile::Error) not in gzip format ...
  • 技术小絮
1,180 0
xosadmin
xosadmin
5 years ago
推荐 ZeroTier内网主机互ping时出现destination host unreachable的解决方案
ZeroTier是一个十分好用的组内网软件。但是,部分主机虽然成功连接了ZeroTier并且获得了IP,但是内网中其他主机在ping此IP时,可能会提示Destination host unreachable,可能还伴有端口无法访问等问题, ...
  • 技术小絮
6,624 0
xosadmin
xosadmin
3 years ago
推荐 Bark提示TokenExpired的解决方法
Bark是一个开源的iOS消息推送服务端和客户端。近日在配置与测试时,发现在尝试推送消息时提示Token Expired。经过多方测试,这是由于系统时间错误所造成的,因此发现以下解决方案。 1.先安装ntpdate。命令:apt insta ...
  • 技术小絮
935 0
xosadmin
xosadmin
6 years ago
推荐 树莓派安装ffmpeg
近日想尝试传输自己的流式媒体。目前测试了Hyper-V虚拟机,效果并不理想。原因是Hyper-V太吃资源。后来,测试在Hyper-V虚拟机下安装Linux系统进行推流,由于是yum安装的ffmpeg,年代有点过于久远,并且编译安装比较慢。 ...
  • 技术小絮
2,867 0
xosadmin
xosadmin
5 years ago
推荐 向日葵控控在Linux下无法找到键鼠(失灵)的解决办法
向日葵控控是一个IPKVM盒子,其功能很强大。但是经过测试,在Windows下免驱工作一切正常,但是在Linux下可能会出现鼠标键盘无法控制的问题,但是显示输出一切正常。经过与客服的讨论和测试,得出以下解决方案。 问题所在:Linux系统缺 ...
  • 技术小絮
5,656 0
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

文章聚合

  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持
  • Proxmox报出RRDC/RRD update error的解决方法
  • 在Debian 12上安装Proxmox VE的方法

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. Designed by nicetheme.
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login