TEXT   36

AIX.txt

Guest on 4th June 2021 09:13:22 AM

  1. vt100
  2.  
  3. stty erase + backspace = for set terminal
  4.  
  5. smitty mktcpip
  6. smiity tcpip
  7.  
  8. ===file set===(install software)
  9. bos.adt
  10. bos.perf
  11.  
  12. smitty installp
  13. lslpp -l | grep bos.adt
  14.  
  15. ===gui===(bulldle)
  16. lssrc -s dtsrc
  17. startsrc -s dtsrc
  18. ===ssh===
  19. lssrc -s sshd
  20.  
  21. stopsrc -s sshd
  22. startsrc -s sshd
  23. ===bash===
  24. rpm -ivh bash*
  25. ==web==
  26. https://10.31.4.16:5336/ibm/console/
  27.  
  28. ==disk==
  29. lspv
  30. lsdev -Cc disk
  31.  
  32. ==LVM==
  33. smit mklv
  34. lsvg -l rootvg
  35.  
  36. smitty crfs_j2
  37. mount /panichpon
  38.  
  39. chfs -a size=4G /panichpon
  40.  
  41. delete
  42. umount /panichpon1
  43. rmfs -r /panichpon1
  44.  
  45. ===swap==
  46. smitty chps
  47.  
  48. =================================
  49. ==backup==
  50. smitty mksysb
  51.  
  52. smitty savevg = for not rootvg
  53.  
  54. smitty backfilesys = backup
  55. smitty restfilesys = restore
  56.  
  57. ===create user===
  58. smitty security or smitty mkuser
  59. smitty chuser = for not login user
  60.  
  61. ==ssh config==
  62. vi /etc/ssh/sshd_config
  63. stopsrc -s sshd
  64. startsrc -s sshd
  65.  
  66. ===network===
  67. rmtcpip = for remove all network adapter
  68. smitty etherchannel
  69.  
  70. smitty mktcpip = config ip
  71.  
  72. ifconfig en2 up
  73. ifconfig en2 down = for down
  74. ifconfig en2 detach = for down
  75.  
  76. ===vnc server===
  77. rpm -ivh vnc*
  78. vncserver
  79. vncserver = again
  80.  
  81. vi /.vnc/xtartup
  82. #twm &
  83. /usr/dt/bin/dtsession &
  84.  
  85. vncserver = again
  86.  
  87.  
  88. /usr/tomcat8/bin/startup.sh
  89. ln -s /usr/tomcat8/bin/startup.sh /etc/rc.d/rc2.d/Stomcat8
  90.  
  91. ===
  92. reboot -l
  93. fastboot -l
  94.  
  95. ========
  96. #vi /etc/inetd.conf
  97. comment
  98. #refresh -s inetd
  99.  
  100. ==tar
  101. gunzip file
  102. tar options file.tar.gz
  103. tar options file.tar.gz pattern
  104. tar -xf file.tar.gz
  105. tar -xvf file.tar.gz
  106. tar -zxvf file.tar.gz
  107. tar -zxvf file.tar.gz file1 file2 dir1 dir2
  108.  
  109. ==tools==
  110. rpm -ivh files
  111. http://www.perzl.org/aix/
  112. ftp://www.oss4aix.org/compatible/aix71/
  113. http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html
  114. http://www.perzl.org/aix/index.php?n=Main.Gcc
  115.  
  116. ==rpm==
  117. rpm -ivh file install
  118. rpm -Uvh file update
  119. rpm -qa file list
  120. rpm -ev file for remove
  121. rpm -Uvh --nodeps <file.rpm> **force
  122.  
  123. rpm -qa | grep packddd

Raw Paste


Login or Register to edit or fork this paste. It's free.