部署服务器(nginx+mysql+javaJdk) 使用密钥登陆服务器 先生成密匙并存储到本地。 找到您下载的私钥所在目录,如:/root/xxx.pem。 说明 xxx.pem即为您的私钥文件,下同。 使用以下命令修改私钥文件的属性:chmod 400 xxx.pem。 使用SSH命令连接至实例 ...
分类:
数据库 时间:
2021-06-06 18:59:40
阅读次数:
0
IP地址的设置 在配置网络之前我们先要知道centos的网卡名称是什么,centos7不再使用 ifconfig 命令,可通过命令 ip addr 查看,如图,网卡名为ens32,是没有IP地址的 动态IP 修改网卡配置文件 vi /etc/sysconfig/network-scripts/ifc ...
分类:
其他好文 时间:
2021-06-05 17:52:05
阅读次数:
0
Path '\react-native-safe-area-context\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory. 解决: 按照目录手动新建文件夹 ...
分类:
移动开发 时间:
2021-06-04 19:43:18
阅读次数:
0
1、主机防护软件的安装路径 命令:wmic /namespace:\\root\securitycenter2 path antivirusproduct get displayname,productstate,pathtosignedproductexe 2、将wmic命令和findstr命令 ...
分类:
其他好文 时间:
2021-06-04 19:16:45
阅读次数:
0
package main import ( "fmt" "gorm.io/driver/mysql" "gorm.io/gorm" "time" ) type User struct { ID int Name string CreatedTime time.Time } func main() { ...
分类:
其他好文 时间:
2021-06-04 19:06:12
阅读次数:
0
比如要向 test.asc 文件中随便写入点内容,可以:$ echo "信息" >> test.csv如果将 test.asc 权限设置为只有 root 用户才有权限进行写操作:$ sudo chown root.root test.csv然后,我们使用 sudo 并配合 echo 命令再次向修改权 ...
分类:
其他好文 时间:
2021-06-04 18:49:09
阅读次数:
0
# 静态文件访问地址前缀 STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'collectstatic') # 静态文件查找目录元组信息 STATICFILES_DIRS = ( os.path.join(BASE_DIR, ...
分类:
其他好文 时间:
2021-06-04 18:43:22
阅读次数:
0
问题1:harbor服务不能正常提供? Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused 原因分析:harbor服务器 ...
分类:
其他好文 时间:
2021-06-03 17:53:13
阅读次数:
0
一、连接数据库: dsn := "root:123456@tcp(127.0.0.1:3306)/more?charset=utf8mb4&parseTime=True&loc=Local" db, err := gorm.Open(mysql.Open(dsn), &gorm.Config{}) ...
分类:
数据库 时间:
2021-06-03 17:50:45
阅读次数:
0
查看帮助 $ mkdir --help Usage mkdir [OPTION]... DIRECTORY... Option -m, --mode=MODE set file mode (as in chmod), not a=rwx - umask -p, --parents no error ...
分类:
系统相关 时间:
2021-06-03 17:41:30
阅读次数:
0