Discover virtualize physical machine, include the articles, news, trends, analysis and practical advice about virtualize physical machine on alibabacloud.com
These two days on a physical machine installed centos7.5, mainly to run Docker to do some test environment, Docker to upgrade the kernel, 3.x kernel is not enough, habitual (as in the virtual machine)RPM--import https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgRPM-UVH http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpmYum--enablerepo=elrepo-kernel Instal
noderestabdump mactabdump hosts4. Configure the HostMakehostsAfter configuration, the contents of/etc/hosts file are as follows5. Configure DHCPMakedhcp-nAfter configuration in my environment DHCPD boot will be problematic, so I made the following modifications* Delete the following lines of zone in the/etc/dhcp/dhcpd.conf file . { primary noresolution; key xcat_key;} Zone 31.168.192.in-addr. Arpa. { primary noresolution; key xcat_key;}* Edit the/ETC/INIT.D/DHCPD file toUSER=DHCPDGROUP=D
Obtain the physical (MAC) address of the machine Nic
/**
Obtain the physical (MAC) address of the machine Nic
**/
Class GetMacAddr
{
Var $ return_array = array (); // returns a string array with a MAC address.
Var $ mac_addr;
Be abused by this problem, only for the later not to be abused, so write this article.CentOS 6.4 installed on the physical machine and Win7 to form a dual system, but CentOS has been unable to network, a careful look only to find that the network cable interface is not lit at all. Because the NIC driver does not exist! Your execution of the ifconfig command also shows no eth0!The next Driver wizard in Windo
Android obtains the ip address and the physical address of the local machine.
/*** Get ip ** @ return */public static String getLocalIPAddress () {try {for (Enumeration
En = NetworkInterface. getNetworkInterfaces (); en. hasMoreElements ();) {NetworkInterface intf = en. nextElement (); for (Enumeration
EnumIpAddr = intf. getInetAddresses (); enumIpAddr. hasMoreElements ();) {InetAddress inetAddr
Download Address:
https://pan.baidu.com/s/1miFG46c
There are three files in which the. iso file is to be installed on the physical machine.
first simulate installation with VMware in virtual machines address: http://jingyan.baidu.com/article/f25ef254745c8a482c1b82d9.html Baidu Tutorial
The process of installing with VMware is quite straightforward. After the installation is complete, you can also use VM
, NB Sp ------------ and nbsp , NB Sp , NB Sp --------- , NB Sp , NB Sp , NB Sp PhysicalDisk2 , NB Sp , NB Sp unspecified , N Bsp , NB Sp , NB Sp PhysicalDisk3 SsdsPS c:\windows\system32> set-physicaldisk-friendlyname Physicaldisk2-mediatype HDDPS c
Tags: art root file Lin Systemctl efault Sound System solutionKali Linux system By default, the root user is unable to use the sound card, and there is no sound. The following methods are enabled:(1) Execute command at Terminal: Systemctl--user enable PulseAudio(2) under the/etc/default/directory, create a file named PulseAudio, and add the following:Pulseaudio_system_start=1Disallow_module_loading=0Restart the system and there is a sound.Another, modify the input method or install the input met
exists, using Grup-install/dev/hda (HDA is the sub-area code, the specific can be fdisk-l view)If you do not have a/boot partition, you need to create it separately: Grub-install--root-directory=/boot/dev/shaAfter the completion of the modification of the/boot/grub/grub.conf file, the content is also modified to (hd0,0) if the boot is not modified when booting can not find the target partition failure, at this point, press E, enter the system and then edit this fileSummarize and ask the great G
Base Base-devel Base-devel does not have to be installed, but it contains a lot of common features, such as Gcc,grep,pacman,sudo,systemd,which, so install it. Generate Fstab:Genfstab-u/mnt >>/mnt/etc/fstabChange Administrator:Arch-chroot/mntSet the time zone:Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtimeHwclock--SYSTOHCSetting Language:Vim/etc/locale.gen put zh_CN.UTF-8 UTF-8 zh_HK.UTF-8 UTF-8 zh_TW.UTF-8 UTF-8en_US.UTF-8 UTF-8这四行的注释取消Locale-gen Build LanguageVi/etc/locale.confAdd Lang=en
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.