ibm aix61 管理员及用户入门(1)

来源:互联网 发布:高中信息技术编程题目 编辑:程序博客网 时间:2024/06/06 13:03

ibm aix61 管理员及用户入门

$smit install_software

                           Install Software Type or select values in entry fields.

Press Enter AFTER making all desired changes. [Entry Fields]

* INPUT device / directory for software /dev/tmp

 * SOFTWARE to install [_all_latest] +

 PREVIEW only? (install operation will NOT occur) no +

 COMMIT software updates? yes +

 SAVE replaced files? no +

 AUTOMATICALLY install requisite software? yes +

 EXTEND file systems if space needed? yes +

OVERWRITE same or newer versions? no +

 VERIFY install and check file sizes? no +

Include corresponding LANGUAGE filesets? yes +

 DETAILED output? no + Process multiple volumes? yes +

 ACCEPT new license agreements? no +

 Preview new LICENSE agreements? no +

 

 rpm包的安装: $geninstall

要从命令行安装 cdrecord 和 mtools RPM 软件包,请输入以下命令:

# geninstall -d/dev/cd0 R:cdrecord R:mtools

 

$man geninstall(5.3)

Commands Reference, Volume 2, d - h

geninstall Command

Purpose

A generic installer that installs software products of various packaging formats.

For example, installp, RPM, SI, and ISMP.

 

Syntax

geninstall -d Media [ -I installpFlags ] [ -E | -T ] [ -t ResponseFileLocation ] [-e LogFile] [ -p ] [ -F ] [ -Y ] [ -Z ] [ -D ] { -f File | Install_List ] | all}

 OR

geninstall -u [-e LogFile] [ -E | -T ] [ -t ResponseFileLocation ] [ -D ] {-f File | Uninstall_List...}

OR

geninstall -L -d Media [-e LogFile] [ -D ]

Description

Accepts all current installp flags and passes them on to installp. Some flags (for example, -L) are overloaded to mean list all products on the media. Flags that don't make sense for ISMP packaged products are ignored. This allows programs (like NIM) to continue to always send in installp flags to geninstall, but only the flags that make sense are used.

The geninstall command provides an easy way to see what modifications have been made to the configuration files listed in /etc/check_config.files. When these files have been changed during a geninstall installation or update operation, the differences between the old and new files will be recorded in the /var/adm/ras/config.diff. If

 

 

-bash-3.00$

$smit install_bundle

$rpm -Uhv -U update software -h output ######## -v output error message

 

 

设置aix浏览器:

#smit change_documentation_services

Change/Show Documentation Services Type or select values in entry fields. Press Enter AFTER making all desired changes. [Entry Fields] DEFAULT_BROWSER = []

IC_DOCUMENT_SERVER_MACHINE_NAME = []

IC_DOCUMENT_SERVER_PORT = [64111] #

IC_DOCUMENT_SERVER_TYPE = NONE +

IC_DOCUMENT_DIRECTORY = /opt/IBM/

 

aix 查看系统安装的包:

lslpp -l

-bash-3.00$ lslpp -l|grep date

bos.rte.date 5.3.7.3 COMMITTED Date Control Commands

bos.suma 5.3.7.1 COMMITTED Service Update Management 5.3.0.60 COMMITTED SK-NET FDDI PCI Flash Update bos.suma 5.3.7.0 COMMITTED Service Update Management

-bash-3.00$

-bash-3.00$

 

更改shell提示符:

onlydba@/home/u/y/onlydba>cat .bash_profile

#####PS1="[`hostname`]@"'$PWD>'

PS1='$USER'"@"'$PWD>'

onlydba@/home/u/y/onlydba>

 

 

更改服务器时区:

#smit chtz

+--------------------------------------------------------------------------+ |

CUT (Coordinated Universal Time) Time Zone | |

 | | Move cursor to desired item and press Enter. | |

| | (CUT0) Coordinated Universal Time (CUT) |

 | (GMT0) United Kingdom (CUT) |

| (WET0) Western Europe (CUT) |

| (AZOREST1) Azores; Cape Verde (CUT -1) |

| (FALKST2) Falkland Islands (CUT -2) |

 | (GRNLNDST3) Greenland; East Brazil (CUT -3) |

| (AST4) Central Brazil (CUT -4) |

| (EST5) Eastern U.S.; Colombia (CUT -5) |

| (CST6) Central U.S.; Honduras (CUT -6) |

| (MST7) Mountain U.S. (CUT -7) |

 | (PST8) Pacific U.S.; Yukon (CUT -8) |

 | (AST9) Alaska (CUT -9) |

| (HST10) Hawaii; Aleutian (CUT-10) |

| (BST11) Bering Straits (CUT-11) |

 | (NZST-12) New Zealand (CUT+12) |

 | (MET-11) Solomon Islands (CUT+11) |

 | (EET-10) Eastern Australia (CUT+10) |

| (JST-9) Japan (CUT +9) |

| (KORST-9) Korea (CUT +9) |

 | (WAUST-8) Western Australia (CUT +8) |

 | (TAIST-8) Taiwan (CUT +8) |

 | (BEIST-8) Peoples Rep. China (CUT +8) |

 | (THAIST-7) Thailand (CUT +7) |

| (TASHST-6) Tashkent; Central Asia (CUT +6) |

 | (PAKST-5) Pakistan (CUT +5) |

| (WST-4) Gorki; Central Asia; Oman (CUT +4) |

 | (MEST-2) Turkey (CUT +2) |

 | (SAUST-3) Saudi Arabia (CUT +3) |

| (EET-2) Eastern Europe (CUT +2) |

 | (USAST-2) South Africa (CUT +2) |

 | (CET-1) Central Europe (CUT +1) | |

 | | F1=Help F2=Refresh F3=Cancel | |

 

Esc+8=Image Esc+0=Exit Enter=Do |

 | /=Find n=Find Next |

+--------------------------------------------------------------------------+

 

mount -vcdrfs -oro /dev/cd0 /mnt -v

标志指定虚拟文件系统类型是 cdrfs。-o 标志指定 ro 选项,这意味着安装后的文件是只读的。设备名是 /dev/cd0。您要在其中安装介质驱动器的目录为 /mnt。

 

aix软件的几个过程:

broken:需要重新安装或者除去

applying:被中断的更新安装的状态----正在applied过程中被中断后的状态

applied:正在committing过程中被中断后的状态

committing:正在commited过程中被中断后的状态

commited:正常状态

 

处于broken状态的软件可以被清除,清除过程如下:

$smit maintain_software ---- Clean Up After Failed or Interrupted Installation

命令行清除:

$installp -C

清除结束可能需要重启主机。

原创粉丝点击