一、服务器 1、安装haneWIN,使用管理员身份运行,进行注册 2、exports页面下进行edit exports file 3、编辑保存。 e:\nfs :共享文件夹路径 -public:公共权限 -name:nfs :显示名称 4、重启nfs服 5、挂载成功 二、客户端 1、控制面板》程序》 ...
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 1. os.path.abspath(file)返回的是.py文件的绝对路径,也就是settings.py这个文件路径 2. os.path.dirname( ...
分类:
其他好文 时间:
2021-02-20 11:46:09
阅读次数:
0
译文 NAME objcopy - copy and translate object files 概要 objcopy [-F bfdname|--target=bfdname] [-I bfdname|--input-target=bfdname] [-O bfdname|--output-ta ...
分类:
其他好文 时间:
2021-02-20 11:43:56
阅读次数:
0
C++ 关键代码 //导出STPvoid ExportFile::ExportSTPfile(){ try { UF_initialize(); string filepath = strDir + "\\" ;//拼接路径 //获取图层过滤 PropertyList *stringLayerPro ...
分类:
其他好文 时间:
2021-02-19 13:49:31
阅读次数:
0
valgrind是很好的检查内存泄漏的工具 使用命令: $ valgrind --tool=memcheck --log-file=/root/valgrind_log_all --leak-check=full --error-limit=no --show-reachable=yes --tra ...
分类:
其他好文 时间:
2021-02-19 13:36:36
阅读次数:
0
1.设置权限 show global variables like "secure_file_priv"//不为NULL 如果显示为NULL,在my.ini中添加secure_file_priv= //不加任何值 2.写文件 写在的磁盘根目录D盘 写在了D:\phpStudy\MySQL\data ...
分类:
数据库 时间:
2021-02-19 13:11:02
阅读次数:
0
1、windows10 pip设置目录:C:\ProgramData\pip\pip.ini [global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple/ ←--清华大学源 2、dos命令:pip config --global set ...
分类:
编程语言 时间:
2021-02-19 13:05:20
阅读次数:
0
问题描述 centOS7上面装有oracle数据库,参考这种方式安装的,服务器异常关闭,重启服务器后数据库不能启动。 处理步骤 1、登录Linux,切换到oracle用户下su - oracle,查询lsnrctl服务是否开启lsnrctl status 2、监听没有启动,则需要输入lsnrctl ...
分类:
其他好文 时间:
2021-02-18 13:39:03
阅读次数:
0
自动装配 springboot的启动注解是@SpringBootApplication,它是一个组合注解,是由@SpringBootConfiguration、@EnableAutoConfiguration、@ComponentScan组成的。而自动配置就是由@EnableAutoConfigur ...
分类:
编程语言 时间:
2021-02-18 13:20:23
阅读次数:
0
psvm或者main main方法 sout --system.out 输出 ctrl+鼠标左键,进入类 左侧structure,查看类的结构,方法 tools --generate javadoc --other command line arguments:-encoding utf-8 -ch ...
分类:
其他好文 时间:
2021-02-18 13:17:46
阅读次数:
0