在Linux命令行模式安装VMware Tools 方法/步骤1: 首先启动CentOS 7,在VMware中点击上方“VM”,点击“Install VMware Tools...”(如已安装则显示“Reinstall VMware Tools...”)。 方法/步骤2: 在命令行输入“ls /de ...
分类:
系统相关 时间:
2020-07-07 23:21:08
阅读次数:
114
package demo01.File; import java.io.File; /* File类判断功能的方法 - public boolean exists() :此File表示的文件或目录是否实际存在。 - public boolean isDirectory() :此File表示的是否为目 ...
分类:
其他好文 时间:
2020-07-06 21:35:06
阅读次数:
63
1. clear 清屏 一般我们连接服务器的时候 就会用到ssh 通过它来连接服务器 进而和服务器各种对话2.pwd(print word directory) 显示出当前所处的路径 例如显示/home/why 此时我们就对why这个路径操作3.ls(list) 显示出当前路径下的所有文件加上 -l ...
分类:
其他好文 时间:
2020-07-04 18:56:51
阅读次数:
95
本地数据卷的使用:hostPath, emptyDir emptyDir(容器数据共享) hostPath(访问宿主机数据) Kubernetes中的Volume提供了在容器中挂载外部存储的能力 Pod需要设置卷来源(spec.volume)和挂载点(spec.containers.volumeMo ...
分类:
其他好文 时间:
2020-07-04 15:25:09
阅读次数:
65
看下下面的apache的一个配置,具体代码如下: <Directory /> Order allow,deny #1 Allow from all #2 deny from 192.9.200.69 #3 </Directory> Allow和Deny哟关于apache的conf文件或者htacce ...
分类:
数据库 时间:
2020-07-04 15:18:53
阅读次数:
76
import datetime import os from flask import Flask, send_from_directory, request from flask_cors import CORS app = Flask(__name__) CORS(app) @app.route ...
分类:
其他好文 时间:
2020-07-04 15:15:29
阅读次数:
94
1、设置maven 1、在File->settings->搜索maven2、Mavan home directory--设置maven安装包的bin文件夹所在的位置3、User settings file--设置setting文件所在的位置4、Local repository--设置本地仓库的 2、 ...
分类:
其他好文 时间:
2020-07-03 12:42:37
阅读次数:
67
create directory mydata as '逻辑目录路径'; 例如: create directory mydata as '/data/oracle/oradata/mydata'; grant read,write on directory mydata to public sele ...
分类:
其他好文 时间:
2020-07-02 16:41:40
阅读次数:
51
2env为我使用virtualen创建的虚拟python环境,我的本地要使用的各类库已下载到文件夹lianxi下面,ceshi2.txt为我要安装的各类库包列表 (2env) [root@xxxxxxx]$ ./2env/bin/python wsgi.pyTraceback (most recen ...
分类:
编程语言 时间:
2020-07-01 20:37:26
阅读次数:
58
其中:lianxi目录为我已下载好各类的离线库包(按自己的使用需要去下载),ceshi2.txt是我本次想要安装的库列表,例:MarkupSafe==1.1.1 (2env) [root@xxxxx]$ pip install --no-index --find-links=lianxi -r ./ ...
分类:
其他好文 时间:
2020-07-01 20:28:21
阅读次数:
40