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

搬瓦工机场JMS

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

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

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

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

复制代码

  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. }

复制代码

然后把这一段拷贝到/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

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

青海网友:[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

赞 (0) 打赏

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