易截截图软件、单文件、免安装、纯绿色、仅160KB

贪心安装64位linux的尴尬

administer@administer-laptop:~/tem/tt$ cat hello.asm
[section .data]
strHello db "Hello, world!",0Ah
STRLEN  equ $-strHello
[section .text]
global _start
_start: 
mov edx,STRLEN
mov ecx,strHello
mov ebx,1
mov eax,4
int  0x80
mov ebx,0
mov eax,1
int 0x80
administer@administer-laptop:~/tem/tt$ nasm -f elf hello.asm -o hello.o
administer@administer-laptop:~/tem/tt$ ls
a  b  boot.asm  boot.bin  Coded  f  g  hello  hello.asm  hello.c  hello.o
administer@administer-laptop:~/tem/tt$ ld -s hello.o -o hello
ld: i386 architecture of input file `hello.o' is incompatible with i386:x86-64 outputadminister@administer-laptop:~/tem/tt$
使用64位操作系统的尴尬,相当的窘,可惜当时贪心了,
一听说Intel从酷睿开始全面采用64位CPU,就装了,囧。


相关文档:

How to check into Linux OS

I learned some experience while Nanjing found 0x03 error. At begining, we don't know why our GSRM(a linux process) hang in a short time 5 seconds sometimes. It didn't handle any message at that time and the interruption is not regularly. So we assume we have Linux OS problem. We did following checks ......

linux实验三

实验3 Linux的进程控制
一.实验目的
通过实验掌握Linux中进程控制的基本命令。
二.实验要求
1.练习使用who, w, ps,pstree察看系统用户及进程的信息。
2.练习使用kill命令撤销进程。
3.练习进程前后台的切换。
三、         实验报告要求
1.      ......

Linux下nginx的安装

nginx("engine x")是一个高性能的HTTP和反向代理服务器,是由俄罗斯人Igor Sysoev建立的项目,超轻量级,超快处理能力。
目前使用的nginx版本是0.7.61
nginx的官言网站为:http://nginx.net/
下载地址为:http://sysoev.ru/nginx/nginx-0.7.61.tar.gz
nginx需要pcre的支持,所以我们需要下载pcre
pcre全名为Perl Compa ......

Linux命令行下网络配置

动态获取IP
虚拟机的网卡使用NAT的连接方式(没办法,单位一个端口只允许1个IP,连hub都没法用)
pwd> vi /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO的值改为dhcp,并保存
ifdown eth0; ifup eth0;重启网卡
ifconfig 发现被分配了个IP:10.0.2.15
ping www.163.com 通过
静态设置IP
待续.... ......

Linux下nginx的安装问题

最近准备给公司的网站架构做下调整,安装部署新机器的时候遇到一些问题,nginx在安装的时候一直提示未找到openssl
./configure --prefix=/usr/local/nginx
 程序代码
./configure: error: the HTTP cache module requires md5 functions from OpenSSL library.  You can either disable the module by us ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号