This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
aix:custom_aix [2023/07/24 14:48] manu |
aix:custom_aix [2024/08/21 17:29] (current) manu |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| My customization: | My customization: | ||
| <cli prompt='#'> | <cli prompt='#'> | ||
| - | mklv -t jfs2 -y rootlv rootvg 128M | + | mklv -t jfs2 -y rootlv rootvg 512M |
| crfs -v jfs2 -m /root -d rootlv -Ayes | crfs -v jfs2 -m /root -d rootlv -Ayes | ||
| mount /root | mount /root | ||
| Line 22: | Line 22: | ||
| chdev -l sys0 -a max_logname=256 | chdev -l sys0 -a max_logname=256 | ||
| chdev -l sys0 -a ncargs=1024 | chdev -l sys0 -a ncargs=1024 | ||
| - | chdev -l sys0 -a maxuproc=8192 | + | chdev -l sys0 -a maxuproc=16384 |
| </cli> | </cli> | ||
| Line 48: | Line 48: | ||
| set -o vi | set -o vi | ||
| - | alias ll='ls -lsa' | ||
| . ~root/.profile_root | . ~root/.profile_root | ||
| # If real TTY then allows BACKSPACE | # If real TTY then allows BACKSPACE | ||
| Line 61: | Line 60: | ||
| cat > ~root/.bashrc << EOF | cat > ~root/.bashrc << EOF | ||
| EDITOR=/usr/bin/vi | EDITOR=/usr/bin/vi | ||
| - | HOSTNAME=\$(hostname) | + | HOSTNAME=$(hostname) |
| - | set -o vi | + | PS1="[\$LOGNAME@\$HOSTNAME]\$PWD# " |
| + | export EDITOR HOSTNAME PS1 | ||
| + | |||
| + | if [ $(tty | awk '{print $1}' | egrep -q "Global|pts" ; echo $?) -eq 0 ] | ||
| + | then | ||
| + | stty erase ^? | ||
| + | fi | ||
| - | alias ll='ls -lsa' | ||
| . ~root/.profile_root | . ~root/.profile_root | ||
| - | stty erase ^? | + | echo "BASH" |
| + | |||
| + | # Specific (add your custom entries) | ||
| EOF | EOF | ||
| </cli> | </cli> | ||
| Line 238: | Line 244: | ||
| rpm -Uhv libjpeg-9a-1.aix5.1.ppc.rpm | rpm -Uhv libjpeg-9a-1.aix5.1.ppc.rpm | ||
| rpm -Uhv tightvnc-server-1.3.10-2.aix5.1.ppc.rpm | rpm -Uhv tightvnc-server-1.3.10-2.aix5.1.ppc.rpm | ||
| + | |||
| + | # tmux / screen (background applications) + UTF8 locales | ||
| + | installp -agXY -d ./ bos.loc.utf.EN_US | ||
| + | rpm -Uhv tmux screen | ||
| </cli> | </cli> | ||
| Line 280: | Line 290: | ||
| # cat mksysb.sh | # cat mksysb.sh | ||
| </cli> | </cli> | ||
| - | </code> | + | <code> |
| #!/bin/ksh93 | #!/bin/ksh93 | ||
| #set -x | #set -x | ||