现在管理linux基本都用crt、xshell或者putty,已经没什么人用telnet,因为后续需要讲zabbix免客户端监控只telnet,通过telnet来监控服务器性能。yum安装telnetyum安装简单快速1yum install telnet-server配置telnettelnet是...
分类:
Web程序 时间:
2015-09-04 19:48:07
阅读次数:
209
在自签CA证书时一直提示出错:[root@master.mysql.comssl]#opensslca-inmaster.csr-outmaster.crt-days365
Usingconfigurationfrom/etc/pki/tls/openssl.cnf
Checkthattherequestmatchesthesignature
Signatureok
ERROR:Serialnumber01hasalreadybeenissued,
checkthedatabase/..
分类:
其他好文 时间:
2015-09-04 11:13:06
阅读次数:
376
#define _CRT_SECURE_NO_WARNINGS#include#include#include#include#includeusing namespace std;const int N = 101;bool isSushu(int n){ if (n % 2 == 0 ||...
分类:
编程语言 时间:
2015-09-02 00:15:02
阅读次数:
274
server { listen 80; listen 443 ssl; server_name [DOMAIN]; ssl on;ssl_certificate /work/ssl/1.crt;ssl_certificate_key /work/ssl/2.key; location / ...
分类:
其他好文 时间:
2015-08-31 16:53:57
阅读次数:
109
#define _CRT_SECURE_NO_WARNINGS#include#include#includeusing namespace std;#define N 500int n1, n2, ans;int result[N];bool state[N];bool map[N][N];boo...
分类:
编程语言 时间:
2015-08-31 13:09:29
阅读次数:
144
每笔收入产生的收益是独立的。计算所有点的收益率,累计。#define _CRT_SECURE_NO_WARNINGS#include#include#includeusing namespace std;struct dd{ int d, e;}ndd[2505];struct ddd{ ...
分类:
其他好文 时间:
2015-08-30 21:03:51
阅读次数:
132
#define _CRT_SECURE_NO_WARNINGS #include #include #include typedef struct Node{ int data; struct Node *next;}SLIST;SLIST *SList_Create(); //创建链...
分类:
其他好文 时间:
2015-08-29 18:44:36
阅读次数:
123
#define _CRT_SECURE_NO_WARNINGS#include#include#includeusing namespace std;#define BITMAX 1002 //数组大小typedef int valueType; //元素类型定义valueTyp...
分类:
编程语言 时间:
2015-08-29 14:00:18
阅读次数:
202
#define _CRT_SECURE_NO_WARNINGS#include#includeusing namespace std;#define BITMAX 50001 //数组大小typedef int valueType; //元素类型定义valueType BITre...
分类:
编程语言 时间:
2015-08-29 13:55:40
阅读次数:
220
由于mac os 是基于unix的操作系统终端和linux非常类似,所以不用借助类似于windows下的putty 和CRT工具即可远程登陆linux服务器,只需简单地3步即可免密码ssh远程。1 :生成密钥。在mac终端下执行如下命令:ssh-keygen -t rsa默认都摁回车就行,不用做其他...
分类:
系统相关 时间:
2015-08-28 13:00:26
阅读次数:
225