Chinaunix首页 | 论坛 | 博客
  • 博客访问: 106444
  • 博文数量: 74
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 757
  • 用 户 组: 普通用户
  • 注册时间: 2013-10-20 22:42
个人简介

相信生命中的无限潜能

文章分类

全部博文(74)

文章存档

2016年(1)

2015年(30)

2014年(30)

2013年(13)

我的朋友

发布时间:2015-06-02 09:50:17

在VMware安装Linux后默认屏幕为640×480,如需修改,则请参考以下步骤。以下以CentOS 6.6安装于VMware Workstation 9中为例说明。1.默认640x480x16,支持绝大部分硬件。2.登录后,输入“ls /dev”命令并按回车键查看显示结果。3.输入“vi /etc/grub.conf”并按回车键确定。4.查询到以“kernel”开头行。5.按“i”键进.........【阅读全文】

阅读(2086) | 评论(0) | 转发(0)

发布时间:2015-05-20 13:10:01

[root@localhost ~]# ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa.Your public key h.........【阅读全文】

阅读(1198) | 评论(0) | 转发(0)

发布时间:2014-03-05 15:00:34

1 /* INT INET_PTON(INT FAMILY,CONST CHAR *STRPTR,VOID *ADDR)  2 * 成功返回1,若输入的不是有效的表达式格式则为0,若出错则为-1  3 *  4 */  5 #INCLUDE <STDIO.H>  6 #INCLUDE <NETINET/IN.H>.........【阅读全文】

阅读(1204) | 评论(0) | 转发(0)

发布时间:2014-02-26 13:51:23

//接收方#include <stdio.h>#include <fcntl.h>#include <sys/socket.h>#include <netinet/in.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <arpa/inet.h>int main(){.........【阅读全文】

阅读(1092) | 评论(0) | 转发(0)

发布时间:2014-02-25 15:12:23

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>/* socket建立服务器的文件描述符 * bind把IP地址与端口设置到文.........【阅读全文】

阅读(1532) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册