Mostrando postagens com marcador AIX. Mostrar todas as postagens
Mostrando postagens com marcador AIX. Mostrar todas as postagens

quinta-feira, 4 de novembro de 2010

How To AIX Configure TCP/IP Networking

You can start the SMIT management program:

1- Select Communications Applications and Services
2- TCP/IP
3- Minimum Configuration & Startup option
4- Select the network interface you want to configure from the list shown

Once done, save change and exit by pressing F10 / Esc + 0

quinta-feira, 1 de abril de 2010

AIX command history

The command history is indeed stored in the .sh_history file in the home dir of the user.

The command "history" is actually an alias for "fc -l." /usr/bin/fc allows you to parse, edit, and otherwise abuse a command history. "-l" is the option to list, and the number is an optional argument of how many lines you want.

Show IP and MAC Address in AIX

lsdev -C | grep ent
ifconfig -a
lscfg -vl ent0

Using the entstat command

entstat -drt

Ex:
entstat -drt en0

The mac would be listed there as hardware address...

sexta-feira, 5 de março de 2010

vncserver

ps -ef | grep vnc
kill -9 number of process

AIX
cd /opt/freeware
ls
cd bin
ls
./vncserver
ls

quinta-feira, 6 de agosto de 2009

To check if port 1521 is in use

# netstat -an | grep 1521

sexta-feira, 6 de fevereiro de 2009

OpenSSH with AIX

To start the daemon, run:
startsrc -s sshd

Whenever the /etc/ssh/sshd_config file is modified, the ssh needs to be stopped and restarted as follows:

1- stopsrc -s sshd
2- startsrc -s sshd

If you don't want sshd to start at boot time, remove or rename these two files:

/etc/rc.d/rc2.d/Ksshd
/etc/rc.d/rc2.d/Ssshd