slackware系统安装一

  • A+
所属分类:运维教程

首先介绍一下什么是slackware。Slackware是由Patrick Volkerding开发的GNU/Linux发行版本。与很多其他的发行版本不同,它坚持KISS,Keep It Simple Stupid的原则。一开始时,配置系统会有一些困难,但是更有经验的用户会喜欢这种方式的透明性和灵活性。 Slackware很多特性体现出了KISS原则,最为有名的一些例子就是不依赖图形界面的文本化系统配置、传统的服务管理方式以及不解决依赖的包管理方式。它的最大特点就是安装灵活,目录结构严谨,版本力求稳定而非追新。Slackware的软件包都是通常的tgz或者txz格式文件加上安装脚本。Tgz和Txz对有经验的用户来说,比RPM更为灵活,并且避免了APT之类管理器可能带来的依赖地狱。

然后要说一下,由于安装过程繁琐,演示截图过多,为了不拉长文章的页面,此篇教程分成多篇发布,不便之处希望理解。

言归正传,我们开始安装:

slackware系统安装一

我们使用光盘引导,在看到boot指令后输入hugesmp.s。

slackware系统安装一

这里我们需要设置一下键盘布局,输入数字1后回车。

slackware系统安装一

通常我们使用的键盘为美式英语键盘,选择上图一项。

slackware系统安装一

这个页面是为了确认键盘的设置,1为确认,2为重选。

slackware系统安装一

选择好键盘后,就可以登录了,用户名root,这里没有密码。

首先我们需要创建安装环境,要将硬盘分区后格式化。命令是fdisk /dev/sda。

slackware系统安装一

我们需要创建最少两个分区,一个是swap,另一个根分区,输n开始创建。

需要输入的命令依次是:

  1. p:我们要创建主分区;
  2. 1:选择主分区id;
  3. 1:选择分区开始磁柱,默认从1开始,这里可不输入,直接回车;
  4. +1G:输入分区结尾位置,可以输入磁柱位置,也可输入大小;
  5. t:修改分区类型;
  6. 82:将主分区1改为swap分区;
  7. n:创建另外一个分区;
  8. p:类型为主分区;
  9. 2:id设为2;
  10. 133:磁柱开始位置,上面提示开始为133,可不输入直接回车;
  11. 2610:磁柱结束位置;
  12. w:分区结束,保存分区。
  • 问答中心
  • 微信小程序扫一扫
  • weinxin
  • 微信公众
  • 微信公众号扫一扫
  • weinxin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:8   其中:访客  8   博主  0

    • avatar http://tinyurl.com/

      Can I simply just say what a comfort to discover somebody that really knows what they are talking about on the internet.
      You certainly know how to bring an issue to light and make it
      important. More people really need to check this out and understand this side of the story.
      I was surprised you’re not more popular because you surely possess the gift.

      • avatar http://tinyurl.com/

        There’s definately a lot to know about this issue. I love all the points you’ve made.

        • avatar g

          I just couldn’t go away your web site prior to suggesting that I really loved the
          standard info an individual provide to your visitors? Is gonna be back
          steadily to investigate cross-check new posts

          • avatar g

            Good article! We will be linking to this great post
            on our site. Keep up the good writing.

            • avatar g

              I pay a visit everyday some web sites and sites to read content, except this web site
              presents feature based posts.

              • avatar g

                I was recommended this web site by my cousin. I’m not
                sure whether this submit is written via him as nobody else recognise such particular about my trouble.
                You’re wonderful! Thank you!

                • avatar Nikole

                  Really when someone doesn’t know after that its up to other viewers that
                  they will assist, so here it happens.

                  • avatar Andreas

                    Sweet blog! I found it while searching on Yahoo News.
                    Do you have any suggestions on how to get listed in Yahoo News?
                    I’ve been trying for a while but I never
                    seem to get there! Appreciate it