Installing CentOS under Win7
Same hard disk: Win startup item not, use PE to repair, then use EASYBCD for CentOS startup item repair, GRUB2, auto Search
Two hard drives: Do not move the startup item, BIOS Select the boot drive can be
Linux hangs on Windows hard drive
Yum Install ntfs-3g
Vi/etc/fstab
/dev/sda1/mnt/winc ntfs-3g Defaults 0 0
/dev/sda2/mnt/wind ntfs-3g Defaults 0 0
Multimedia installation
Https://wiki.centos.org/zh/TipsAndTricks/MultimediaOnCentOS7
The file/usr/src/kernels/3.10.0-514.2.2.el7.x86_64/include/linux/version.h does not exist.
With the command sudo ln-s < kernel header file directory >/generated/uapi/linux/version.h < kernel header file directory >/include/linux/version.h
sudo ln-s/usr/src/kernels/3.10.0-229.el7.x86_64/include/generated/uapi/linux/version.h/usr/src/kernels/ 3.10.0-229.el7.x86_64/include/linux/version.h
Grub Repair
Http://www.linuxidc.com/Linux/2015-03/114678.htm
Vnc
Http://jingyan.baidu.com/article/6c67b1d6f1bac92786bb1e6d.html
1.UltraISO Engraved Disc
http://blog.csdn.net/u011318735/article/details/52187448
2. Installation
Http://www.jb51.net/os/188487.html
Minimized installation
Http://www.linuxidc.com/Linux/2015-04/116740.htm
No ifconfig, need to install net-tools*.rpm
No wget, install wget*.rpm
Note Add default route route add default GW 192.168.1.1
Installation Interface
Http://www.centoscn.com/image-text/config/2015/0528/5552.html
Modify Yum Source
1. Backup
Mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup
2, download the new Centos-base.repo to/etc/yum.repos.d/
CentOS 5
Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-5.repo
CentOS 6
Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo
CentOS 7
Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-7.repo
3. After running Yum Makecache generate cache
Configure DNS
Vi/etc/resolv.conf
Join
NameServer 192.168.0.1
NameServer 8.8.8.8
NameServer 8.8.4.4
To configure the gateway:
Vi/etc/sysconfig/network
Join:
gateway=192.168.0.1
Configure IP Address:
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Device= "Eth0"
Hwaddr= "00:0c:29:6c:bb:e6"
Nm_controlled= "Yes"
Onboot= "No"
netmask=255.255.255.0
ipaddr=192.168.0.8
gateway=192.168.0.1
Bootproto=static
Onboot=yes
Peerdns=yes
Restart Service
/etc/init.d/network restart
or use the command:
Service Network restart
Win7 under Installation Centos7