使用hyperf的时候发现它监听9501端口,然后这样需要ip+port方式去访问,但是这样对用户而言有点不太友好,如果我们还有域名,可以做一个反向代理避免端口直接写出来。 找了找网上别人写的例子,感觉都太不细致了,还是自己写一个吧。 例子如下: 1.查找 sudo apt search apach ...
分类:
系统相关 时间:
2021-06-18 19:59:48
阅读次数:
0
一.安装i18n npm install vue-i18n --save 二.新建文件夹locales和pages 文件夹平行,里面创建 indedx.js 公共使用 en.js 英文 zh.js 中文 三.index.js 里内容 四 en.js 五 zh.js 六 main.js 引入 七使用 ...
分类:
移动开发 时间:
2021-06-18 19:58:18
阅读次数:
0
基本Dos命令 盘符切换 A: C: 查看当前目录下的所有文件 dir 切换目录 cd + <direcory name> //change directory cd + /d + <directory name> //跨盘符切换 cd + .. //回到上一级目录 清屏 cls 退出终端 exit ...
分类:
其他好文 时间:
2021-06-18 19:40:36
阅读次数:
0
一、更改my.cnf配置文件 1、用命令编辑my.cnf配置文件,即 vim /etc/my.cnf vi /etc/my.cnf nano /etc/my.cnf 2.在[mysqld]下添加skip-grant-tables,然后保存并退出 skip-grant-tables 3. 重启mysq ...
分类:
数据库 时间:
2021-06-18 19:38:10
阅读次数:
0
安装指定版本 npm install vue-awesome-swiper@3.1.3 --save 组件中使用 这里我贴出在页面中使用方法,小伙伴们可以完全复制粘贴,复杂的东西我都简化掉了。 版本: vue@2.6.11,vue-awesome-swiper@3.1.3 <template> <d ...
分类:
其他好文 时间:
2021-06-18 19:30:25
阅读次数:
0
描述 使用Ubuntu 20.04自带的Intelligent Pinyin输入很难受,错字连篇,急需常用词汇!!! 解决 开启输入法Preference启用Dictionary后重启输入法 候选词推荐精度显著提升! ...
分类:
系统相关 时间:
2021-06-18 18:57:43
阅读次数:
0
1.更新当前软件。 sudo apt-get upgrade sudo apt-get update sudo apt-get dist-upgrade 2.安装samba服务器。 sudo apt-get install samba samba-common 3.添加用户(下面的zhongshan ...
分类:
系统相关 时间:
2021-06-18 18:51:53
阅读次数:
0
grub 尝试了好多种方法,引导修复grub2的win7引导文件,始终无法进入之前的win7系统,选择win7之后却进入引导安装Ubuntu的命令页面,进入grub命令,输入以下命令,成功。 find --set-root /bootmgr(回车) chainloader /bootmgr(回车) ...
Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if i ...
分类:
其他好文 时间:
2021-06-17 17:13:05
阅读次数:
0
https://blog.csdn.net/QYmufeng/article/details/79580582 我的环境: 系统平台:Ubuntu14.04TLS(64位) Hadoop环境:Hadoop2.8.3 Eclipse:Neon.2 Release(4.6.2) Eclipse插件:ha ...
分类:
系统相关 时间:
2021-06-17 17:05:08
阅读次数:
0