全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1751|回复: 8
打印 上一主题 下一主题

回馈loc------pacificrack(pr)手动VNC安装centos7.2

[复制链接]
跳转到指定楼层
1#
发表于 2019-11-11 19:52:10 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
本帖最后由 moowee 于 2019-11-11 20:02 编辑

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

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

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

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

  1. yum install -y wget nano
  2. cd /boot
  3. wget http://vault.centos.org/7.2.1511/os/x86_64/images/pxeboot/vmlinuz -O vmlinuz-7
  4. wget http://vault.centos.org/7.2.1511/os/x86_64/images/pxeboot/initrd.img -O /boot/initrd-7.img
复制代码

  1. cat /boot/grub2/grub.cfg
复制代码

查看/boot/grub2/grub.cfg,找到如下代码部分(下面的38e2da31-8c88-494f-8497-e206c326634c换成你自己的)

  1. 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' {
  2.         load_video
  3.         set gfxpayload=keep
  4.         insmod gzio
  5.         insmod part_msdos
  6.         insmod ext2
  7.         set root='hd0,msdos1'
  8.         if [ x$feature_platform_search_hint = xy ]; then
  9.           search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1'  38e2da31-8c88-494f-8497-e206c326634c
  10.         else
  11.           search --no-floppy --fs-uuid --set=root 38e2da31-8c88-494f-8497-e206c326634c
  12.         fi
  13.         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
  14.         initrd16 /boot/initramfs-4.2.6-301.fc23.x86_64.img
  15. }
复制代码

  1. nano /etc/grub.d/40_custom
复制代码

然后把这一段拷贝到/etc/grub.d/40_custom中做如下修改(下面的38e2da31-8c88-494f-8497-e206c326634c换成你自己的)

  1. #!/bin/sh
  2. exec tail -n +3 $0
  3. # This file provides an easy way to add custom menu entries.  Simply type the
  4. # menu entries you want to add after this comment.  Be careful not to change
  5. # the 'exec tail' line above.

  6. menuentry 'NetInstall' {
  7.         load_video
  8.         set gfxpayload=keep
  9.         insmod gzio
  10.         insmod part_msdos
  11.         insmod ext2
  12.         set root='hd0,msdos1'
  13.         if [ x$feature_platform_search_hint = xy ]; then
  14.           search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1'  38e2da31-8c88-494f-8497-e206c326634c
  15.         else
  16.           search --no-floppy --fs-uuid --set=root 38e2da31-8c88-494f-8497-e206c326634c
  17.         fi
  18.         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
  19.         initrd16 /boot/initrd-7.img
  20. }
复制代码


# 重建grub配置
  1. grub2-mkconfig -o /boot/grub2/grub.cfg
复制代码


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


# 下一次启动使用NetInstall,仅使用一次
  1. grub2-reboot NetInstall
复制代码


# 重启系统
  1. reboot
复制代码


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

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


9#
发表于 2019-11-12 12:33:23 | 只看该作者
moowee 发表于 2019-11-12 12:28
感觉pacificrack的流量跑的特别快,没做什么,1个G的流量就没了,大家有没有同感 ...

有 感觉流量不规范
8#
 楼主| 发表于 2019-11-12 12:28:08 | 只看该作者
感觉pacificrack的流量跑的特别快,没做什么,1个G的流量就没了,大家有没有同感
7#
发表于 2019-11-11 21:27:21 | 只看该作者
瞟了下左边,才发现MW是管理员
4#
 楼主| 发表于 2019-11-11 19:57:01 | 只看该作者
----------------------------------------------------------------------
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存在的意义
cherbim 该用户已被删除
3#
发表于 2019-11-11 19:55:20 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
2#
 楼主| 发表于 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/
----------------------------------------------------------------------

速度不行啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-14 16:16 , Processed in 0.064366 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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