您的位置:首页 > 运维架构 > Linux

[RHCE-RH033-Red Hat Linux Essentials/linux 基础篇] Unit 2

2010-06-03 12:34 661 查看
Objectives

1、Log into a Red Hat Enterprise Linux System.

  登陆一个Red Hat Enterprise Linux System.

  1)登陆(login)

    (visual console 虚拟终端)

1 localhost login: student
2 password:
3 [student@localhost student]$

  Each user has a home directory for personal file storage

  (每个用户都有一个自己home directory存储自己文件      

2、Start X from a console

  从操作台或者terminal启动xwindows

  A Red Hat Enterprise Linux has six consoles(ctrl + alt +F1~F6) and one x windows(ctrl + Alt +F7)

  (每个RHEL 有6个控制台(虚拟终端)和一个x window控制台)用上述命令切换

  x window System is linux's grapgical subsystem

  (x window System 是linux 图形操作子系统)

  Two desktop Environments provided by Red Hat: Gnome(default) and KDE

  Red Hat 提供连个桌面系统:GNome和KDE

  The Red Hat Enterprise Linux run x window:

  At a virtual console ,you run startx or ctrl+alt + F7

  在一个虚拟终端上运行:startx 或Ctrl + alt + f7 启动x window

  ctrl+alt + F7 切换或运行

  startx 启动 如果已经运行了xwindow 会提示

3、Access the command line from X

  在xwindows下运行命令行

  start a terminal

4、Change your password

  修改你的密码

  

  密码规则

  1、三种 A-Z a-z *¥% 123 kind of

  2、root 最少5位,

  3、user 最少8位

1   [root@localhost root]$ passwd student
2
3   New password:
4
5   Confirm New password:
6
7   .. update successfully~!
8

5、Understand the nature of root privileges

  理解root用户特权的性质

  a superuser:Ability to all file

  Do not login as root unless necessary;

  没有必要不要用root登陆。

  Kenel(内核)

  注:经验

  1、 不能针对系统文件 rm -rf 命令

  2、一般远程操作主机时,先用普通用户登陆,然后进入终端以后再切换至root

    su

    su -

    sudo 一次性使用root 权限执行名利

6、Elevate your privilege

  增加你自己权限

7、Edit plain text files

  编辑简单文本文件

  其他不学,之学 vi vim就够了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: