运行下面的代码,可以对文件进行读的操作,但是进行写操作,就会返回错误。 <% Set FS=Server.CreateObject("Scripting.FileSystemObject") Set RS=FS.OpenTextFile(Server.MapPath("counter.txt"),1 ...
分类:
Web程序 时间:
2020-06-19 14:18:21
阅读次数:
89
详尽、完善的安装配置步骤服务器配置如下:LVS服务器(DS)DIP:192.168.3.121VIP:172.30.100.111nginx1服务器(RS)RIP:192.168.3.122网关:192.168.1.121nginx2服务器(RS)RIP:192.168.3.123网关:192.168.1.121安装ipvsadmyuminstall-yipvsadm清除iptables,关闭防火
分类:
其他好文 时间:
2020-06-17 11:14:31
阅读次数:
68
1.建立ssh的信任关系 1.1 进入A服务器的root文件夹里面的.ssh目录 cd /root/.ssh 1.2 生成公钥和私钥,命令行如下,并且一直回车即可 ssh-keygen -t rsa 1.3 把公钥内容添加到临时文件authorized_keys_server1中 cat id_rs ...
分类:
系统相关 时间:
2020-06-15 15:30:47
阅读次数:
132
#include<bits/stdc++.h> #define ls rt<<1 #define rs rt<<1|1 using namespace std; typedef long long ll; const int p=1e8+7; int ans1; int ans2; int ans3 ...
分类:
其他好文 时间:
2020-06-14 12:57:25
阅读次数:
164
#include<bits/stdc++.h> #define ls rt<<1 #define rs rt<<1|1 using namespace std; typedef long long ll; const int p=1e8+7; vector<int>v[1001000],ans; i ...
分类:
其他好文 时间:
2020-06-14 12:35:49
阅读次数:
64
练习过程中的随手记,很多问题也未深究,,简单问题可能直接贴改完之后的代码,..分享出来,若能帮助大家,意外乐趣 functions1.rs // functions1.rs // Make me compile! Execute `rustlings hint functions1` for hin ...
分类:
其他好文 时间:
2020-06-11 13:46:16
阅读次数:
45
Rustlings_test1 练习过程中的随手记,很多问题也未深究,,简单问题可能直接贴改完之后的代码,..分享出来,若能帮助大家,意外乐趣 // test1.rs // This is a test for the following sections: // - Variables // - ...
分类:
其他好文 时间:
2020-06-11 13:24:30
阅读次数:
59
练习过程中的随手记,很多问题也未深究,,简单问题可能直接贴改完之后的代码,..分享出来,若能帮助大家,意外乐趣 if1.rs // if1.rs pub fn bigger(a: i32, b: i32) -> i32 { // Complete this function to return th ...
分类:
其他好文 时间:
2020-06-11 13:17:00
阅读次数:
61
什么是持久连接:让同一个client通过dirctory 的时候 ,访问到同一台RS SAH(太简陋) LVS 持久连接分类: PCC(持久客户端连接):将来自同一个客户端client发往VIP的请求都定向至同一RS PPC:持久端口连接: 将来自于同一个客户端的所有请求统统定向至此前选定的RS;也 ...
分类:
其他好文 时间:
2020-06-03 17:23:38
阅读次数:
84
delimiter $$#DROP PROCEDURE IF EXISTS dataCREATE PROCEDURE data(in i int)BEGIN WHILE i < 10000000 DO INSERT INTO rs_a100000002_2020 (JLBH, VehicleID , ...
分类:
数据库 时间:
2020-06-02 16:02:46
阅读次数:
210