YaST命令简单介绍
YaST命令
据SuSE公司介绍,YaST是中心管理和安装工具,用于完成大多数管理性任务。事实上,YaST是SuSE linux系统的一个必要组成部分。只有在用户确信绝对不再需要它时才能将其删除!
YaST可以用作为许多不同任务的一个图形工具,包括(但不限于):
*配置和集成硬件
*配置网络服务
*硬盘驱动器和文件系统管理
*软件管理
*系统安装和更新
*用户管理
YaST命令位于/sbin目录,必须作为根用户运行。利用yast命令配置系统时,SuSE主系统配置文件/etc/re.config将产生改动。这一文件由一个名为SuSEconfig的独立程序维护,该程序也位于/sbin目录下,运行yast命令后根据需要予以启动。虽然yast是一个编译的二进制程序(SuSE未提供源代码)。但SuSEconfig是一个1000行的shell脚本,它通过再/etc/rc.config中使用和插入值来更新和操作系统。
——————
说明:
读者也可以手工编辑/etc/re.config文件来允许或禁止服务、软件或硬件支持(如PC卡),然后运行SuSEconfig。但是,YaST允许用户通过其图形界面来完成这项任务,并且将为用户适当地重新启动和中止一项软件服务。
————————
YaST用户界面
同大多数系统服务工具一个样,YaST使用了一个图形用户界面。该界面可从控制太或一个X11终端窗口地
//查看版本
linux-zianed:~ # uname -a
Linux linux-zianed 2.6.16.46-0.12-default #1 Thu May 17 14:00:09 UTC 2007 i686 i686 i386 GNU/Linux
linux-zianed:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (i586)
VERSION = 10
PATCHLEVEL = 1
linux-zianed:~ #
linux-zianed:~ # lsb_release -a
LSB Version: core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:desktop-3.1-ia32:desktop-3.1-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description: SUSE Linux Enterprise Server 10 (i586)
Release: 10
Codename: n/a
linux-zianed:~ # man magic
Reformatting magic(5), please wait…
linux-zianed:~ # cat /proc/version
Linux version 2.6.16.46-0.12-default (geeko@buildhost) (gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)) #1 Thu May 17 14:00:09 UTC 2007
linux-zianed:~ #
linux-zianed:~ # which yast
/sbin/yast
Yet another Setup Tool(YaST), is an RPM-based operating system setup and configuration tool that is featured in the openSUSE Linux distribution, as well as Novell’s derived commercial distributions. It features tools that can configure many aspects of the system. It is also part of the defunct United Linux. The first SuSE distribution that included YaST was released in May, 1996.
YaST2 is a tool for administering and maintaining a SUSE Linux installation. It allows administrators to install software, configure hardware, set up networks and servers, and more.
dos2unix一个将dos文件转换成unix文件的命令
linux-zianed:~ # which dos2unix
/usr/bin/dos2unix
References
http://zhidao.baidu.com/question/101161685.html
http://cn.opensuse.org/YaST
http://cn.opensuse.org/YaST/Documentation
http://cn.opensuse.org/YaST/Tutorials
http://en.opensuse.org/YaST
http://en.wikipedia.org/wiki/Yet_another_Setup_Tool
http://developer.novell.com/wiki/index.php/YaST
http://en.opensuse.org/Released_Version