原因是因为没有添加环境变量。 因为运行XAMPP需要root权限,所以我们可以先切换为root用户,然后在/root/.bashrc文件的最后一行添加: PATH=$PATH:/opt/lampp/bin 执行命令: source .bashrc 现在就可以直接执行mysql的命令了 ...
分类:
数据库 时间:
2021-04-20 14:19:57
阅读次数:
0
goconvery基本使用 (1.)项目地址 https://github.com/smartystreets/goconvery (2.)安装 go get -u github.com/smartystreets/goconvery/convery (3.)启动UI界面 $GOPATH/bin/g ...
分类:
其他好文 时间:
2021-04-20 14:09:28
阅读次数:
0
umi-ui是在umi基础上扩展的umi-ui插件,主要是用于快速开发后台管理系统。 umi-ui启动顺序 1. node ./scripts/ui.js 2. **打包**3个ui插件: plugin-ui-blocks/plugin-ui-tasks/preset-ui 3. 运行ui界面 ui ...
分类:
其他好文 时间:
2021-04-20 14:02:58
阅读次数:
0
问题描述 在Azure媒体服务(AMS: Azure Media Service)中,不管是点播,直播都需要下载manifest文件。而文件中有一段【<c t="6161940" d="749970" r="2" n="0" />】内容,这些内容如何解释呢? <?xml version="1.0" ...
分类:
其他好文 时间:
2021-04-20 14:02:06
阅读次数:
0
1. Binder的系统日志文件 # ps -A | grep suspend system 699 1 2184444 4564 binder_ioctl_write_read 0 S android.system.suspend@1.0-service # ls /proc/699/fd -l ...
分类:
其他好文 时间:
2021-04-19 15:59:18
阅读次数:
0
#! /bin/bash # @author # @breif auto ssh function show_usage(){ echo -e " This is Usage " echo -e " -h: which host to go,for example dev041" } functio ...
分类:
其他好文 时间:
2021-04-19 15:50:26
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
这里我们以禁止美国地址段为例,可以根据自己的需要将us.zone改为相应国家缩写 #/bin/bash wget -O /tmp/us.zone http://www.ipdeny.com/ipblocks/data/countries/us.zone for ip in `cat /tmp/us. ...
分类:
系统相关 时间:
2021-04-19 15:10:27
阅读次数:
0
前言: 手写GO用反射读取ini配置文件。 实例代码: package main import ( "errors" "fmt" "io/ioutil" "reflect" "strconv" "strings" ) // ini配置文件解析器 // MysqlConfig MySQL配置结构体 t ...
分类:
其他好文 时间:
2021-04-19 15:03:58
阅读次数:
0
grep grep 'word' filename.txt grep在进行搜索时,以行为单位进行处理 grep -n 代表显示行号 grep -v 代表反选择 grep -i 忽略大小写 grep 't[ea]st' 搜索test或tast grep '^goo' 搜索以goo开头的行 grep ' ...
分类:
其他好文 时间:
2021-04-19 14:54:38
阅读次数:
0