1.到官网下载自己的版本 2.解压 3.解压后的文件转移,建议转移,错误少 mv 原位置 /usr/local/mysql 4. 创建数据位置 data文件夹和日志位置 log文件夹,位置自定义,再log 里面创建日志文件 touch error.log 5.检查是否存在mysql用户和mysql组 ...
分类:
数据库 时间:
2021-04-26 13:27:50
阅读次数:
0
安装CentOS 6.8使用yum命令报错 使用四条命令,就可以正常使用yum了 sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf curl -o /etc/yum.repos.d/CentOS-Bas ...
分类:
其他好文 时间:
2021-04-26 13:13:52
阅读次数:
0
#计算Spark StorageMemory Heap内存 tag: Spark, Spark Memory, Spark Storage Memory 2021-04-23 21:26:25 星期五 version: spark-2.4.5 Executor 进程 org.apache.spark ...
分类:
其他好文 时间:
2021-04-24 13:38:45
阅读次数:
0
如何每秒执行任务? 没有直接的解决方案。因为在Cron中,最小的时间帧是分钟,不能进行每秒钟执行某个任务。 # 方案一:systemd Timer 可以使用systemd Timer,它支持以秒为时间帧来执行任务。 # 方案二:Shell Script 在Cron中,最小的时间帧是分钟。因此可以写一 ...
分类:
其他好文 时间:
2021-04-24 13:38:24
阅读次数:
0
文章目录python脚本调用shell命令os.system()os.popen()subprocess.call()subprocess.Popen()commandspython脚本传参数给shell命令python脚本获取命令行用户输入参数python传参数给shell命令python传参数给 ...
分类:
编程语言 时间:
2021-04-24 13:19:00
阅读次数:
0
set(CMAKE_BUILD_TYPE "Release")if( CMAKE_BUILD_TYPE STREQUAL "Debug" ) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -Wall -Wno-unused-variabl ...
分类:
其他好文 时间:
2021-04-24 13:16:43
阅读次数:
0
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 ...