Last update at :2024-03-06,Edit by888u
During Black Friday, kimsufi released a special dedicated server at 14.9 euros per month, equipped with E5-1620v2/32G/2*2T HDD. The price/performance ratio is very high, but unfortunately it only has one IPv4 and no IPv6 There are more, probably 128. Today I will share with you the tutorial on installing the system written by the boss. Some friends may ask, why write this tutorial on installing the system? Isn’t it possible to install it in the background! Yes, you are right to think so. As long as you don't want to bother, the system template in the background is enough. If you want to install a Windows 7 or other system by yourself, you may use this tutorial.
Here is an example of installing centos7
First log in to the backend of kimsufi and turn off monitoring:
Then click Netboot in the upper right corner, select Rescue there, and then click Next:
Click Confirm:
Click Restart in the upper right corner to perform a hard restart and check the SSH account password of the rescue system in the mailbox
Log in to the rescue system to check the hard drive status:
lsblk
View array status:
mdadm --detail /dev/md127We need to stop this array first:
mdadm --detail /dev/md127Then delete the partition tables of the two hard disks:
wipefs -a /dev/sda wipefs -a /dev/sdbView gateway and mask
netstat -rnView dns:
cat /etc/resolv.confRecord the IP, gateway, and DNS information, which will be used later.
Install kvm:
apt -y update apt -y install qemu qemu-kvm
Download the iso of centos7:
wget http://mirror-hk.koddos.net/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso
Start the virtual machine:
qemu-system-x86_64 \ -enable-kvm \ -nodefaults\ -cdrom /root/CentOS-7-x86_64-DVD-2009.iso \ -hda /dev/sda \ -hdb /dev/sdb \ -cpu host \ -smp 4 \ -m 8G\ -netnic\ -net user \ -vga std \ -vnc 0.0.0.0:0 \ -usbdevice tablet \ -k en-us
You can now connect using VNC
VNC address input: ip:5900
If normal, you can see the system installation interface.
After installing the system, shut down the virtual machine
systemctl poweroffGo back to kimsufi's console and change to boot from the hard disk:
Click restart in the upper right corner to perform a hard restart.
Done!
Through the ISO method, the entire system can be changed to a raid0 array method.
Here also provides a one-click installation script for Windows. After starting the rescue mode, the SSH connection receives the information in the email. You can install it directly by using the following script.
wget -O- \'file address\' | gunzip | dd of=/dev/sda
Recommended site searches: foreign virtual hosts, Tencent cloud servers, American independent hosts, ip, Hong Kong ip, rent space, ip purchase, latest domain name query, jsp space, domain name registration website
发表评论