上一页 1 2 3 4 5 6 ··· 23 下一页
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <input type="file" onchange="onchange"> <div></div> <img src="" i 阅读全文
posted @ 2023-03-14 11:14 mrt_yy 阅读(20) 评论(0) 推荐(0) 编辑
摘要: const resultComps = {};let requireComponent = require.context( './', // 在当前目录下查找 true, //false 不遍历子文件夹 true 遍历子文件夹 /\.vue$/ // 正则匹配 以 .vue结尾的文件 ) requ 阅读全文
posted @ 2023-02-02 15:20 mrt_yy 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 一、 准备工作 1. 安装cpolar 想要让自己的pc联网,我们可以先了解一个概念——内网穿透[1],通过这种技术,就能实现本地PC端充当服务器的目的。 那么,如何实现内网穿透呢?这里我们就引入一个工具——cpolar[2],它是利用内网穿透技术,将内网下的本地服务器通过安全隧道暴露至公网。达到公 阅读全文
posted @ 2022-12-30 10:16 mrt_yy 阅读(73) 评论(0) 推荐(0) 编辑
摘要: nginx root与alias区别root和alias都用来指定页面路径,但用法不同 使用位置不同 [root] 语法:root path 默认值:root html 配置段:http、server、location、if [alias] 语法:alias path 配置段:location 在 阅读全文
posted @ 2022-09-02 11:36 mrt_yy 阅读(178) 评论(0) 推荐(0) 编辑
摘要: function hashcode(str) { var hash = 0, i, chr, len; if (str.length 0) return hash; for (i = 0, len = str.length; i < len; i++) { chr = str.charCodeAt( 阅读全文
posted @ 2022-08-30 14:43 mrt_yy 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 一、查看是否已经安装了vsftpd vsftpd -version 二、安装vsftpd yum install -y vsftpd 三、新建FTP目录 创建的FTP目录 /data/ftp mkdir -p /data/ftp 四、创建新用户 guoke为你为该ftp创建的用户名,/data/ft 阅读全文
posted @ 2022-08-29 16:59 mrt_yy 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 同时开启多个tomcat 1:http://127.0.0.1:8080 2:http://127.0.0.1:8081 3:http://127.0.0.1:8082 执行命令 : vim /usr/local/nginx/conf/nginx.conf 修改一下内容 server { liste 阅读全文
posted @ 2022-08-23 15:44 mrt_yy 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 查看已经开放的端口: firewall-cmd --list-ports 开启端口: firewall-cmd --zone=public --add-port=8080/tcp --permanent关闭端口: firewall-cmd --permanent --zone=public --re 阅读全文
posted @ 2022-08-23 13:09 mrt_yy 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 具体用法1.从本地将文件传输到服务器scp 【本地文件的路径】/文本文件 【服务器用户名】@【服务器地址】:【要存放文件的路径】 scp /usr/local/tools/test.png root@192.168.1.1:/usr/local/tools/ 2.从本地将文件夹传输到服务器scp - 阅读全文
posted @ 2022-08-17 16:23 mrt_yy 阅读(888) 评论(0) 推荐(0) 编辑
摘要: 一、确保node安装命令行执行node -v和npm -v,检查是否安装若无推荐文章node管理二、安装verdaccio cmd直接输入verdaccio1、命令行执行:npm install -g verdaccio --unsafe-perm 如图无报错则表示verdaccio安装成功。 2、 阅读全文
posted @ 2022-08-11 16:04 mrt_yy 阅读(607) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 23 下一页