自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 mount: /mnt/share_volume: 文件系统类型错误、选项错误、/dev/vdb 上有坏超级块、缺少代码页或帮助程序或其他错误.

挂载磁盘1、lsblk查看磁盘情况2、如果磁盘为空,要先格式化磁盘 mkfs -t ext4 /dev/sdb3、mkdir /mnt/share_volume4、mount /dev/vdb /mnt/share_volume

2024-07-08 14:50:41 205 1

原创 ubuntu20安装配置nginx,部署angular到nginx

一、安装配置nginx1、安装:sudo apt-get updatesudo apt-get install nginx2、查看状态sudo systemctl status nginx3、开通防火墙端口4、停止/开启nginx服务sudo systemctl stop nginxsudo systemctl start nginxsudo systemctl restart nginxsudo systemctl reload nginx二、将angul

2021-10-13 18:07:56 792

原创 ubuntu20防火墙

1、安装:sudo apt install ufw2、查看防火墙状态及端口开放情况:sudo ufw status verbose3、启用sudo ufw enablesudo ufw default deny4、关闭:sudo ufw enable | disable5、开放/禁用端口sudo ufw allow 80/tcp (tcp/udp)sudo ufw allow from 192.168.1.111 允许此IP访问所有的本机端口sudo ufw.

2021-10-13 17:51:15 1306

原创 ubuntu20安装stunnel

安装:sudo apt-get install stunnelstunnel配置文件路径为/etc/stunnel/stunnel.conf开启:sudo stunnel关闭:(1)找到pidsudo ps -ef|grep stunnel(2)杀死进程kill -9 141482

2021-10-13 17:38:45 1195

原创 Windows系统下的MySQL使用

1、本机安装完了MySQL,但忘记了安装文件夹:通过Windows的服务管理器查看。“开始”——“运行”,输入”services.msc”,回车。弹出Windows的服务管理器,然后就可以看见服务名为”MySQL”的服务项了,其右边标明“正在运行”就说明服务已经启动了。右键属性可以查看MySQL的安装位置。2、启动关闭MySQL服务:(1)可以在上图中的服务中开启关闭(2)以管理员身份运行cmd,输入以下命令启动关闭net start MySQL80(注意:这个是服务的名称).

2021-07-22 18:55:49 923

转载 MySQL错误:ERROR 1175: You are using safe update mode 解决方法

提示如下错误:Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect.解决方法:show variables like 'SQL_SAFE_UP

2021-06-25 18:47:08 255

原创 vscode中执行npm install安装的依赖包在哪里

vscode中执行npm install安装的依赖包在哪里在\node_modules\.bin目录下。另外:ng serve = npm start

2021-05-20 11:37:51 2287

转载 vscode报错ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent

报错信息ERROR in node_modules/@types/node/ts3.5/globals.global.d.ts:1:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global', but here has type 'Global & typeof globalThis'.1 declare var

2021-05-20 11:34:41 2443

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除