Solaris advanced system management lecture notes Day 1

Source: Internet
Author: User

SA-299 Day 1
-------------------

========================================================== ==============
Configure multiple IP addresses in one network interface (NIC)

VI/etc/hostname. hme0: 1
Sun71

VI/etc/hosts
10.1.101.71 sun71

Ifconfig hme0 down
Ifconfig hme0 up

Or
/Etc/rc2.d/s69inet stop
/Etc/rc2.d/s69inet start

/Etc/RCs. d/s30network. Sh

Ping sun71

========================================================== ==============
Ifconfig hme0 down

Ifconfig-

Ifconfig hme0 up

========================================================== ==============
Ping the remote host continuously:
Ping-I1 10.1.101.10

========================================================== ==============
Host Name changed:
Modify the six files related to the host name/etc/nodename/etc/hostname. hme0/etc/hosts/etc/Ti ..
Old: sunxx
New: sunxxnew
Ping sunxxnew
Restore original host name

========================================================== ==============
Intercept the network communication content of other hosts in the LAN

Task
----
TELNET: host1-> host2
Echo: Hello xxxx
Host3: Snoop capture word "hello"

Command Sequence
--------

Snoop-O/export/home/Solomon/snooplog 10.1.101.99 10.1.101.10

Change the format of the listener File
Snoop-I/export/home/Solomon/snooplog>/export/home/Solomon/snooplog1

VI/export/home/Solomon/snooplog1

========================================================== ==============
Modify FTP service port

VI/etc/services
Ftp-data 10020/tcp
Set FTP 10021/tcp

Pkill-hup inetd

FTP: 10.1.101.70 10021

Restore the/etc/services file

========================================================== ==============
RPC Service Management

Rpcinfo-P

CAT/etc/RPC

Rpcinfo-D 100012 1

Rpcinfo-p | grep 100012

Pkill-hup inetd

Rpcinfo-p | grep 100012

Spray 10.1.101.10

========================================================== ==============
Swap space management

VI/etc/vfstab

/Dev/DSK/c1t0d0s3--Swap-no-

Swap-A/dev/DSK/c1t0d0s3

Http://doc.sun.com

Http://docs.sun.com

Google:
SA-119 site: sun.com
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.