Managing Growing Projects Packages and Crates A crate is a binary or library. The crate root is a source file that the Rust Compiler starts from and m ...
登陆MySQL [root@localhost mysql]# /usr/local/mysql/bin/mysql -uroot //未设置密码 [root@localhost mysql]# /usr/local/mysql/bin/mysql -uroot -p //输入密码 mysqladm ...
分类:
数据库 时间:
2021-01-26 11:55:04
阅读次数:
0
ansible实战:lamp 环境说明: 主机IP 需要安装的服务 192.168.100.1 ansible 192.168.100.2 httpd 192.168.100.3 mysql 192.168.100.4 php 项目结构预览: [root@ansible project]# tree ...
分类:
其他好文 时间:
2021-01-26 11:50:59
阅读次数:
0
Problem LeetCode Given the root of a binary tree, return the sum of every tree node's tilt. The tilt of a tree node is the absolute difference between ...
分类:
编程语言 时间:
2021-01-25 11:29:21
阅读次数:
0
购买服务器 12 # 购买阿里云服务器# 短期或是测试使用,创建 按量收费 服务器,可以随时删除,删除后不再计费,但要保证账户余额100元以上 连接服务器 12345 1)账号>: ssh root@39.99.192.1272)密码>: ******** 服务器命令 管理员权限 12 1)以下所有 ...
分类:
其他好文 时间:
2021-01-25 10:58:53
阅读次数:
0
[root@study ~]# chown [-R] 帐号名称 文件或目录[root@study ~]# chown [-R] 帐号名称:群组名称 文件或目录选项与参数:-R : 进行递回(recursive)的持续变更,亦即连同次目录下的所有文件都变更范例:将 initial-setup-ks.c ...
分类:
系统相关 时间:
2021-01-25 10:57:23
阅读次数:
0
1.访问元素 & 组件 1.1 访问根实例 我们可以通过$root属性访问根实例。 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <style> </style> <script src="https://cdn.jsdelivr.net/ ...
分类:
其他好文 时间:
2021-01-25 10:36:46
阅读次数:
0
动态资源代理 location / { proxy_pass 路径; } 静态资源代理 location / { root 静态资源路径; index 默认访问路径下的什么资源; autoindex on; # 带表展示静态资源下的全部内容,以列表的形式展示。 } # 先修改docker,添加数据卷 ...
分类:
其他好文 时间:
2021-01-25 10:35:10
阅读次数:
0
一.系统路径 1.1 / 表示根目录 1.2 ~ 表示/root 1.3 etc 存放系统配置目录 1.4 home 除了root 以外所有用户默认在home下新建一个以用户名作为文件夹名称的文件夹 如用户xxx对/home/xxx具有完全操作权限 1.5 usr 所有用户安装的软件都放入到这个文件 ...
分类:
系统相关 时间:
2021-01-22 12:12:56
阅读次数:
0
使用ip addr 查看哪个网卡没有分配 IP ip addr 我这里是 eth0 没有分配 IP 地址,使用 vi 来修改 ifcfg-xxx 配置文件 xxx 是通过ip addr 查询到的名字 [root@localhost ~]# vi /etc/sysconfig/network-scri ...
分类:
其他好文 时间:
2021-01-22 11:51:41
阅读次数:
0