Chinaunix首页 | 论坛 | 博客
  • 博客访问: 200770
  • 博文数量: 489
  • 博客积分: 410
  • 博客等级: 下士
  • 技术积分: 2590
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-01 22:50
文章分类

全部博文(489)

文章存档

2011年(489)

我的朋友

分类:

2011-09-04 12:38:40

原文地址:从iso安装debian(六) 作者:john_debian

春节长假结束,已经和老婆把今年的计划安排得满满的,好久没整那台debian的机器了,今天是牛年的第一篇帖子,从这篇帖子开始,把去年未做完的功课做个了结。

1、虚拟控制台的切换
原先我的机器只能在图像界面和alt-f1之间进行切换,通过编辑/etc/inittab文件,可以通过alt-f2、alt-f3切换多个控制台,因为我的运行默认级别为5,所以对inittab做了如下修改
# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
:::
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:235:respawn:/sbin/getty 38400 tty2
3:235:respawn:/sbin/getty 38400 tty3

4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

阅读(152) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~