aix和hpux比较.doc_第1页
aix和hpux比较.doc_第2页
aix和hpux比较.doc_第3页
aix和hpux比较.doc_第4页
aix和hpux比较.doc_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

安装和卸载AIXHP-UXInstall Softwareinstallp aswinstallUninstall softwareinstallp uswremoveList installed softwarelslpp -L allswlistVerify installed softwarelppchk vswlist -l fileset -a stateList all fileslslpp -f filesetswlist -l filesetList installed patchesinstfix iswlist -l patchPackage ownerlslpp -w pathswlist -l file | grep pathSW Directory/usr/lpp/var/adm/sw/磁盘与逻辑卷命令AIXHP-UXFilesystem table/etc/filesystems/etc/fstabFree disk blocksdf kbdfDevice listinglsdev C/sbin/ioscanDisk informationbootinfo -s hdisk#diskinfo /dev/rdsk/c#t#d#Disk Labellspv -l hdisk#pvdisplay -v /dev/dsk/C#t#d#Journal Filesystem typeJfsvxfsDefault volume group/dev/rootvg/dev/vg00Display volume grouplsvg -l rootvgvgdisplay -v vg00Modify physical volumeChpvpvchangePrepare physical diskmkdev -c disk -l hdisk#pvcreateList physical volumeLspvpvdisplayRemove disk from volume groupReducevgvgreduceMove logical volumes MigratepvpvmoveCreate volume groupMkvgvgcreateRemove volume groupvgremoveVolume group availabilityChvg varyonvg varyoffvgvgchangeRestore volume groupvgcfgrestoreExports volume groupExportvgvgexportImports volume groupImportvgvgimportVolume group listingLsvgvgscanChange lv characteristicsChlvlvchangeList logical volumeLslvlvdisplayMake logical volumeMklvlvcreateExtend logical volumeExtendlvlvextendReduce logical volumereduce LVlvreduceRemove logical volumeRmlvlvremovePrepare boot volumesbootlist -m normallvlnbootRemove boot volumeslvrmbootExtend File systemchfs extendfs fsadm Split mirrorsRmlvcopylvsplitMerge mirrorslvmergeCreate mirrorsmklv -c 2lvcreate -m 1Add mirrorsmklvcopy lv 2lvextend -m 1Create striped volumesmklv -u 3 -S 64Klvcreate -i 3 -I 64System recovery tapemksysb -i /dev/rmt0/opt/ignite/bin/make_recoveryBackupsavevg -i rootvgfbackupRestorerestvgfrecoverTCP-IP相关设置AIXHP-UXNetwork IP configuration/etc/rc.config.d/netconfHosts IP addresses/etc/hosts/etc/hostsName service switch/etc/netsvc.conf/etc/nsswitch.confNetwork parametersno andd -hRouting daemonGatedgatedNIC Configurationsifconfig alanscan -vSecondary IP Addressifconfig en0 alias IPifconfig lan0:1 IPMaximum # of ptys512MAXUSERSRemote ShellRemsh rshremsh目录结构AIXHP-UXRoot filesystem/ /dev/hd4/ /dev/vg00/lvol1Home Directory/home /dev/hd1/home /dev/vg00/lvol4/tmp /dev/hd3/tmp /dev/vg00/lvol6/usr /dev/hd2/usr /dev/vg00/lvol7/var /dev/hd9var/var /dev/vg00/lvol8常用命令AIXHP-UXUnique host IDHosteduname -iAdministratorSmitsamPerformance monitorTop monitorTop glanceError logsalog -o -t boot, errptdmesgSwap device/dev/hd6/dev/vg00/lvol2Swap file type/etc/swapspacesswapDisplay swap sizelsps aswapinfo -aActivate Swapswapon aswapon -aStartup script/etc/rc/sbin/rcKernel/usr/lib/boot/unix_up/stand/vmunixInitialize systeminstall_assistset_parms initialPhysical RAMbootinfo rGrep -i Physical /var/adm/syslog/syslog.logKernel Bitsbootinfo kgetconf KERNEL_BITSMachine modeluname -m, bootinfo -mModel , uname -mOS LevelOsleveluname -rRun Levelwho rwho -rCore dump files/var/adm/ras/var/adm/crashBoot single userKey F4 on service modeBoot from CD/TapeSelect MaintenanceLimited function ShellbootInteract with IPL ? YISLhpux -iSMaintenance modebootInteract with IPL ? YISLhpux -lmTimezone Management/etc/environment/etc/TIMEZONENTP Daemon/etc/ntp.confstartsrc -s xntpd/etc/rc.config.d/netdaemons/sbin/init.d/xntpdStartup script/etc/rc/sbin/rc设备管理相关AIXHP-UXDevices/dev/devAttached peripheralscfgmgr vinsf -eRemove devicermdev lrmsfDevice driversLscfglsdevCPUlsdev -Cc processorioscan -fnC processorList Terminallsdev -Cc ttyioscan -fnC ttyDiagnosticsDiagstmWhole Disk/dev/hdisk#/dev/dsk/c#t#d0CDROM/dev/cd0/dev/dsk/c#t2d0CDROM file typeCdrfscdfsRewinding tape drive/dev/rmt0/dev/rmt/0mNon-rewinding tape drive/dev/rmt0.1/dev/rmt/0mn用户帐号的设置AIXHP-UX密码文件/etc/passwd/etc/security/passwd/etc/passwd/tcb/files/auth/r/root组文件/etc/group/etc/security/group/etc/group/etc/logingroup允许远程登录的用户文件设置/etc/security/userrlogin=true/etc/securettyconsole用户“nobody”的用户ID4294967294-2“nobody”组的ID号4294967294-2(nogroup)创建新用户Mkuseruseradd删除用户Rmuseruserdel列出用户lsuser -f ALLlogins修改用户帐号chuser aUsermodaix 时区设置方法smit-System Environments-Change / Show Date, Time, and Time Zoneset_parms timezone_The following procedure enables you to set the time zone.Select you

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论