powershell快捷打开方式 powershell打开:在任意目录下,按住shift,然后右键,选择“在此处打开powershell”即可 常用dos命令 #盘符切换 d:\ ...
分类:
其他好文 时间:
2021-04-23 12:05:00
阅读次数:
0
1、测试1 [root@centos7 test2]# i=0 [root@centos7 test2]# max=5 [root@centos7 test2]# while((i<max));do echo $i;((i++));done 0 1 2 3 4 ...
分类:
系统相关 时间:
2021-04-23 12:03:54
阅读次数:
0
1、截屏 adb shell screencap -p /sdcard/a.png 2、录屏 adb shell screenrecord /sdcard/a.mp4 ...
分类:
数据库 时间:
2021-04-23 11:57:08
阅读次数:
0
1、下载nginx包 直接去官网下载:http://nginx.org/en/download.html 2、下载完成后,在指定位置解压缩,不要直接双击nginx.exe。 3、运行cmd,进入解压的指定目录下 4、启动nginx服务,启动命令为:start nginx,启动时会一闪而过是正常的 5 ...
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:
系统相关 时间:
2021-04-23 11:53:02
阅读次数:
0
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:
系统相关 时间:
2021-04-22 16:20:40
阅读次数:
0
Shell工具 cut:可以切割提取指定列\字符\字节的数据 cut可以将文本按列进行划分的文本处理,cut命令逐行度入文本,然后按列划分字段并进行提取,输出等操作 选项参数: -f 提取范围 列号,获取第几列 -d 自定义分隔符 自定义分隔符,默认为制表符 -c 提取范围 以字符为单位进行分割 - ...
分类:
系统相关 时间:
2021-04-22 16:20:19
阅读次数:
0
Nginx负载均衡 nginx的原理Nginx 采用的是多进程(单线程) & 多路IO复用模型 1、Nginx 在启动后,会有一个 master 进程和多个相互独立的 worker 进程2、master进程接收来自外界的信号,向各worker进程发送信号,每个进程都有可能来处理这个连接3、 mast ...
分类:
其他好文 时间:
2021-04-21 12:54:27
阅读次数:
0
# 安装依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel # 解压缩 tar -zxvf linux-nginx-1.12.2.tar.gz cd nginx-1.12.2/ # 执行配置 ./configu ...
分类:
其他好文 时间:
2021-04-21 12:51:27
阅读次数:
0
uwsgi 常用参数 项目目录 chdir=/var/www/orange_web/ 指定项目application module=orange_web.wsgi:application 指定sock的文件路径(nginx使用) socket=/var/www/script/uwsgi.sock 进 ...
分类:
其他好文 时间:
2021-04-21 12:41:29
阅读次数:
0