How to configure and install centos on the DELL R710 Server
At the time of writing this article, I just installed a DELLR710 system. Install the system on the server for the first time. The article will not describe the installation process in detail, there are many online. It only describes the problems I encountered.
In fact, the server is almost bigger, and the hardware self-check takes a long time. There is no difference between others and ordinary PCs.
The first problem is that there is no way to boot the USB flash drive or the optical drive.
At that time, I checked a lot of information. I forgot to modify the boot option. Some old systems use BIOS boot by default and must be changed to UEFI boot. Modify the settings in the BIOS.
At that time, I checked a lot of information and suspected it may be related to RAID. In fact, it does not matter. My server had only one disk, and all the configurations were not good at that time. Maybe our BIOS does not support RAID. Of course, you still need to configure it if necessary in actual scenarios.
The second problem: problems that may occur during partitioning.
How to partition a large number of articles on the Internet.
1: The/boot/efi partition is required. This is an analysis required for 64-bit centos, which is generally about the same size as the boot partition.
2: GPT partition processing is required. The prompt is sda must have GPT label. Processing Method:
L press ctrl + alt + F2 to enter the command line
L enter parted/dev/sda to enter the parted state.
L input mklabel gpt, prompting that all data will be deleted. Enter yes
L press ctrl + alt + F6 to return to the graphic interface, click "Back", and then click "Next" to re-enter the partition interface for partitioning.
L this problem is generally caused by 32 operating systems. It is caused by a 64-bit system.
Third, configure static IP
There are also many ways to set static IP addresses online. Note that you should not only modify the configuration of the interfaces under/etc/sysconfig/network-scripts/, but also modify the configuration of/etc/sysconfig/network Gateway.
If the interface is installed. After setting, you will find that there is always a device no manager on the graphic interface. Similar. In centos, the network is not only managed by the network, but also by the NetworkManager. The two are prone to conflicts. When the configuration file is used for modification. You can directly stop/etc/init. d/NetworkManager.
Then/etc/init. d/network restart. In this way, you can.
I also encountered a problem at the time, that is, the Administrator configured ip address cannot access the Internet, and the automatically obtained ip address can be accessed. This may be related to network management and must be negotiated with the network administrator.
VNC server Installation
Yum install vnc
Yum-yinstall vnc-server
Yuminstalltigervnc-servertigervnc-server-module
After the installation is complete, modify the configuration file:
Vim/etc/sysconfig/vncservers
VNCSERVERS = "1: root"
VNCSERVERARGS [2] = "-geometry800x600"
Modify the firewall port:
Vim/etc/sysconfig/iptables
-AINPUT-m state -- state NEW-m tcp-p tcp -- dport 5900-j ACCEPT
-AINPUT-m state -- state NEW-m tcp-p tcp -- dport 5901-j ACCEPT
-AINPUT-m state -- state NEW-m tcp-p tcp -- dport 5902-j ACCEPT
Serviceiptables restart
/Etc/init. d/vncserverstart
Chkconfigvncserver on
Then you can access it through the VNCviewer client.
Samba Installation
Yuminstall samba-client samba-swat
Add the samba account command: smbpasswd-
Modify the vim/etc/samba/smb. conf configuration file
[Share]
Comment = ***** share dir
Path =/home/*******/share
Writable = yes
Valid users = *******
Vim/etc/samba/smbusers
Add *** = ****** to the user you just added.
Modify the firewall to open port 139445. The two ports required by samba.
Restart the firewall and start samba.
/Etc/init. d/smbstart
Chkconfigsmb on
If windows has no access path
Make sure that setlinux is disabled and run the: setenforce 0 command.
Vi/etc/selinux/config
Modify
SELINUX = enforcing
Is
SELINUX = disabled
Install KVM virtual Manager
Run the following command as an administrator:
Disable selinux system. (setenforce 0)
Yum-ygroupinstall "Virtualization" "Virtualization Client" "Virtualization Platform" "Virtualization Tools"
Yum-y installbridge-utils
Yum install libvirt
# Sudoapt-get install kvm qemu
Service libmongod start
Run lsmod | grep kvm.
Kvm
Kvm_intel
Load kvm kernel module: modprobe kvm
Intel CPU: loaded Intel kernel module: modprobe kvm-intel
If the following error message is returned during module loading, it indicates that VT may be disabled in BIOS: FATAL: error inserting kvm_intel (/lib/modules/2.6.20-15-generic/kernel/drivers/kvm/kvm-intel.ko): Operation notsupported
Enable it in BIOS.
Amd cpu: modprobe kvm-amd
Appendix:
Http://www.centoscn.com/image-text/setup/2014/1128/4199.html
Http://blog.csdn.net/u013637931/article/details/49287643
Http://www.centoscn.com/image-text/setup/2016/0217/6761.html