V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yueyoum
V2EX  ›  程序员

阿里云好坑啊

  •  
  •   yueyoum ·
    yueyoum · 2014-05-26 17:41:10 +08:00 · 5128 次点击
    这是一个创建于 3624 天前的主题,其中的信息可能已经有所发展或是发生改变。
    刚买的阿里云主机

    选择的ubuntu x64 12.04 版本

    上去执行 gcc
    输出:

    Sorry, command-not-found has crashed! Please file a bug report at:
    https://bugs.launchpad.net/command-not-found/+filebug
    Please include the following information with the report:

    command-not-found version: 0.2.44
    第 1 条附言  ·  2014-05-26 18:16:53 +08:00
    本来早就听闻阿里云各种问题, cnblogs 甚至都发文章抱怨了。

    我很清楚 gcc 是默认没安装的,所以就试试。

    结果 直接来个 crashed!!! bug report...

    一下就慌了, 怎么这样。


    然后 fdisk -l 的时候 确实是大意了。紧张之下没看清楚………………
    好久都不操作这个命令了好吗, 四五年了
    21 条回复    2016-05-12 11:27:40 +08:00
    yueyoum
        1
    yueyoum  
    OP
       2014-05-26 17:42:44 +08:00
    还有啊


    买的 服务器 linux 自带20G空间, 但自己又买了100G硬盘

    结果:




    Disk /dev/xvda: 21.5 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders, total 41943040 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0002bfb2

    Device Boot Start End Blocks Id System
    /dev/xvda1 * 2048 41940991 20969472 83 Linux

    Disk /dev/xvdb: 107.4 GB, 107374182400 bytes
    255 heads, 63 sectors/track, 13054 cylinders, total 209715200 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    Disk /dev/xvdb doesn't contain a valid partition table
    crny520
        2
    crny520  
       2014-05-26 17:47:00 +08:00
    大哥,你还没挂上硬盘吧?
    tczzjin
        3
    tczzjin  
       2014-05-26 17:50:22 +08:00
    第二个是你磁盘还没格式化还没挂载吧...
    yueyoum
        4
    yueyoum  
    OP
       2014-05-26 17:51:20 +08:00
    @crny520
    @tczzjin

    是我的问题,
    确实, 需要自己格式化
    Muninn
        5
    Muninn  
       2014-05-26 17:56:28 +08:00
    哈哈 不是 command-not-found not found 就不错啦...
    ysjdx
        6
    ysjdx  
       2014-05-26 17:57:23 +08:00
    gcc没装
    硬盘没有格式化并挂载
    ysjdx
        7
    ysjdx  
       2014-05-26 17:57:28 +08:00
    gcc没装
    durianskh
        8
    durianskh  
       2014-05-26 18:10:32 +08:00
    阿里云是有些问题,不过你提的问题,呵呵…
    yueyoum
        9
    yueyoum  
    OP
       2014-05-26 18:11:09 +08:00
    @Muninn
    @ysjdx
    @ysjdx
    @durianskh

    Sorry, command-not-found has crashed!
    mornlight
        10
    mornlight  
       2014-05-26 18:16:49 +08:00
    。。。。吐槽前先自己找找原因或者联系客服
    Zhang
        11
    Zhang  
       2014-05-26 18:46:39 +08:00
    崩溃的是“command-not-found”,不是别的。
    janxin
        12
    janxin  
       2014-05-26 20:30:53 +08:00 via iPhone
    这个我在装debian的时候遇到过,貌似不是语言设置问题就是编码问题,改改就好了
    Actrace
        13
    Actrace  
       2014-05-26 21:39:04 +08:00
    阿里云的云服务其实还是蛮稳定的,我们公司用阿里云每月开销不小,但是从来没有出过事。反倒是几个合作的IDC机房断过几次网,断过几次电,就差着火了。每次都折腾得我心疲力尽。不过要吐槽的话,阿里云的读写真不是一般的烂。。。
    findwho
        14
    findwho  
       2014-05-26 23:08:57 +08:00
    其实其他问题我没发现,就是觉得太贵了,特别是带宽。
    我因为是自用,所以有这种感觉,不知道各位大牛买阿里的云做什么,应用,游戏之类么?
    yueyoum
        15
    yueyoum  
    OP
       2014-05-26 23:53:28 +08:00
    @Actrace

    恩,所以我的应用直接上了 mongodb。 以后抗内存吧
    yueyoum
        16
    yueyoum  
    OP
       2014-05-26 23:53:51 +08:00
    @Zhang

    额,好吧, 感谢翻译。
    不过 那点英文我真的认识 …………………………
    Sdhjt
        17
    Sdhjt  
       2014-05-27 10:55:32 +08:00
    这是Ubuntu的坑吧,新装的Ubuntu系统一定要先更新,还得做好配置。我新装的14.04,默认拼音打出来的都是错字。。。。。
    wizardoz
        18
    wizardoz  
       2014-05-27 11:04:56 +08:00
    这个跟阿里没有太大关系把,他们用的ubuntu应该是社区直接拿过来的,他不可能自己去给你修改ubuntu系统的。so,可能是ubuntu本身有这个问题
    lu18887
        19
    lu18887  
       2014-05-27 11:56:26 +08:00
    @wizardoz 像DO默认的一些配置文件还是改掉了的,把更新源都替换成DO的了,前提是你装的系统是通过DO的网页装的!
    anchoretic
        20
    anchoretic  
       2014-05-28 12:03:58 +08:00
    阿里云刚开通的时候,要执行root根目录下的那个脚本初始化硬盘!
    jasonhzy
        21
    jasonhzy  
       2016-05-12 11:27:40 +08:00
    [sudo] apt-get update 即可
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1037 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:03 · PVG 07:03 · LAX 16:03 · JFK 19:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.