一.修改ssh连接的默认端口; 1.1 用root 连接进入系统; 1.2
修改ssh的配置文件 #vi /etc/ssh/sshd_config 在13行找到#Port 22 (默认端口22) 1.3
删除#注释,修改22为其他端口如28,然后按:wq保存文件修改; 1.4 ...
分类:
Web程序 时间:
2014-05-29 11:52:26
阅读次数:
269
1. URLURL(Uniform Resource Locator)
相当于一个文件名在网络范围的扩展。1.1
格式schema://host[:port#]/path/.../[?query-string][#anchor]scheme
指定低层使用的协议(例如:http, https, ftp...
分类:
其他好文 时间:
2014-05-28 21:38:30
阅读次数:
409
#include #include #include #include #include
#include #define MAXLINE 80 #define SERV_PORT 6970 void do_echo(int sockfd,
struct sockaddr *pcl...
分类:
系统相关 时间:
2014-05-27 18:06:51
阅读次数:
435
下面是一个我自己用的设置MYSQL的安全的魔兽世界私服的单机设置办法。这个是针对2-4G内存来设置的。提升MYSQL的吞吐量。实现MYSQL的稳定,让多人在游戏里面玩的时候不至于由于MYSQL而导致很卡
[client]port=3306[mysqld]port=3306old-passwords....
分类:
数据库 时间:
2014-05-27 17:08:48
阅读次数:
392
外部链接虚拟机linux服务的时候,一直未连接,后来发现没有安装ssh导致以下是ssh安装步骤,具体过程请百度一下~//可检查是否安装root@kiwi-virtual-machine:~#
ssh localhostssh: connect to host localhost port 22:.....
分类:
系统相关 时间:
2014-05-26 17:13:19
阅读次数:
344
java
对mongodb的操作1.1连单台mongodbMongomg=newMongo();//默认连本机127.0.0.1端口为27017Mongomg=newMongo(ip);//可以指定ip端口默认为27017Mongomg=newMongo(ip,port);//也可以指定ip及端口号...
分类:
数据库 时间:
2014-05-26 16:41:59
阅读次数:
341
shell中执行sh文件时需要开子进程,因此export的环境变量在子进程中,若想要sh中定义的脚本生效,使用source命令,并且可以被子进程继承。而子进程export的内容父进程获取不到
分类:
其他好文 时间:
2014-05-26 13:51:41
阅读次数:
226
MainRecv.cpp#include #include #include #pragma
comment(lib,"ws2_32.lib")#define RECV_IP "127.0.0.1"#define RECV_PORT
8899#define LEN_RECV_BUF 2048int ...
分类:
其他好文 时间:
2014-05-26 12:07:41
阅读次数:
276
Several ports(8080,8009)required by Tomcat v6.0 Server at localhost are already in use.The server may already be running in another process, or a system process may be using the port, To start this server you will need to stop the other process or change t...
分类:
编程语言 时间:
2014-05-26 03:41:22
阅读次数:
364
linux串口驱动分析硬件资源及描写叙述 s3c2440A
通用异步接收器和发送器(UART)提供了三个独立的异步串行 I/O(SIO)port,每一个port都能够在中断模式或 DMA 模式下操作。UART
使用系统时钟能够支持最高 115.2Kbps 的波特率。每一个 UART 通道对于接收.....
分类:
系统相关 时间:
2014-05-26 01:31:25
阅读次数:
490