Code Monkey home page Code Monkey logo

kernel-experiments's Introduction

kernel-experiments

《奔跑吧Linux内核入门篇》实验记录

实验一:在虚拟机中安装 Linux 操作系统

推荐使用 VirtualBox,开源免费。

内核推荐 ubuntu 18.04

实验步骤

一、下载系统镜像

到官网下载一个ubuntu 18.04 镜像文件

二、创建虚拟机步骤:

  1. 打开 VirtualBox
  2. 点击新建
  3. 名称填写ubuntu,类型和版本会自动识别,没有识别手动选择。(类型:Linux 版本:ubuntu 64-bit)
  4. 选择内存大小(物理内存的20%左右或更多),下一步
  5. 虚拟硬盘:现在创建虚拟硬盘,创建
  6. 虚拟硬盘文件类型:默认,下一步
  7. 存储在物理硬盘上:动态分配(会自动扩容硬盘大小),下一步
  8. 选择文件位置和大小,点击创建
  9. 选中刚刚创建的虚拟机,点击设置 --> 存储 --> 控制器:IDE --> 没有盘片 --> 点击右侧光盘图标 --> 选择一个虚拟光盘文件 --> 选择第一步下载的镜像文件 --> 点击确定
  10. 点击启动,进入操作系统安装界面

可能遇到的问题

如果是在Linux系统中使用 VirtualBox,点击启动按钮后会提示缺少某些内核模块,根据提示安装这些内核模块即可,在某些Linux发行版中,需要先给内核模块签名,才能正常加载。详细内容:自行网络搜索 “Linux 内核模块签名” "Linux安装内核模块"

kernel-experiments's People

Contributors

elegancecoding avatar wangjunstf avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.