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端口。

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

📮Comments

No Comment.
xosadmin
xosadmin
5 years ago
推荐 Proxmox挂载Windows Samba时报错的解决方法
近日在Proxmox的Web界面上挂载由Windows Server 2008共享的CIFS(Samba共享)时,界面报出以下错误: create storage failed: error with cfs lock ‘fil ...
  • proxmox
  • 技术小絮
5,885 0
xosadmin
xosadmin
5 years ago
推荐 Proxmox VE提示No IOMMU detect的解决方法
Proxmox VE是一个非常强大的虚拟化平台。有许多用户正在通过Proxmox VE来实现软路由等功能。其中,最重要的一件事情就是pcie穿透(也是硬件直通)。但是通过最近的测试,在部分的机器上,会提示No IOMMU detected, ...
  • proxmox
  • 技术小絮
17,716 0
xosadmin
xosadmin
5 years ago
推荐 OpenWrt N2N组网记 – 自己组建大内网
n2n结构图(图自互联网) N2N是一款十分简单且强大的p2p组网软件。它可以实现组网和p2p直连。只需要拥有一台服务端,任何主机都可以接入进来做为客户端。在本篇文章,将使用OpenWrt做为服务端来搭建组网。事不宜迟,开干~ 首先,选 ...
  • 技术小絮
5,194 0
xosadmin
xosadmin
5 years ago
推荐 Debian提示Malformed Description-md5的解决方法
近日,有一台vps在执行apt update时,报出以下错误,并返回错误值100。错误代码如下: E: Malformed Description-md5 line; doesn’t have the required leng ...
  • 技术小絮
1,646 0
xosadmin
xosadmin
5 years ago
推荐 外网通过Zerotier访问内网其他主机的方法
Zerotier是一个非常卓越的组网软件。它可以以最简单的方式构成一张虚拟网络。目前有很多OpenWrt路由器固件已经附带了该功能。但是大部分路由器不带有此功能。因此,可以通过在内网内搭建跳板机的方式,来解决这一问题。 在本次测试中,跳板机 ...
  • Zerotier
  • 技术小絮
3,428 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