The entire process of installing the YouCompleteMe plug-in CentOS,
After several twists and turns throughout the process, I searched a lot of online blogs. Refer to the following:
Http://990487026.blog.51cto.com/10133282/1905427
Http://blog.csdn.net/bboxhe/article/details/46849167
I have tried to install CentOS6.9 and CentOS7. The installation steps are as follows: (The write is rough)
1,
Win10 x64: connect to the network through a wireless network adapter:IP: 192.168.1.106Netmast: 255.255.255.0
lspci-vmm.
In this case, only the http://www.pcidatabase.com/find the corresponding Vendor and Device, and then one by one comparison.
For example,. 0 is 8086 and 100f.
0x100F Intel (R) PRO/1000 MT Network Connection 0x8086 Intel Corporation
2. Run the dmesg command.
For example
E1000 restart :0:01. 0: pci int a-> GSI 19 (level, low)-> IRQ 19E1000 release :0:01. 0: setting latency timer to 64E1000 :0:01. 0: eth0: (PCI: 66 MHz: 32-bit) 00: 0c: 29: 62:
/qemu/ sudo cp pc-bios/pxe-e1000.bin /usr/share/qemu/ cd .. Now, qemu with SPICE support is installed in
/Usr/local/bin, And the ordinary system qemu is installed in
/Usr/bin. We'll make a shortcut cut command called 'qemu-spice 'that you can invoke separately from the system qemu (which doesn' t have SPICE support ). install the QEMU containing SPICE service to usr/local/bin (PS: may also be in usr/bin), and install the common QEMU system under/usr/b
Centos Nic status detectionThe ifconfig command cannot view the NIC status. There are five ways to check the NIC status and whether the NIC is connected.How to check physical Network Link Status on Linux (RHEL/Centos)Original article: http://linuxsupporttips.wordpress.com/2011/08/01/how-to-check-physical-network-link-status-on-linux-rhelcentos/There are several ways to check Link status on RHEL,As far I used to check by 5-ways. Refer Below1)# Dmesg | grep eth.....
specify the MAC address.
You can view the model.
# Qemu-system-x86_64-enable-KVM-net Nic, model =?Qemu: supported Nic models: ne2k_pci, i82551, i82557b, i82559er, rtl8139, e1000, pcnet, virtio
Configure user networking (slirp)
This is the default networking backend and generally is the easiest to use. It does not require root/administrator privileges. It has the following limitations:
There is a lot of overhead so the performance is poor
ICMP traf
Ubuntu is hard to handle without a network, and it is a headache for Ubuntu 10.04 to have a nic driver without a Dell poweredge 990.
Http://apps.hi.baidu.com/share/detail/31765778
This blog post is very helpful, but it is different from my Nic model. I also share my installation process.
1. After Ubuntu 10.04 is installed, no Nic is found. The ifconfig result is only Lo, and eth0 cannot be found;
2. dmesg | grep-I network has no results;
3. lspci-v | grep-I Ethernet. The result is: 00:
addbr virbr0 activate Bridge ip link set virbr0 up add tap0 virtual network card to the specified bridge. When creating a kvm Vm, brctl addif br0 tap0 can specify the port on which the VM is connected. For example, qemu-kvm-m 4096-smp 4-hda/home/linux_hzhsan.qcow2-net nic, model = e1000, macaddr = 53: 02: 43: BC: F8: c1-net tap, ifname = tap0, script = no, downscript = no It's like a physical host (corresponding to the virtual host) use a network ca
this articleTest packet loss in the virtual environment
First experiment:IperfTest whether packet loss occurs.
Iperf (Iperf is a network performance testing tool, that is, the network speed test in LINUX), the two generotors start to fill the traffic at full speed. Then we start to calculate the number of packet loss at each point in Figure 1 based on the statistical information. The result is shown in:
Because of the different configurations in Table 1, the seven configurations from C1 to C7
a packet header of 50 bytes. Refer to this article
Test packet loss in the virtual environment
First experiment:IperfTest whether packet loss occurs.
Iperf (Iperf is a network performance testing tool, that is, the network speed test in LINUX), the two generotors start to fill the traffic at full speed. Then we start to calculate the number of packet loss at each point in Figure 1 based on the statistical information. The result is shown in:
Because of the different configurations in Table 1,
-extpack should not be wrong)
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.6-91406.vbox-extpack
Now we can test it.
VBoxManage list extpacks
If similar information appears, the installation is successful.
Extension Packs: 1Pack no. 0: Oracle VM VirtualBox Extension PackVersion: 4.2.12Revision: 84980Edition: Description: USB 2.0 Host Controller, VirtualBox RDP, PXE ROM with E1000 support.VRDE Module: VBoxVRDPUsab
Solution to NIC missing after centos7 Installation
A small problem recently occurred, and finally found the method:
Question 1:
Recently, we have to re-install python and then install virtual machines. To be lazy, we installed centos7 on the VM. After installation, we found that only ifg-lo and no other NICs are available. Someone on the Internet said that it would be nice to add an eth0 and set the basic parameters, but this does not apply to centos7, or my technology is not that good. Ha
the Eni, for example
MODULES_LOADED_ON_BOOT = "tg3 e1000"
Note: In most cases, you do not need to configure this step. only some NICs cannot be bound due to the slow initial drive during startup, and the binding fails because some slave devices are not bound, configuration is required.
2. create the Nic configuration file to bind
/Etc/sysconfig/network/ifcfg-eth *, where * is a number, such as a ifcfg-eth0, a ifcfg-eth1, and so on.
The content of eac
stable.In this process there are a lot of problems that are not understood also from the 51 above solved. I purchased the Wang Chunhai Teacher's virtualization course. A complete set, also contacted him, on top he also helped me to solve several problems.Just last year a network problem bothered me for two months, and finally went to ask 51 on the He Kunyuan teacher got the answer.This is the problem. The WIN2012 operating system installed on the virtual machine, ping the network is always unst
Vware allocates 4 virtual network cards to ESXi, and after ESXi is built, you can see only one650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/50/wKioL1b8jZSBFDjdAALo-0yPtac791.png "title=" 111. PNG "alt=" Wkiol1b8jzsbfdjdaalo-0yptac791.png "/>Find a solution by searching the information onlineshut down the virtual machine first (important) otherwise the reboot will not take effect , modify the. vmx file under the virtual machine to join the unrecognized NICFirst NIC for example: Et
Recently in a Windows Server 2012 failover run environment, plan to run SQL Server on top of AlwaysOn, the virtual server is running on the VMware ESXi 5.5.0 platform and found if the virtual server uses e1000e () Type of network adapter, failover communication often fails, when two servers ping each other, occasionally drops packets, if the E1000,vmxnet3 type of network card is used, the failover communication is normal, and the mutual ping does not
outputs, in this way, the time increment may be completely unable to be reflected through the kernel information.
Therefore, in order to accurately determine the real time consumption, we need to analyze it with the kernel source code. When necessary, for example, in the third case above, You have to insert printk printing in the source code to further determine the actual time consumption process.
The Linux kernel startup analysis after my last reduction is as follows:
Total kernel Start Ti
# Vim/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0Onboot=yes (boot start)bootproto=static (static IP)dns1=192.168.1.1 (DNS)ipaddr=192.168.0.115 (IP address)netmask=255.255.0.0 (Subnet mask)gateway=192.168.0.1 (Gateway)Type=ethernet/etc/init.d/network restartor service network restart//restart NetworkIf the prompt does not find a suitable device: No device can be found to connect to ' System eth0 'IFCONFIG-A//See if there is a eth0 NICCat/etc/udev/rules.d/70-persistent-net.rules//View mac
type is not compatible find our VMware Virtual machine folder, the VMware Virtual machine configuration (. vmx), Append a set of our network card type Ethernet0.virtualdev = "e1000".②: Workaround set up VMware bridging settings, remove all bridge card net0 Net8, then restart our computer, then click Restore Defaults to resolve the cause: should be due to the previous VM NIC is not driving properly.question two :CentOS7 execution ifconfig command not
I installed it on a VMware virtual machineFirst, check whether the CPU supports virtual tablesgrep ' VMX|SVM '/proc/cpuinfo--color//have supportSecond, install KVM and the required packages and verifyYum-y Install KVM virt-* libvirt//Check if the installation was successfulLsmod|grep KVMLs/dev/kvmThird, network configurationCat/etc/sysconfig/network-scripts/ifcfg-br0Device=br0#HWADDR =00:0c:29:f2:0d:daType=ethernet#UUID =e4728a54-13a5-48a2-8fcc-030eb15e789fOnboot=yes#NM_CONTROLLED =yesBootproto=
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.