一.准备前提

1.联想G510AT

  用winpe进入笔记本电脑,找到一个分区,删除即可

2.使用U盘安装

  2.1.准备一个8G 的U盘,格式化ntfs。

  2.2.在window下,下载UltraISO,一般最新版即可,用户名:王涛;注册码:7C81-1689-4046-626F

  2.3.下载centos,一般下载dvd版本,即可,

  2.4.使用UltralSO装载centos,启动-》写入磁盘映像,即可

3.U盘启动

  启动电脑,进入bios,设置Legacy support,first;

  待电脑重启,进入Install Centos 后,

  按tab建,将命令修改为:>vmlinuz initrd=initrd.img linux dd quiet

  根据提示 ctrl+ X 重启,后可查看u盘系统。abd4 或者其他,修改命令:>vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdc4 quiet

4.进入系统安装界面。

  软件安装可以选择,gnone,磁盘设置swap 为内存1-2倍

  其他使用默认即可。安装完毕即可使用

二.安装网卡

1.先使用网线连接,确定网卡类型Broadcom:lspci | grep Broadcom

  确认为:BCM43142

2.使用教程

  https://elrepo.org/tiki/wl-kmod

  基础步骤【以下只是重复url内容】:  

  1. wl-kmod
  2. Source RPMs for Broadcom drivers
  3. Please note: The current Broadcom closed-source Linux drivers when built according to the instructions provided here have provided functional wireless capability to some users, but have failed for other users.
  4.  
  5. Broadcom Corp. provides closed-source IEEE 802.11a/b/g/n Linux drivers for use with Broadcom's BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM4331, BCM4352, BCM4360, BCM43142, BCM43224, BCM43225, BCM43227 and BCM43228 wireless chipsets. We (ELRepo) cannot create and redistribute binary RPMS for these drivers due to the Broadcom licensing restrictions (i.e., liability issues). However, we do make available no-source SRPMS (.nosrc.rpm) which contain the framework required to build the binaries, but lack the proprietary code and are not subject to Broadcom's licensing restrictions.
  6.  
  7. These no-source SRPMS can be used by the end user to build kABI-compatible binary drivers for local use. These kABI-compatible binaries should be usable after future kernel updates, so there is no need to recompile them for each new kernel. Please note that the nosrc.rpm package does not build kmod-wl for kernel-xen and kmod-wl cannot be built on a system running kernel-xen.
  8.  
  9. To build a kmod-wl binary, you will need to (1) configure a build tree, (2) download the wl-kmod*nosrc.rpm for your EL release, (3) download the closed-source tarball from Broadcom for your architecture (i.e., 32-bit vs 64-bit) into the build tree and (4) initiate the kmod-wl build. For convenience, the kernel development package for the running kernel will be used in the build process, as opposed to our normal policy of building against an older kernel development package.
  10.  
  11. The kmod-wl package can be built on any system running the same EL release/architecture as the target system. If you are building on the target system and lack network connectivity, then the downloads can be made onto a USB flash drive and copied onto your system.
  12.  
  13. Below are the detailed instructions on how to build the binary packages from our no-source SRPM. If you are already familiar with using rpmbuild to build packages, then this process should only take you 5-10 minutes to complete.
  14.  
  15. Kmod-wl Usability Across EL Point Releases (or Why doesnt my wireless work after the last point release update?″):
  16.  
  17. If you are only interested in building kmod-wl for the latest kernel, then you do not really need to read this section, but it would not hurt to understand the underlying issues.
  18.  
  19. The EL6 and EL7 kmod-wl binaries are typically only functional within a range of EL point releases (e.g., 6.8-6.9, 7.4) due to changes in the wireless stack-related kernel API of the EL 6 and EL 7 kernels. RHEL backports (external link) components of recent kernels so that more modern kernel features and security fixes are available to the user. These backports become most notable when a new point release becomes available.
  20.  
  21. Our kmods continue to work after updating the kernel as long as the Kernel Application Binary Interface (kABI) remains unchanged with respect to our packages. EL point releases sometime break this compatibility. For the kmod-wl package, we make changes to the wl-kmod srpm to accommodate these changes. One down side is that the newly built kmod-wl only works within the newest RHEL point release after a wl-kmod srpm update. To maintain backward compatibility of the wl-kmod srpm, we craft it to build slightly different kmod-wl packages depending on the point release kernel used to build it.
  22.  
  23. If your interest is to only use the newest kernel, then you can just boot to the newest kernel and follow the instructions (below) to build a usable kmod-wl. However, if you need to continue using an older kernel, then you can use the updated wl-kmod srpm to build a kmod-wl package that works with the older kernel.
  24.  
  25. How to do that: If you build kmod-wl from the updated srpm after booting the latest kernel, then you can save that kmod-wl for use with the latest kernel. Likewise, you can build kmod-wl from the updated srpm after booting an older point release kernel and then save that kmod-wl for use with the older point release kernel. (For users familiar with using rpmbuild, you can also use the " --define 'kversion TARGET-KVERSION ' " option to avoid booting different kernels.) Unfortunately, you can only have one of those kmod-wl packages installed at a time, so save both kmod-wl packages, but only install one of them. Note that they have exactly the same version (i.e., their rpm names are identical), so save them in separate folders.
  26.  
  27. For example, you can build kmod-wl under an EL 7.2 kernel and use it with EL 7.2 kernels, but it will not function when you boot EL 7.1 or EL 7.3 kernels. Likewise, you can build kmod-wl under an EL 7.3 kernel and use it with EL 7.3 kernels, but it will not function when you boot EL 7.1 or EL 7.2 kernels.
  28.  
  29. If you need a kmod-wl package that works within one of the following ranges, then boot a kernel in that range and build/install kmod-wl as described below.
  30.  
  31. Supported EL 6 Point Release Ranges: (1) 6.3 - 6.4, (2) 6.5 - 6.6, (3) 6.7, (4) 6.8 - 6.9
  32.  
  33. Supported EL 7 Point Release Ranges: (1) 7.0, (2) 7.1, (3) 7.2, (4) 7.3, (5) 7.4
  34.  
  35. Build and install kmod-wl for EL6/7
  36. Please note:
  37.  
  38. If your current kmod-wl package works with an older kernel and wireless networking is your only Internet access method,
  39. then boot the older kernel and download the new srpm and Broadcom source before proceeding.
  40.  
  41. 1) Install needed tools/packages:
  42.  
  43. 1a) EL6:
  44.  
  45. # yum groupinstall 'Development Tools'
  46.  
  47. # yum install redhat-lsb kernel-abi-whitelists
  48.  
  49. # yum install kernel-devel-$(uname -r)
  50.  
  51. EL 6.4 - 6.6 Note: Due to a bug in redhat-rpm-config-9.0.3-42.el6, a modification is required to fix the
  52. kabi-whitelist target in /usr/lib/rpm/redhat/find-requires.ksyms before you build kmod-wl.
  53.  
  54. Please run as root (as a single copy/paste):
  55.  
  56. [[ $(rpm -q redhat-rpm-config|grep 9.0.3-42|wc -l) -gt 0 ]] && sed -i \
  57. 's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-current/kabi_whitelist@g' \
  58. /usr/lib/rpm/redhat/find-requires.ksyms
  59.  
  60. The above modification is not needed for EL 6.7 or later.
  61.  
  62. 1b) EL7:
  63.  
  64. # yum group install 'Development Tools'
  65.  
  66. # yum install redhat-lsb kernel-abi-whitelists
  67.  
  68. # yum install kernel-devel-$(uname -r)
  69.  
  70. EL 7.0 Note: Due to a bug in redhat-rpm-config-9.1.0-63.el7, a modification is required to fix the
  71. kabi-whitelist target in /usr/lib/rpm/redhat/find-requires.ksyms before you build kmod-wl.
  72.  
  73. Please run as root (as a single copy/paste):
  74.  
  75. [[ $(rpm -q redhat-rpm-config|grep 9.1.0-63|wc -l) -gt 0 ]] && sed -i \
  76. 's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-rhel70/kabi_whitelist@g' \
  77. /usr/lib/rpm/redhat/find-requires.ksyms
  78.  
  79. The above modification is not needed for EL 7.1 or later.
  80.  
  81. 2) As a regular user (not as root), configure a build tree and minimal .rpmmacros:
  82.  
  83. $ mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
  84.  
  85. $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s -r|cut -d"." -f1).local" >> ~/.rpmmacros
  86.  
  87. 3) Download wl-kmod*nosrc.rpm
  88.  
  89. For EL6: http://elrepo.org/linux/elrepo/el6/SRPMS/wl-kmod-6_30_223_271-3.el6.elrepo.nosrc.rpm (external link)
  90.  
  91. For EL7: http://elrepo.org/linux/elrepo/el7/SRPMS/wl-kmod-6_30_223_271-4.el7.elrepo.nosrc.rpm (external link)
  92.  
  93. 4) Download the Broadcom driver matching your architecture (i.e., 32-bit vs 64-bit):
  94.  
  95. from: http://www.broadcom.com/support/802.11 (external link) (scroll down to "Linux® STA 32-bit (or 64-bit) drivers")
  96.  
  97. to: ~/rpmbuild/SOURCES/
  98.  
  99. 5) Build kmod-wl as a regular user (not as root):
  100.  
  101. $ rpmbuild --rebuild --define 'packager <your-name>' /<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm
  102. ...
  103. Wrote: /home/<user>/rpmbuild/RPMS/x86_64/kmod-wl-<version>.x86_64.rpm
  104. ...
  105. + exit 0
  106.  
  107. 6) If ndiswrapper is installed and is no longer needed, then remove it:
  108.  
  109. # yum remove \*ndiswrapper\*
  110.  
  111. 7) Install kmod-wl:
  112.  
  113. Note for EL7: Recent hardware is often shipped with an Unified Extensible Firmware Interface (UEFI) in which Secure Boot is enabled. If you wish to continue using Secure Boot in combination with EL7/kmod-wl, then you will need to sign the kmod-wl.rpm you have created using your own private Secure Boot key and install the corresponding public key on your system as explained in Signing Kernel Modules for Secure Boot (external link). Otherwise, you can disable Secure Boot in the UEFI configuration to avoid this issue.
  114.  
  115. # rpm -Uvh /path-to-rpm/kmod-wl*rpm
  116.  
  117. OR
  118.  
  119. # yum --nogpgcheck localinstall /path-to-rpm/kmod-wl*rpm
  120.  
  121. Please note: It is recommended, but is not critical, that you uninstall any older version of kmod-wl (i.e., rpm -e kmod-wl) before installing the new kmod-wl package.
  122.  
  123. 8) Reboot or to start wireless now:
  124.  
  125. 8a) EL6:
  126.  
  127. # modprobe -r b43 b43legacy ssb wl lib80211
  128. # modprobe -r bcma (Note: needed for EL 6.4 and later)
  129. # modprobe lib80211_crypt_tkip
  130. # modprobe wl
  131.  
  132. 8b) EL7:
  133.  
  134. # modprobe wl
  135.  
  136. 9) Store kmod-wl*rpm for safe keeping
  137.  
  138. 10) Optional - Remove the build tree:
  139.  
  140. $ rm -rf ~/rpmbuild

