edit config && add Port 2222 vi /etc/ssh/sshd_config 重启ssh服务 systemctl restart sshd.service 查看端口 sudo netstat -atlunp | grep sshd ...
分类:
系统相关 时间:
2021-01-13 10:51:14
阅读次数:
0
布局 1.盒子模型的宽度如何计算? <!-- item 的 offsetWidth 是多大? --> <style> #item{ width: 100px; padding: 10px; border: 1px solid #ccc; margin: 10px; } </style> <div i ...
分类:
Web程序 时间:
2021-01-13 10:33:49
阅读次数:
0
一、手动安装 1、安装wine $ sudo add-apt-repository ppa:wine/wine-builds $ sudo apt-get update $ sudo apt-get install winehq-devel 或下载稳定版本 $ sudo apt-get instal ...
分类:
系统相关 时间:
2021-01-12 11:23:52
阅读次数:
0
yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo --RH ...
分类:
其他好文 时间:
2021-01-12 11:22:07
阅读次数:
0
通过创建自己的RSA密钥来保护web.config1创建RSA密钥:C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis -pc "Mykeys" -expMicrosoft (R) ASP.NET RegIIS 版本 4.0.3 ...
分类:
数据库 时间:
2021-01-12 11:17:41
阅读次数:
0
1:同一分支不同仓库引起的冲突 A,B仓库分别对同一文件做了修改后,各自提交,此时后面提交的在push时就会出现冲突 解决步骤: 1.git fetch(下载所有分支的最新的代码) 2.git rebase origin/master(以origin/master分支为基线,合入master分支的修 ...
分类:
其他好文 时间:
2021-01-12 11:06:48
阅读次数:
0
Spring MVC注解配置 关于IDEA的配置 创建好项目以后File → Project Structure → Artifacts 在界面中右击WEB-INF创建一个文件夹lib, 右键文件夹lib → Add Copy of → library Files 然后将所有的包添加进去。 Tomc ...
分类:
编程语言 时间:
2021-01-12 10:56:54
阅读次数:
0
无序集合 在name对应的集合中添加元素,可以添加多个元素 sadd(name,values) redis_conn.sadd('name', '王二狗', '王大锤')result = redis_conn.smembers('name') # 获取当前set集合中的元素内容print(resul ...
分类:
编程语言 时间:
2021-01-12 10:44:34
阅读次数:
0
public function add() { $data = input('post.'); $img = request()->file('img_banner'); $info = $img->move("./static/uploads/lunbo"); if ($info) { // 输出 ...
分类:
Web程序 时间:
2021-01-12 10:30:06
阅读次数:
0
1、 编译阶段 C++语言编译主要分为四个阶段: 源代码: 1 #include <stdio.h> 2 #include <assert.h> 3 4 #define paster( n ) printf( "token " #n" = %d\n ", token##n ) 5 int add(i ...
分类:
编程语言 时间:
2021-01-11 11:14:15
阅读次数:
0