感谢MJJ们总是第一时间发羊毛信息到论坛
只是用于1G内存的小鸡,512M的不用试了,内存太小。
pacificrack的centos6模板有问题,进入管理面板重装系统:Fedora 23 x86_64。
Fedora的安装命令好像是dnf,用习惯了yum,无视提示不管也能用。
- yum install -y wget
- 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
复制代码
- cat /boot/grub2/grub.cfg
复制代码
查看/boot/grub2/grub.cfg,找到如下代码部分(下面的38e2da31-8c88-494f-8497-e206c326634c换成你自己的):
- 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
- }
复制代码
然后把这一段拷贝到/etc/grub.d/40_custom中做如下修改(下面的38e2da31-8c88-494f-8497-e206c326634c换成你自己的):
- #!/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
- }
复制代码
# 重建grub配置
- grub2-mkconfig -o /boot/grub2/grub.cfg
复制代码
# 列出所有启动条目
- awk -F\’ ‘$1=="menuentry " {print $2}’ /etc/grub2.cfg
复制代码
# 下一次启动使用NetInstall,仅使用一次
- grub2-reboot NetInstall
复制代码
# 重启系统
- reboot
复制代码
使用VNC安装CentOS系统 ,你的小鸡ip,端口1
然后,没有了,开始安装。
青海网友:[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/
———————————————————————-
速度不行啊
台湾网友:直接一键dd 多舒服
未经允许不得转载:美国VPS_搬瓦工CN2 GIA VPS » 回馈loc——pacificrack(pr)手动VNC安装centos7.2