全球主机交流论坛
标题:
回馈loc------pacificrack(pr)手动VNC安装centos7.2
[打印本页]
作者:
moowee
时间:
2019-11-11 19:52
标题:
回馈loc------pacificrack(pr)手动VNC安装centos7.2
本帖最后由 moowee 于 2019-11-11 20:02 编辑
感谢MJJ们总是第一时间发羊毛信息到论坛
只适用于1G内存的小鸡,512M的不用试了,内存太小。
pacificrack的centos6模板有问题,进入管理面板重装系统:Fedora 23 x86_64。
Fedora的安装命令好像是dnf,用习惯了yum,无视提示不管也能用。
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
复制代码
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
}
复制代码
nano /etc/grub.d/40_custom
复制代码
然后把这一段拷贝到/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
然后,没有了,开始安装。
作者:
moowee
时间:
2019-11-11 19:54
[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/
----------------------------------------------------------------------
速度不行啊
作者:
cherbim
时间:
2019-11-11 19:55
提示:
作者被禁止或删除 内容自动屏蔽
作者:
moowee
时间:
2019-11-11 19:57
----------------------------------------------------------------------
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存在的意义
作者:
倒影
时间:
2019-11-11 19:58
学习一下~
作者:
dollaring
时间:
2019-11-11 20:00
干货。。。。。
作者:
aRNoLD
时间:
2019-11-11 21:27
瞟了下左边,才发现MW是管理员
作者:
moowee
时间:
2019-11-12 12:28
感觉pacificrack的流量跑的特别快,没做什么,1个G的流量就没了,大家有没有同感
作者:
翻车mjj
时间:
2019-11-12 12:33
moowee 发表于 2019-11-12 12:28
感觉pacificrack的流量跑的特别快,没做什么,1个G的流量就没了,大家有没有同感 ...
有 感觉流量不规范
欢迎光临 全球主机交流论坛 (https://mjj.022333.xyz/)
Powered by Discuz! X3.4