echo -e "#include \nint main()\n{\n printf(\"hello
world\\\n\");\n return 0;\n}" > h.c; gcc h.c; ./a.outh.c里的内容#include int
main(){ printf("h...
分类:
其他好文 时间:
2014-05-24 07:34:05
阅读次数:
213
$ wget
http://nginx.org/download/nginx-1.3.2.tar.gz$ tar xvzf
nginx-1.3.2.tar.gz#查看ngixn版本极其编译参数 $ /usr/local/nginx/sbin/nginx -Vnginx
version: nginx/...
分类:
其他好文 时间:
2014-05-24 00:01:29
阅读次数:
269
Linux环境下yum源安装GCC前提条件是有Linux环境的安装盘ISO文件在Linux系统中创建两个目录,一个是用来存放ISO文件,一个是用来挂载该ISO文件,如下:$mkdir
/root/iso;$mkdir /root/repo;把Linux安装文件ISO文件放置到iso目录下,然后用mo...
分类:
其他好文 时间:
2014-05-23 22:16:00
阅读次数:
314
This tutorial will guide you on how to install
JDK (Java Development Kit) on Linux. Since I use Centos 5.4 x86_64 in everyday
life, this guide is show...
分类:
编程语言 时间:
2014-05-23 12:39:44
阅读次数:
710
朋友购买了阿里云的服务器,服务器上自带有CentOS操作系统,但是开发软件需要自己安装,接下来将介绍本地RedHat Linux
5.10虚拟机上搭建Mysql数据库。 一、软件准备 (1)jdk-6u32-linux-x64.bin
(2)MySQL-devel-5.6.16-1.linu...
分类:
数据库 时间:
2014-05-23 10:10:02
阅读次数:
400
1. 版本信息
(1)系统环境CentOS 6.5...
分类:
数据库 时间:
2014-05-20 15:53:57
阅读次数:
433
[root@localhost ~]# date -R // 查看时区
Mon, 19 May 2014 10:18:46 +0000
[root@localhost ~]# tzselect // 设置修改时区
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean....
分类:
其他好文 时间:
2014-05-20 15:49:50
阅读次数:
319
#define max(x,y) ({ typeof(x) _x = (x); typeof(y) _y = (y); (void) (&_x == &_y); _x > _y ? _x : _y; })
typeof(x)的意思是取x的类型,这不是标准C里的,gcc支持,vc不支持
(void) (&_x == &_y);这句话本身从执行程序来讲...
分类:
其他好文 时间:
2014-05-20 14:58:20
阅读次数:
269
测试源码:
//测试派生类的构造函数的调用顺序何时调用
//Fedora20 gcc version=4.8.2
#include
using namespace std;
class base
{
public:
base()
{
cout<<"base created!"<<endl;
}
~base()
{
cout<<"base destroyed!"<<en...
分类:
编程语言 时间:
2014-05-20 14:12:21
阅读次数:
322
问题描述: IBM X3650M4 IMM远程开机和关机 参考资料:
http://www.ibmsys.cn/blog/?p=201 问题解决: 一.如何访问IMM 二.IMM主要功能介绍 三.几个常用功能 1.远程开关机
2.通过IMM刷新服务器的UEFI/IMM微码 3.远程终端...
分类:
其他好文 时间:
2014-05-20 13:04:15
阅读次数:
323