View System Parameters
uname-a
bash-3.00# uname-a
SunOS devin-wu-svr 5.10 generic_142910-17 i86pc i386 i86pc 1.SOLARIS10 1.1 compression
Tar cvf sunwxvnc.tar sunwxvnc the folder Sunwxvnc into Sunwxvnc.tar
Gzip Sunwxvnc.tar compresses Sunwxvnc.tar into SUNWxvnc.tar.gz and deletes Sunwxvnc.tar files
Gzip-c Sunwxvnc.tar >> SUNWxvnc.tar.gz compressed sunwxvnc.tar into GZ format output stream to SUNWxvnc.tar.gz, Sunwxvnc.tar files remain
1.2 Decompression
gzip-dc vnc-5.3.0-solaris-x64-pkg.tar.gz | tar xvf-
(-DC which D is the meaning of decompression, C refers to the retention of tar.gz original file, re-output stream to the back of the command tar XVF do further decompression, but is extracted to the current directory)
GZIP-DC vnc-5.3.0-solaris-x64-pkg.tar.gz >> Vnc-5.3.0-solaris-x64-pkg.tar (1.tar.gz uncompressed to tar package)
Tar xvf Vnc-5.3.0-solaris-x64-pkg.tar (2. Extract tar to the current directory)
Gtar XVF vnc-5.3.0-solaris-x64-pkg.tar-cvnc-5.3.0-solaris-x64-pkg
(2. The second use of this, to extract tar to the specified directory vnc-5.3.0-solaris-x64-pkg gtar command-C is to specify the decompression directory, tar command Solaris does not support-c) 1.3 Solaris Boot FTP and Telnet service
Solaris manages network services, such as Ftp,telnet, by inetd Unified management
can use Svcs-a | grep FTP and Svcs-a | The grep telnet command checks the running status of the current two services
If you return
Disable Svc:/network/ftp:default
Disable Svc:/network/telnet:default
Start a service
Svcadm Enable Svc:/network/ftp:default
Svcadm Enable Svc:/network/telnet:default
Stop Service
Svcadm Disable Svc:/network/ftp:default
Svcadm Disable Svc:/network/telnet:default
Reference Links: Solaris boot FTP and Telnet service