安装基础包

  yum install kernel-headers kernel-devel gcc

下载驱动:http://www.broadcom.com/support/802.11/linux_sta.php

三.切换命令行与图型化切换

  命令行:

  systemctl set-default multi-user.tartget

  图形化:

  systemctl set-default graphical.target

  reboot重启校验即可。

四.显卡驱动

  amd 安装,目前由于系统使用的是centos7。4 ,故,暂时无法安装XServer。Xserver 版本过高。。

  

001-centos7安装 笔记本 联想G510的更多相关文章

  1. 笔记本联想(Lenovo)G40-70M加装内存和SSD固态硬盘

    笔记本联想(Lenovo)G40-70M加装内存和SSD固态硬盘 系列文章: 笔记本电脑提速之加装内存条.SSD固态硬盘.光驱位换SSD固态硬盘 笔记本ThinkPad E430c加装内存和SSD固态 ...

  2. HP服务器 hp 360g5 centos7安装问题

    HP服务器  hp 360g5 centos7安装问题 一 :启动盘无法识别硬盘 1.进入安装光盘,用上下键选择安装centos--Install Centos7(注意不可按Enter键),如图: 2 ...

  3. CentOS7 安装Mono及Jexus

    CentOS7安装Mono及Juxes 1 安装Mono 1.1 安装yum-utils 因为安装要用到yum-config-manager,默认是没有安装的,所以要先安装yum-utils包.命令如 ...

  4. CentOS7安装mysql提示“No package mysql-server available.”

    针对centos7安装mysql,提示"No package mysql-server available."错误,解决方法如下: Centos 7 comes with Mari ...

  5. CentOS7安装Oracle 11gR2 安装

    概述 Oracle 在Linux和window上的安装不太一样,公司又是Linux系统上的Oracle,实在没辙,研究下Linux下Oracle的使用,oracle默认不支持CentOS系统安装,所以 ...

  6. Centos7安装完毕后重启提示Initial setup of CentOS Linux 7 (core)的解决方法

    问题: CentOS7安装完毕,重新开机启动后显示: Initial setup of CentOS Linux 7 (core) 1) [x] Creat user 2) [!] License i ...

  7. centos7安装eclipse

    centos7安装eclipse Eclipse是一个集成开发环境(IDE),包含一个基工作区和定制环境的可扩展插件系统.大部分使用 Java 编写,Eclipse 可以用来开发应用程序.通过各种插件 ...

  8. CentOS7安装mongoDB数据库

    CentOS7安装mongoDB数据库 时间:2015-03-03 16:45来源:blog.csdn.net 作者:进击的木偶 举报 点击:8795次 mongoDB是目前发展比较好的NOSQL数据 ...

  9. CentOS7安装Ambari

    环境: CentOS7安装两个节点:master.slave1.并配置ssh无密码登录. 步骤: 获取 Ambari 的公共库文件(public repository): wget http://pu ...

