When writing this article, I just installed the system on a DELL R710. Install the system on the server for the first time. The article will not describe the installation process in detail, there are many on the Internet. Will only describe the problem I'm having. In fact, the server is nothing more than a little bigger, and the hardware self-test takes a long time. Others are no different from ordinary PCs. |
There is no way to boot the U disk boot item or the CD-ROM boot item.
At that time, I checked a lot of information. I forgot to modify the boot option. Some old systems default to BIOS booting, and must be modified to UEFI booting. Modify the settings in the BIOS.
At that time, I checked a lot of information and suspected that it might be related to RAID. In fact, it doesn't matter. My server has only one disk, and various configurations were not working well at that time. Maybe our BIOS doesn't support RAID. Of course, if the actual scene requires it, it still needs to be configured.
Problems that may be encountered when partitioning.
1: It is required to allocate /boot/efi partition. This is what must be analyzed when doing 64-bit centos . Generally, it should be about the same size as the boot partition.
2: Requires GPT partition processing. The prompt is roughly: sda must have GPT label. Processing method:
ctrl+alt+F2
enter the command line
parted /dev/sda
enter the parted state
mklabel gpt
Prompt that all data will be deleted, enter yes
ctrl+alt+F6
Return to the graphical interface, click "Back", and then click "Next" to re-enter the partition interface for partitioning.
This problem is generally caused by 32 operating systems before. Now it is caused by 64-bit system.
Configure static IP
There are many ways to set a static IP address on the Internet. Be careful not only to modify the interface configuration under /etc/sysconfig/network-scripts/, but also to modify the /etc/sysconfig/network gateway configuration.
If interface is installed. After setting, you will find that the display on the graphical interface is always a device no manager. similar. Because in the centos interface, the network is not only managed by the network, but also by the NetworkManager. And they are prone to conflict. When using configuration file modification. You can stop /etc/init.d/NetworkManager directly.
Then //etc/init.d/network restart. That's it.
I also encountered a problem at the time, that is, the ip specified by the administrator could not access the external network, but the automatically obtained ip could be accessed. This may be related to network management and needs to be negotiated with the network administrator.
VNC server installation
yum install vnc yum -y install vnc-server yum install tigervnc-server tigervnc-server-module
After the installation is complete, modify the configuration file:
vim /etc/sysconfig/vncservers VNCSERVERS="1:root" VNCSERVERARGS[2]="-geometry 800x600"
Modify the firewall port:
vim /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 5900 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 5902 -j ACCEPT service iptables restart /etc/init.d/vncserver start chkconfig vncserver on
Then it can be accessed through the client VNC viewer.
samba installation
yum install samba samba-client samba-swat
Add samba account command :
smbpasswd –a
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 ***** = ***** just added users.
Modify the firewall to release ports 139 and 445. The two ports that samba needs to use.
Restart the firewall and start samba
/etc/init.d/smb start chkconfig smb on
If windows does not have permission to access the path,
make sure that set linux is closed, and execute it with the command: setenforce 0
vi /etc/selinux/config
Modify SELINUX=enforcing to SELINUX=disabled
KVM virtual manager installation
Execute the command under administrator authority:
close the se linux system . (setenforce 0)
yum -y groupinstall "Virtualization" "Virtualization Client" "Virtualization Platform" "Virtualization Tools" yum -y install bridge-utils yum install libvirt #sudo apt-get install kvm qemu service libvirtd start
Run lsmod | grep kvm to see
Kvm kvm_intel
Load the kvm kernel module: modprobe kvm
Intel CPU is used: load the Intel kernel module: modprobe kvm-intel
If you return the following error message when loading the module, it means that VT may be disabled in the BIOS:
FATAL: Error inserting kvm_intel (/lib/modules/2.6.20-15-generic/kernel/drivers/kvm/kvm-intel.ko): Operation not supported
Just open it in the BIOS.
Using an AMD CPU:
counter probe sq.m