aix和hpux比較.doc_第1頁
aix和hpux比較.doc_第2頁
aix和hpux比較.doc_第3頁
aix和hpux比較.doc_第4頁
aix和hpux比較.doc_第5頁
已閱讀5頁,還剩2頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

安裝和卸載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)創(chuàng)建新用戶Mkuseruseradd刪除用戶Rmuseruserdel列出用戶lsuser -f ALLlogins修改用戶帳號chuser aUsermodaix 時區(qū)設置方法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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論