随机推荐

  1. json.Decoder vs json.Unmarshal

    128down voteaccepted It really depends on what your input is. If you look at the implementation of t ...

  2. Hive 作业优化

    1.Join原则将条目少的表/子查询放在 Join的左边. 原因是在 Join 操作的 Reduce 阶段,位于 Join左边的表的内容会被加载进内存,将条目少的表放在左边,可以有效减少发生内存溢出的 ...

  3. 查看tensorflow版本和存储位置

    >>>import tensorflow as tf >>>tf.__version__ __是两个下划线,中间有空格 >>>tf.__path_ ...

  4. 因DataTable的字段值为DBNull引发的异常

    1 问题重现 (1)新建项目DBNullExp.项目属性为"控制台应用程序": (2)在项目下新建数据集Schools(数据集文件的后缀名为.xsd): watermark/2/t ...

  5. 谈谈 OC 中的内联函数

    内联函数 即在编译的时候将函数体替换函数调用.从而不须要将parameter,returnaddress进行push/pop stack的操作, 从而加速app的执行.然而,会添加二进制文件的大小. ...

  6. Nginx编译安装第三方模块http_substitutions_filter_module2222

    Nginx编译安装第三方模块http_substitutions_filter_module Rming -- 阅读 安装 Http 编译 module filter nginx 模块 >> ...

  7. MVC4的缓存

    目录(?)[+] MVC3缓存之一:使用页面缓存 在MVC3中要如果要启用页面缓存,在页面对应的Action前面加上一个OutputCache属性即可. 我们建一个Demo来测试一下,在此Demo中, ...

  8. 内核交互--sysfs

    文档介绍:http://lxr.linux.no/linux+v2.6.37/Documentation/filesystems/sysfs.txt The sysfs Filesystem Sysf ...

  9. Mysql 变量讲解

    set语句的学习: 使用select定义用户变量的实践将如下语句改成select的形式: set @VAR=(select sum(amount) from penalties);我的修改: sele ...

  10. (转 )【Android那些高逼格的写法】InvocationHandler与代理模式

    转自这个公众号: 今天会聊一下InvocationHandler.说到InvocationHandler不得不提到的就是代理模式,什么是代理模式,举个例子,你玩游戏,花钱请个代练,代练其实是登录你的账 ...