设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย Français

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 75|回复: 7

回馈loc

[复制链接]

36

主题

656

回帖

1504

积分

金牌会员

积分
1504
发表于 2019-11-11 19:52:10 | 显示全部楼层 |阅读模式
本帖最后由 moowee 于 2019-11-11 20:02 编辑

感谢MJJ们总是第一时间发羊毛信息到论坛




只适用于1G内存的小鸡,512M的不用试了,内存太小。


pacificrack的centos6模板有问题,进入管理面板重装系统:Fedora 23 x86_64。

Fedora的安装命令好像是dnf,用习惯了yum,无视提示不管也能用。

[ol]
  • yum install -y wget nano
  • cd /boot
  • wget http://vault.centos.org/7.2.1511/os/x86_64/images/pxeboot/vmlinuz -O vmlinuz-7
  • wget http://vault.centos.org/7.2.1511/os/x86_64/images/pxeboot/initrd.img -O /boot/initrd-7.img[/ol]复制代码
    [ol]
  • cat /boot/grub2/grub.cfg[/ol]复制代码
    查看/boot/grub2/grub.cfg,找到如下代码部分
    (下面的38e2da31-8c88-494f-8497-e206c326634c换成你自己的)


    [ol]
  • menuentry 'Fedora (4.2.6-301.fc23.x86_64) 23 (Server Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.2.3-300.fc23.x86_64-advanced-38e2da31-8c88-494f-8497-e206c326634c' {
  •         load_video
  •         set gfxpayload=keep
  •         insmod gzio
  •         insmod part_msdos
  •         insmod ext2
  •         set root='hd0,msdos1'
  •         if [ x$feature_platform_search_hint = xy ]; then
  •           search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1'  38e2da31-8c88-494f-8497-e206c326634c
  •         else
  •           search --no-floppy --fs-uuid --set=root 38e2da31-8c88-494f-8497-e206c326634c
  •         fi
  •         linux16 /boot/vmlinuz-4.2.6-301.fc23.x86_64 root=UUID=38e2da31-8c88-494f-8497-e206c326634c ro rhgb quiet net.ifnames=0 LANG=en_GB.UTF-8
  •         initrd16 /boot/initramfs-4.2.6-301.fc23.x86_64.img
  • }
  • [/ol]复制代码
    [ol]
  • nano /etc/grub.d/40_custom[/ol]复制代码
    然后把这一段拷贝到/etc/grub.d/40_custom中做如下修改
    (下面的38e2da31-8c88-494f-8497-e206c326634c换成你自己的)


    [ol]
  • #!/bin/sh
  • exec tail -n +3 $0
  • # This file provides an easy way to add custom menu entries.  Simply type the
  • # menu entries you want to add after this comment.  Be careful not to change
  • # the 'exec tail' line above.
  • menuentry 'NetInstall' {
  •         load_video
  •         set gfxpayload=keep
  •         insmod gzio
  •         insmod part_msdos
  •         insmod ext2
  •         set root='hd0,msdos1'
  •         if [ x$feature_platform_search_hint = xy ]; then
  •           search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1'  38e2da31-8c88-494f-8497-e206c326634c
  •         else
  •           search --no-floppy --fs-uuid --set=root 38e2da31-8c88-494f-8497-e206c326634c
  •         fi
  •         linux16 /boot/vmlinuz-7 inst.vnc inst.vncpassword=12345678 inst.headless ip=dhcp nameserver=1.0.0.1 inst.repo=http://vault.centos.org/7.2.1511/os/x86_64/ inst.lang=en_US inst.keymap=us
  •         initrd16 /boot/initrd-7.img
  • }[/ol]复制代码

    # 重建grub配置
    [ol]
  • grub2-mkconfig -o /boot/grub2/grub.cfg[/ol]复制代码

    # 列出所有启动条目
    [ol]
  • awk -F\' '$1=="menuentry " {print $2}' /etc/grub2.cfg[/ol]复制代码

    # 下一次启动使用NetInstall,仅使用一次
    [ol]
  • grub2-reboot NetInstall[/ol]复制代码

    # 重启系统
    [ol]
  • reboot[/ol]复制代码

    使用VNC安装CentOS系统 ,你的小鸡ip,端口1

    然后,没有了,开始安装。


  • 回复

    使用道具 举报

    36

    主题

    656

    回帖

    1504

    积分

    金牌会员

    积分
    1504
     楼主| 发表于 2019-11-11 19:54:05 | 显示全部楼层
    [root@192 ~]# ./superbench.sh

    =========================================================
    \                 Superbench.sh  Script                 /
    \       Basic system info, I/O test and speedtest       /
    \                   v1.1.5 (14 Jun 2019)                /
    \                   Created by Oldking                  /
    =========================================================

    Intro: https://www.oldking.net/350.html
    Copyright (C) 2019 Oldking [email protected]
    Happy New Year!

    Installing Speedtest-cli ...
    Installing tools.py ...
    Installing Fast.com-cli ...
    ----------------------------------------------------------------------
    Superbench.sh -- https://www.oldking.net/350.html
    Mode  : Standard    Version : 1.1.5
    Usage : wget -qO- git.io/superbench.sh | bash
    ----------------------------------------------------------------------
    CPU Model            : QEMU Virtual CPU version (cpu64-rhel6)
    CPU Cores            : 2 Cores @ 2199.998 MHz x86_64
    CPU Cache            : 4096 KB
    OS                   : CentOS 7.2.1511 (64 Bit) KVM
    Kernel               : 3.10.0-327.el7.x86_64
    Total Space          : 1.7 GB / 33.5 GB
    Total RAM            : 102 MB / 992 MB (501 MB Buff)
    Total SWAP           : 0 MB / 2047 MB
    Uptime               : 0 days 0 hour 12 min
    Load Average         : 0.02, 0.17, 0.12
    TCP CC               : cubic
    ASN & ISP            : AS8100, QuadraNet Enterprises LLC
    Organization         : MyServerPlanet Ltd
    Location             : Los Angeles, United States / US
    Region               : California
    ----------------------------------------------------------------------
    I/O Speed( 1.0GB )   : 198 MB/s
    I/O Speed( 1.0GB )   : 380 MB/s
    I/O Speed( 1.0GB )   : 324 MB/s
    Average I/O Speed    : 300.7 MB/s
    ----------------------------------------------------------------------
    Node Name        Upload Speed      Download Speed      Latency     
    Speedtest.net    196.80 Mbit/s     118.23 Mbit/s       (*) 105.338 ms
    Fast.com         0.00 Mbit/s       121.2 Mbit/s        -           
    Wuhan     CT     3.38 Mbit/s       25.45 Mbit/s        -         
    Hangzhou  CT     2.35 Mbit/s       37.08 Mbit/s        -         
    Lanzhou   CT     1.90 Mbit/s       8.61 Mbit/s         -         
    Shanghai  CU     12.23 Mbit/s      73.23 Mbit/s        -         
    Heifei    CU     22.71 Mbit/s      0.26 Mbit/s         -         
    Xizang    CM     5.28 Mbit/s       7.01 Mbit/s         -         
    ----------------------------------------------------------------------
    Finished in  : 3 min 45 sec
    Timestamp    : 2019-11-11 19:33:43 GMT+8
    Results      : /root/superbench.log
    ----------------------------------------------------------------------
    Share result:
    ·


    · /p/5VgYVZSXFT/
    ----------------------------------------------------------------------

    速度不行啊

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    ×
    回复

    使用道具 举报

    36

    主题

    656

    回帖

    1504

    积分

    金牌会员

    积分
    1504
     楼主| 发表于 2019-11-11 19:55:20 | 显示全部楼层
    ----------------------------------------------------------------------
    Superbench.sh -- https://www.oldking.net/350.html
    Mode  : Standard    Version : 1.1.5
    Usage : wget -qO- git.io/superbench.sh | bash
    ----------------------------------------------------------------------
    CPU Model            : QEMU Virtual CPU version (cpu64-rhel6)
    CPU Cores            : 2 Cores @ 2199.998 MHz x86_64
    CPU Cache            : 4096 KB
    OS                   : CentOS 7.2.1511 (64 Bit) KVM
    Kernel               : 4.14.129-bbrplus
    Total Space          : 1.7 GB / 33.5 GB
    Total RAM            : 89 MB / 984 MB (103 MB Buff)
    Total SWAP           : 0 MB / 2047 MB
    Uptime               : 0 days 0 hour 11 min
    Load Average         : 0.00, 0.02, 0.02
    TCP CC               : bbrplus
    ASN & ISP            : AS8100, QuadraNet Enterprises LLC
    Organization         : MyServerPlanet Ltd
    Location             : Los Angeles, United States / US
    Region               : California
    ----------------------------------------------------------------------
    I/O Speed( 1.0GB )   : 283 MB/s
    I/O Speed( 1.0GB )   : 464 MB/s
    I/O Speed( 1.0GB )   : 495 MB/s
    Average I/O Speed    : 414.0 MB/s
    ----------------------------------------------------------------------
    Node Name        Upload Speed      Download Speed      Latency     
    Speedtest.net    209.47 Mbit/s     222.99 Mbit/s       (*) 96.911 ms
    Fast.com         0.00 Mbit/s       119.6 Mbit/s        -           
    Wuhan     CT     8.35 Mbit/s       17.18 Mbit/s        -         
    Hangzhou  CT     5.97 Mbit/s       6.23 Mbit/s         -         
    Lanzhou   CT     3.84 Mbit/s       11.64 Mbit/s        -         
    Shanghai  CU     108.68 Mbit/s     66.14 Mbit/s        -         
    Heifei    CU     56.46 Mbit/s      0.48 Mbit/s         -         
    Xizang    CM     2.36 Mbit/s       4.12 Mbit/s         -         
    ----------------------------------------------------------------------
    Finished in  : 4 min 2 sec
    Timestamp    : 2019-11-11 19:56:04 GMT+8
    Results      : /root/superbench.log
    ----------------------------------------------------------------------
    Share result:
    ·


    · /p/qg9mJYVX4N/
    ----------------------------------------------------------------------

    bbr也就这样了,联通勉强用一下,没有CN2-GT存在的意义

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    ×
    回复

    使用道具 举报

    219

    主题

    1327

    回帖

    3409

    积分

    论坛元老

    积分
    3409
    发表于 2019-11-11 19:57:01 | 显示全部楼层
    学习一下~
    回复

    使用道具 举报

    23

    主题

    288

    回帖

    683

    积分

    高级会员

    积分
    683
    发表于 2019-11-11 19:58:41 | 显示全部楼层
    干货。。。。。
    回复

    使用道具 举报

    44

    主题

    1118

    回帖

    2410

    积分

    金牌会员

    积分
    2410
    发表于 2019-11-11 20:00:18 | 显示全部楼层
    瞟了下左边,才发现MW是管理员
    回复

    使用道具 举报

    36

    主题

    656

    回帖

    1504

    积分

    金牌会员

    积分
    1504
     楼主| 发表于 2019-11-11 21:27:21 | 显示全部楼层
    感觉pacificrack的流量跑的特别快,没做什么,1个G的流量就没了,大家有没有同感
    回复

    使用道具 举报

    5

    主题

    39

    回帖

    97

    积分

    注册会员

    积分
    97
    发表于 2019-11-12 12:28:08 | 显示全部楼层

    moowee 发表于 2019-11-12 12:28

    感觉pacificrack的流量跑的特别快,没做什么,1个G的流量就没了,大家有没有同感 ...

    有 感觉流量不规范
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-12-19 20:48 , Processed in 0.027985 second(s), 5 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2025 Discuz! Team.

    快速回复 返回顶部 返回列表