• About

duanple

银河里的星星

  • linux远程开机(zz)

    2010年4月23日 阅读(370)

    http://www.91linux.com/html/article/network/20090120/15461.html

    一,什么情况下需要远程开机?
       如果我们的服务器没有部署在本地(实际上通常都是这样的,我们会把服务器托管到IDC机房),
      而且服务器在机房中不止一台,其中一台被关闭时,则我们可以远程连接一台没有关机的服务器上,
      然后进行远程开机.
     
    二,远程开机需要的软件
        它需要wakeonlan这个软件,
        从何处得到它?
        它的官方站是:http://sourceforge.net/projects/wake-on-lan/
        如果使用rpm包可以从这里下载:http://dag.wieers.com/rpm/packages/wol/
        如果使用fedora,则可以用yum命令安装:
        yum install wol
       
    三,如何进行远程开机?
       先不要急着去关闭你的linux服务器,你首先要确定它是否支持远程开机?
      第一步:登录到目标服务器,用ethtool这个命令打印出网卡的信息
            [root@localhost lhd]# ethtool eth0
            Settings for eth0:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Advertised auto-negotiation: Yes
            Speed: 100Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 32
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: pumbg
            Wake-on: d
            Current message level: 0x00000007 (7)
            Link detected: yes read more

  • yd6.2安装cellsdk

    2010年4月23日 阅读(355)

    先看个网址:yellow dog的论坛: http://www.yellowdog-board.com/viewforum.php?f=19
    安装完yellow dog 6.2之后发现只有一些cell的编译工具,却没有发现需要使用的一些开发包,重新将安装盘mount作为repo。
    [root@cell-node1 dev]# mount  /dev/cdrom /mnt/yd6cdrom
    mount: block device /dev/cdrom is write-protected, mounting read-only
    [root@cell-node1 dev]# cd /mnt/yd6cdrom
    [root@cell-node1 yd6cdrom]# ls
    etc  eula.txt  images  LICENSE  ppc  PS3  RELEASE-NOTES  RELEASE-NOTES.en  repodata  RPM-GPG-KEY  TRANS.TBL  YellowDog
    [root@cell-node1 yd6cdrom]# read more

  • openmpi连接ps3 ppc64和x86-32中的 No route to host

    2010年4月23日 阅读(363)

    如果不加入MPI的通信函数,比如只有MPI_Init MPI_Finalize,或者一些本地操作,二者可以正确互联,但是如果加入mpi操作,则出现如下操作。
    [node2][[44798,1],0][btl_tcp_endpoint.c:638:mca_btl_tcp_endpoint_complete_connect] connect() to 10.10.4.70 failed: No route to host (113) read more

  • linux网络命令

    2010年4月23日 阅读(658)

    ifconfig:
    ifconfig eth0
    ifconfig eth0 192.168.0.1 netmask 255.255.255.0
    ifconfig eth0 up
    ifconfig eth0 down

    gateway:
      # route add default gw 192.168.30.1 eth0
    dns:
           # vi etc/resolv.conf
           nameserver 202.131.80.1
      nameserver 202.131.80.5 read more

  • Yellow Dog Linux v6.x-how to+solutions(zz)

    2010年4月23日 阅读(414)

    zzfrom:http://www.ydl.net/support/solutions/ydl_6.x/
    The following were prepared by Fixstars staff or the greater YDL community and are specific to Yellow Dog Linux v.6.0 and v.6.1.

    Installation, Updates, & Applications:

    How to locate your lost E17 Shelf. How to install/remove applications using the Package Manager. How to update applications using the Package Updater. How to update, install, remove local packages using yum. How to update BMC on a PowerStation How to use =&2=&
  • Configuring YDL6.x for the chosen PS3 video mode(z

    2010年4月23日 阅读(320)

    zzfrom:http://www.ydl.net/support/solutions/ydl_6.x/video-config.shtml
    Introduction
    The PS3 is both a game console and a computer. Game consoles traditionally output to TV screens, computers traditionally output to computer monitors. TV screens and computer monitors have very little in common. The PS3 can output to both, and can also output to High-Definition (HD) TV screens. Since this involves several completely different sets of standards, things can get complex. This HOWTO will show you how to make your selected PS3 video mode permanent. read more

  • Configuring YDL 5.0 for the chosen PS3 video mode(

    2010年4月23日 阅读(336)

    zzfrom:http://www.terrasoftsolutions.com/support/solutions/ydl_5.0/video-config.shtml
    ntroduction
    The PS3 is both a game console and a computer. Game consoles traditionally output to TV screens, computers traditionally output to computer monitors. TV screens and computer monitors have very little in common. The PS3 can output to both, and can also output to High-Definition (HD) TV screens. Since this involves several completely different sets of standards, things can get complex. This HOWTO will show you how to make your selected PS3 video mode permenant. read more

  • ps3上linux的视频分辨率设置(zz)

    2010年4月23日 阅读(358)

    PS3  上 Linux  安装的默认显示配置取决于您的安装方法。如果您正在使用一个普通的 NTSC 或 PAL 电视机(而不是 HDTV 或连接到监视器的 VGA 转换器),就无法使用 YDL 的图形安装模式,因为它会试图设置一个更高的扫描分辨率。 read more

  • ps3安装yellow dog linux相关

    2010年4月23日 阅读(427)

    参考文章:
    拼了,冲精华,最新YellowDogLinux 6.2 for PS3专贴、
    HowTo: Fullscreen on a 1080p HDTV

    修改分辨率:
    # vim /boot/etc/yaboot.conf
    找到append="video=ps3fb:mode:5 rhgb quiet root=LABEL=/1"
    修改mode后面的参数:比如上面的5,如果想全屏,需要再在这些id+128,比如5+128=133
    Video mode ID:
      0:auto mode
      YUV 60Hz  1:480i  2:480p  3:720p  4:1080i  5:1080p
      YUV 50Hz  6:576i  7:576p  8:720p  9:1080i 10:1080p
      RGB 60Hz 33:480i 34:480p 35:720p 36:1080i 37:1080p
      RGB 50Hz 38:576i 39:576p 40:720p 41:1080i 42:1080p
      VESA     11:WXGA 12:SXGA 13:WUXGA read more

  • CBLAS和BLAS安装(zz)

    2010年4月21日 阅读(1,959)

    http://iysm.net/?p=53

    CBLAS是BLAS的C语言接口。BLAS的全称是Basic Linear Algebra Subprograms,中文大概可以叫做基础线性代数子程序。主要是用于向量和矩阵计算的高性能数学库。本身BLAS是用Fortran写的,为了方便 C/C++程序的使用,就有了BLAS的C接口库CBLAS。BLAS的主页是http://www.netlib.org/blas/,CBLAS的下 载地址也可以在这个页面上找到。 read more

  • openMPI测试 编译 运行 及MCA框架(zz)

    2010年4月18日 阅读(1,464)

    测试Open MPI的安装

    命令"ompi_info"可用来检测Open MPI的安装状态。该命令会返回 一个关于你的Open MPI安装的大概信息。

    Note that the ompi_info command is extremely helpful in determining which components are installed as well as listing all the run-time settable parameters that are available in each component (as well as their default values). read more

  • 乌鸦喝水

    2010年4月17日 阅读(695)

    乌鸦喝水 - 星星 - 银河里的星星

    乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星乌鸦喝水 - 星星 - 银河里的星星

  • 我很忙

    2010年4月16日 阅读(397)

    有时候发现,曾经在何时丢失了重要的东西,心里总会有空空的感觉。有时候发现,总是在何时掩藏了真正的心意,于是会发现坦白真的需要勇气。人的内心真是一种复杂的东西,总会寻找着自己珍视的东西,却也害怕拥有珍视的东西,害怕有一天会把它丢掉,总会不断的错过。得到了一些,又总会失去一些,无法珍视得到的,也就无法得到珍视的。 read more

  • Inttypes.h

    2010年4月12日 阅读(183)

    include 文件 <inttypes.h> 提供有助于使代码与显式指定大小的数据项兼容(无论编译环境如何)的常量、宏和派生类型。它包含用于处理 8 位、16 位、32 位和 64 位对象的机制。该文件是新的 1999 ISO/IEC C 标准的一部分,文件内容反映了导致它包含在 1999 ISO/IEC C 标准中的建议。文件即将更新,以便完全与 1999 ISO/IEC C 标准一致。<inttypes.h> 提供的基本功能包括: read more

  • open MPI MPI_Send recv 65536以上字节出错

    2010年4月9日 阅读(476)

    最近遇到一个超级难查的错误,一方面所因为程序所MPI并行程序,很难debug,基本没有啥可用的调试工具。其实之前用ubuntu编译完mpi程序后,执行即出现了错误,虽然没有解决,但我怀疑所环境问题。可能某些链接库的版本不对。
    所以我用centos编译的open mpi是可以的,但是在将我的32位机与64位机并行时,在处理简单的程序时是没有问题的。
    如下:
    #include "mpi.h"
    #include <stdio.h>
    #include <math.h>
    int main(int argc,char ** argv)
    {
        int myid, numprocs;
        int  namelen;
        int type_size;
        char processor_name[MPI_MAX_PROCESSOR_NAME];
        MPI_Init(&argc,&argv);
        MPI_Comm_rank(MPI_COMM_WORLD,&myid);
        MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
        MPI_Get_processor_name(processor_name,&namelen);
        fprintf(stderr,"Hello World! Process %d of %d on %s\n",myid, numprocs, processor_name); read more

  • 小谈C语言中常见数据类型在32及64位机上的使用(zz)

    2010年4月9日 阅读(356)

    zz from:http://zsxxsz.javaeye.com/blog/470359
    关键字: c语言,数据类型,32位,64位

    1、概述

      C语言有一些非常基本的数据类型,正是这些基本类型让我们可以延伸了无限的用户自定义类型,本文主要介绍了 int, size_t, time_t, long, long long int 等基本数据类型在Linux32 及 Linux64 的使用情况。表面看上去,这些类型确实太基础太简单,似乎没啥可讲的,实事似乎也是如此,用过C的对这些都已经非常熟悉了,这还用讲?在PC 64位机器 出来之前,我们确实不用太关注这些,因为在32位机上编程,似乎很少出现过什么问题,但64位机出来了,象Linux 也支持64位机器,问题就来了,为什么?因为它们的长度发生了变化,而我们的程序也就有可能需要改变一下。 read more

  • ubuntu安装openmpi的Address not mapped 错误

    2010年4月8日 阅读(1,213)

    在我的ubuntu上安装了openmpi,编译一个简单程序如下:
    #include "mpi.h"
    #include <stdio.h>
    #include <math.h>
    int main(int argc,char ** argv)
    {
        int myid, numprocs;
        int  namelen;
        int type_size;
        char processor_name[MPI_MAX_PROCESSOR_NAME];
        MPI_Init(&argc,&argv);
        MPI_Comm_rank(MPI_COMM_WORLD,&myid);
        MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
        MPI_Get_processor_name(processor_name,&namelen);
        fprintf(stderr,"Hello World! Process %d of %d on %s\n",myid, numprocs, processor_name); read more

  • Linux动态库搜索路径(转载)

    2010年4月8日 阅读(537)

    原文:http://blog.chinaunix.net/u/16651/showart.php?id=434959

    众所周知,Linux动态库的默认搜索路径是/lib和/usr/lib。动态库被创建后,一般都复制到这两个目录中。当程序执行时需要某动态 库,并且该动态库还未加载到内存中,则系统会自动到这两个默认搜索路径中去查找相应的动态库文件,然后加载该文件到内存中,这样程序就可以使用该动态库中 的函数,以及该动态库的其它资源了。在Linux中,动态库的搜索路径除了默认的搜索路径外,还可以通过以下三种方法来指定。 read more

  • 用 gdb 调试 GCC 程序(zz)

    2010年4月8日 阅读(414)

    gdb调试命令 http://lubobill1990.blog.163.com/blog/static/369303862010913105122718/

    Linux 包含了一个叫 gdb 的 GNU 调试程序. gdb 是一个用来调试 C 和 C++ 程序的强力调试器. 它使你能在程序运行时观察程序的内部结构和内存的使用情况. 以下是 gdb 所提供的一些功能: read more

  • core file(zz)

    2010年4月8日 阅读(357)

    zz from:http://blog.chinaunix.net/u/31088/showart_506966.html
    1. core文件的简单介绍
    //—————————————————————

    在一个程序崩溃时,它一般会在指定目录下生成一个core文件。core文件仅仅是一个内存映象(同时加上调试信息),主要是用来调试的。 read more

Older Posts
Newer Posts

全站热门

  • 分布式系统领域经典论文翻译集 - 16,897 views
  • AddressSanitizer&ThreadSanitizer原理与应用 - 8,038 views
  • 分布式领域经典论文译序 - 6,185 views
  • 线性一致性理论 - 4,697 views
  • About - 4,659 views
  • Paxos Made Live(译) - 4,082 views
  • 深度探索分布式理论经典论文 - 3,861 views
  • 【google论文二】Google文件系统(上) - 3,724 views
  • Avro: 大数据的数据格式(zz) - 3,423 views
  • Google论文、开源与云计算 - 3,393 views

分类目录

  • linux
  • 分布式系统
  • 思维训练
  • 技术专题
  • 文思
  • 未分类
  • 流年
  • 离奇的code
  • 程序设计语言
  • 算法与acm
  • 网络及内核
  • 计算机科学与人物
  • 设计模式
  • 读书笔记
  • 转载
  • 闲时思考
  • 高性能计算

近期文章

  • NewSQL Basis
  • gdb基本工作原理
  • Jepsen测试
  • 性能优化工具:perf
  • 性能优化工具:gperftools

近期评论

  • 深度探索分布式理论经典论文 – duanple发表在《The Five-Minute Rule 20 Years Later(译)》
  • test – duanple发表在《Paxos Made Live(译)》
  • test – duanple发表在《分布式系统领域经典论文翻译集》
  • test – duanple发表在《Distributed Snapshots-Determining Global States of a Distributed System(译)》
  • test – duanple发表在《Solution of a Problem in Concurrent Programming Control(译)》

标签

bigtable distributed google hadoop hbase hive leveldb linux lsm-tree mapreduce master nosql paxos pregel python scale sql sstable 人面不知何处去 分布式 分布式系统 思维训练 技术专题 搜索与分布式 文思 服务器 未名湖畔 流年 离奇的code 程序设计语言 算法与acm 算法与acm 面试 线程 经典论文 经史子集 网络及内核 翻译 节点 计算机科学 论文 设计模式 读书笔记 闲时思考 集群 高性能计算

文章归档

  • 2021年6月
  • 2021年1月
  • 2020年12月
  • 2020年10月
  • 2019年8月
  • 2018年11月
  • 2018年9月
  • 2018年6月
  • 2015年1月
  • 2014年2月
  • 2013年11月
  • 2013年10月
  • 2013年9月
  • 2013年6月
  • 2013年5月
  • 2013年4月
  • 2013年3月
  • 2013年2月
  • 2013年1月
  • 2012年12月
  • 2012年11月
  • 2012年10月
  • 2012年9月
  • 2012年8月
  • 2012年7月
  • 2012年6月
  • 2012年5月
  • 2012年4月
  • 2012年1月
  • 2011年12月
  • 2011年11月
  • 2011年10月
  • 2011年9月
  • 2011年8月
  • 2011年7月
  • 2011年6月
  • 2011年5月
  • 2011年4月
  • 2011年3月
  • 2011年1月
  • 2010年12月
  • 2010年11月
  • 2010年10月
  • 2010年8月
  • 2010年7月
  • 2010年6月
  • 2010年5月
  • 2010年4月
  • 2010年3月
  • 2010年1月
  • 2009年12月
  • 2009年11月
  • 2009年10月
  • 2009年9月
  • 2009年8月
  • 2009年7月
  • 2009年6月
  • 2009年5月
  • 2009年4月
  • 2009年3月
  • 2009年2月
  • 2009年1月
  • 2008年12月
  • 2008年11月
  • 2008年10月
  • 2008年9月
  • 2008年8月
  • 2008年7月
  • 2008年6月
  • 2008年5月
  • 2008年4月
  • 2008年3月

功能

  • 登录
  • 文章RSS
  • 评论RSS
  • WordPress.org

业界大牛

  • James Hamilton
  • Werner Vogels

Copyright © 2018 Pixeldom Lite | Developed by ThemeBounce

Back to top | 京ICP备18037177号