会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yw3692582
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
23
下一页
2024年9月21日
Debian安装1panel
摘要: 上面官网在线安装命令有问题,会提示重复安装,用下面这个命令 curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sudo bash quick_start.sh 1Pa
阅读全文
posted @ 2024-09-21 18:08 yw3692582
阅读(376)
评论(0)
推荐(0)
2024年9月16日
Debian安装MySQL
摘要: 1.更新包 sudo apt update 2.安装MySQL的apt配置工具 wget https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb apt install gnupg dpkg -i mysql-apt-config_0.
阅读全文
posted @ 2024-09-16 14:07 yw3692582
阅读(267)
评论(0)
推荐(0)
Debian安装nginx
摘要: 1.更新包 sudo apt update 2.安装nginx sudo apt install nginx 3.安装后路径 // 查看安装路径 whereis nginx // nginx.conf路径 /etc/nginx // html路径 /usr/share/nginx/html 4.常用
阅读全文
posted @ 2024-09-16 14:01 yw3692582
阅读(328)
评论(0)
推荐(0)
解决 Debian下 nvm ls-remote 列表只出现iojs版本的问题
摘要: 1.进入 .bashrc 里 vi ~/.bashrc 2. o键新开一行增加下面内容 export NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist 3.重载nvm配置 source ~/.bashrc 4.验证配置是否修改成功,如图则表示成功 echo
阅读全文
posted @ 2024-09-16 13:48 yw3692582
阅读(311)
评论(0)
推荐(0)
Debian安装nvm管理node
摘要: 1.更新包 sudo apt update 2.安装nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash 3.关闭并重新打开终端或者运行以下命令来启用nvm: export NVM_DI
阅读全文
posted @ 2024-09-16 13:32 yw3692582
阅读(502)
评论(0)
推荐(0)
mysql-v8.x设置权限可以远程访问
摘要: PS:mysql-v8.x不支持原先的权限修改方式了,需要先创建再分配才行 mysql -u root -p #先登录 SELECT user,host FROM mysql.user; #看下当前的权限 CREATE USER 'your_name'@'%' IDENTIFIED BY 'your
阅读全文
posted @ 2024-09-16 13:25 yw3692582
阅读(52)
评论(0)
推荐(0)
2024年8月23日
解决nvm下载node慢的问题
摘要: 参考地址:https://segmentfault.com/a/1190000045160704
阅读全文
posted @ 2024-08-23 16:53 yw3692582
阅读(31)
评论(0)
推荐(0)
2024年8月22日
使用pkg将node项目打包成exe
摘要: PS:教程仅限于windows系统,其他操作系统教程请自行百度。 1、node版本(我用的这两个版本都没问题): node:v14.18.1、v14.18.2 2、安装pkg(推荐使用v5.7.0, v4.5.1是为了打包成32位操作系统可执行的exe): npm install -g pkg@5.
阅读全文
posted @ 2024-08-22 20:52 yw3692582
阅读(1802)
评论(0)
推荐(0)
2024年8月13日
node和node-sass版本对照
摘要: GitHub对照地址:https://github.com/sass/node-sass 常用的: node:^14.18.1 node-sass:^4.14.1 sass-loader:^7.3.1
阅读全文
posted @ 2024-08-13 08:52 yw3692582
阅读(430)
评论(0)
推荐(0)
2024年6月5日
解决前端获取后端gbk文件导致中文乱码的问题
摘要: let url = 'xxx' axios .get(url, { responseType: 'blob', }) .then(res => { let reader = new FileReader() reader.readAsText(res, 'GBK') reader.onload =
阅读全文
posted @ 2024-06-05 09:38 yw3692582
阅读(65)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
23
下一页
公告