顯示具有 AIX 標籤的文章。 顯示所有文章
顯示具有 AIX 標籤的文章。 顯示所有文章

2009年10月11日 星期日

[AIX]禁止root用telnet登入主機

方法1.
修改 /etc/security/user檔案 , 設定root區域的 rlogin =false

方法2.
進入smit->security & user ->Login controls -> Change / Show Login Attributes for a User ->修改

2008年7月13日 星期日

[AIX] 取得Fiber card的WWN(world wide name)

1. 顯示有哪些Fiber Card
#lsdev grep fc

2. 顯示Fiber card詳細內容
#fcstat
ex: fcstat fcs1

2008年5月23日 星期五

[AIX] OS是64bit or 32bit?

執行指令

#bootinfo -y

即見分曉

2008年4月9日 星期三

[AIX] NFS mount 遠端主機

#smitty mknfsmnt
或是 #smitty-->Communications Applications and Services-->NFS-->Network File System (NFS)-->Add a File System for Mounting




或是直接下指令
#mount 遠端主機:遠端路徑 本機路徑
例如 #mount ymxdp00:/export/sapmnt/P01 /sapmnt/P01

[AIX] export file system (NFS Share)

1.設定&啟動NFS Service


-->smitty-->Communications Applications and Services-->NFS-->Network File System (NFS)-->Configure NFS on This System-->Start NFS


2.Export目錄
-->smitty-->Communications Applications and Services-->NFS-->Network File System (NFS)-->Add a Directory to Exports List



3.確認Export結果
#showmount -e localhost



2008年3月25日 星期二

[AIX] Restore TAR檔到不同的路徑

For example, suppose you receive a tar tape created using absolute path names:
tar -cvf /dev/rmt0 /work/*
but want to restore it to the /test directory. The pax command would be:
pax -rf /dev/rmt0 -s/work/test/p

2008年3月18日 星期二

[AIX] 啟動CDE環境(X-Window)

1.check if the X11.Dt are installed :

# lslpp -l grep X11.Dt




2.If installed start the daemon :

/usr/dt/bin/dtlogin –daemon

3.check if the daemon is running :

# ps -ef grep dt

2008年3月3日 星期一

[AIX][系統]安裝中文語系(zh_TW)


1.先確認目前AIX中沒有要裝的語系
(zh_TW, zh_TW.IBM-eucTW, Zh_TW.big5)






2.取得相關的fileset(於5.3光碟中的第一與第八片CD)


P.S可至AIX sanbox主機的/source_dvd/fileset中FTP download




3.須先安裝fileset:bos.iconv.zh_TW
(在CD1)
#smitty->Software Installation and Maintenance->Install and Update Software->Install Software




3.1安裝完後確認fileset是否有正確安裝
4.安裝Langauge

#smitty-->System Environments-->Manage Language Environment-->Add Additional Language Environments


P.S本次需要安裝的Language為IBM-eucTW與big5


4.1確認安裝無誤即可
5.再次執行locale -a 確認需要的Language已經正確安裝

2008年2月25日 星期一

[AIX]顯示設定


2008年2月20日 星期三

[AIX][網路]查網卡跑的速度


#netstat -i
看網卡的名字(如en1 or en2)
#entstat -d en2|grep Speed