setup machine(only for vm)
1. create vm machine
- at least, 3 gigabytes is necessary for vm if you are in first trip to lfs
- 256M mem is enough if the vm is installed on sda; otherwise, 512M is better
2. boot order
set cd-rom driver to first order on boot list
3. reboot vm
option
use ssh to accomplish command issuing:
1. net-setup
by default, press Enter two times to acquire dynamic ip through dhcp
2. start sshd
/etc/rc.d/init.d/sshd start
passwd to set root password for sshd
new partition
1. create partition
by default, login as root user to run cfdisk to launch graphical interactive operation; new two partitions, one for swap and another for lfs building.
2. create file system
assume /dev/sda1 is first partition and /dev/sda2 is second one.
issues these commands to create file system on the partition:
mke2fs -jv /dev/sda2
mkswap /dev/sda1
swapon /dev/sda1
3. mount the partition
export LFS=/mnt/lfs
mkdir -pv $LFS
mount -v -t ext3 /dev/sda2 $LFS
分享到:
相关推荐
Jump in wherever you need answers–brisk lessons and colorful screenshots show you exactly what to do, step by step. Quickly start a new plan, build task lists, and assign resources Share your plan ...
9. **系统服务指令**:如 GET(读取系统信息)、PUT(写入系统信息)、STOP(停止)、START(启动)等,用于管理 PLC 的运行状态和配置。 通过熟练运用这些指令,工程师可以构建出高效、可靠的自动化控制程序。在...
With this practical, learn-by-doing tutorial, you get the guidance you need to build flexible and powerful solutions that meet the analytical needs of your organization. Discover how to: •Start ...
With this practical, learn-by-doing tutorial, you get the clear guidance and hands-on examples you need to start creating datacentric applications for Windows® and the Web. Discover how to: ...
在《step to step to OpenCAD教材》中,首先介绍了如何通过Visual C++来创建一个OpenCAD应用程序的基础框架。这一步是开发OpenCAD应用的基础。 - **步骤概述**: - **创建新项目**:打开Visual Studio,选择新建...
7. **初始化Hadoop**:格式化NameNode,创建HDFS文件系统,运行`sudo -u hdfs hdfs namenode -format`,然后启动Hadoop守护进程,如`start-dfs.sh`和`start-yarn.sh`。 8. **配置环境变量**:在`~/.bashrc`文件中...
It start right now and by the time you finish and implement the steps here, you will have learned everything there is to know in less than a day! Steps covered to become proficient in C Programming ...
If you are an experienced software developer, you’ll get all the guidance, exercises, and code you need to start building responsive, scalable Windows 10 and Universal Windows Platform applications ...
With this practical, learn-by-doing tutorial, you get the guidance you need to build flexible and powerful solutions that meet the analytical needs of your organization. Discover how to: •Start ...
With this practical, learn-by-doing tutorial, you get the guidance you need to build flexible and powerful solutions that meet the analytical needs of your organization.Discover how to:•Start ...
With STEP BY STEP, you get the guidance and learn-by-doing examples you need to start building Web applications and Web services in the Microsoft Visual Studio® 2010 environment. The author-a highly...
附件不全,请不要下载,... With STEP BY STEP, you get the guidance and learn-by-doing examples you need to start building Web applications and Web services in the Microsoft Visual Studio 2008 environment.
4. **并行处理支持**:可以通过`Start-Job` cmdlet启动后台作业,实现任务的异步执行。 ### 二、使用Windows PowerShell Cmdlets 第二章“使用Windows PowerShell Cmdlets”详细介绍了如何使用PowerShell中的命令...
Step-X 如果您想按照本教程进行操作,请克隆该存储库并签出Start标记。 git clone https://github.com/camunda/camunda-get-started-java.git git checkout -f Start 许可证:此存储库中的源文件位于下方。
If you are an experienced software developer, you’ll get all the guidance, exercises, and code you need to start building responsive, scalable Windows 10 and Universal Windows Platform applications ...
C INPUTD(FILENAME), TAKES THE NAMED FILE AND USES IT TO GET THE DATA IMAGE INTO C THE COMMON BLOCK /DATA/. SEE OCCAM HEADER. C INPUTM(FILENAME), TAKES THE NAMED FILE AND READS IN ANY FIXED ATTRIBUTES...
Going through the book “The Ultimate Python Quick Start Guide”, you will be able to rapidly get a strong grasp of – The very basics of Python Programming The manipulation of various Python ...