Example: bachelor of science

Oracle Solaris command casebook for Linux users

Oracle Solaris command casebookfor Linux usersOctober, 2014 Revision LIMITEDR evision EditionOracle Solaris command casebook for Linux usersRevisionRelease dateUpdate pageUpdated contentOctober, 20142 All Right Reserved Copyright(C) fujitsu LIMITED 2014 Table of contents1. Starting and Stopping the OS Environment(1) Start the server from the XSCF(2) Start the OS(3) Stop the OS(4) Check the run level2. Package Management(1) Package management3. User Management(1)Add a new user(2)Update the user information(3)Delete a user(4)Change the expiration date of the user's password(5)Change the default shell4.

Oracle Solaris command casebook for Linux users October, 2014 Revision 1.0 Fujitsu LIMITED

Tags:

  Oracle, Linux, Command, Bookcase, Sailor, Fujitsu, Oracle solaris command casebook for linux

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Oracle Solaris command casebook for Linux users

1 Oracle Solaris command casebookfor Linux usersOctober, 2014 Revision LIMITEDR evision EditionOracle Solaris command casebook for Linux usersRevisionRelease dateUpdate pageUpdated contentOctober, 20142 All Right Reserved Copyright(C) fujitsu LIMITED 2014 Table of contents1. Starting and Stopping the OS Environment(1) Start the server from the XSCF(2) Start the OS(3) Stop the OS(4) Check the run level2. Package Management(1) Package management3. User Management(1)Add a new user(2)Update the user information(3)Delete a user(4)Change the expiration date of the user's password(5)Change the default shell4.

2 Network Management(1)Set the IP address(2)Set the gateway(3)Check the status of the network(4)Check the status of the network device5. Service Management(1)Service management(2)Show the status of the service6. Storage Management and File System(1)File system management(2)Collect the snapshot(3)Backup the file system using a snapshot(4)Partition management7. Monitoring(1)Check the load on the I / O(2)Check the load on the CPU(3)Check the load on the memory(4)Set the output destination of the log(5)Perform log rotation(6)Check the communication of the network(7)Check the status of the process(8)Check the status of the power(9) Solaris -specific commandsOracle Solaris command casebook for Linux users3 All Right Reserved Copyright(C) fujitsu LIMITED 2014 Introduction command Reference in this document is based on the following environment.

3 Reference method of online documentation for Solaris . Settings for displaying the online manual. Execution exampleCommand execution of this document is an example of running in the Solaris environment. Reference URLO racle DocumentationFujitsu Hardware Manual fujitsu M10-1 Manuals < command name> (or <configuration file name>)# envMANPATH=/usr/share/manLANG=C Oracle Solaris Information Library - User Commands Oracle Solaris Information Library - System Administration Commands Solaris command casebook for Linux usersLinux Red Hat Enterprise Linux Oracle Solaris , SRU14031 , Right Reserved Copyright(C) fujitsu LIMITED 20141.

4 Starting and Stopping the OS Environment(1) Start the server from the XSCF poweron -p PPAR_IDpoweron -yXSCF> poweron -p 0 PPAR-IDs to power on :00 Continue? [y|n] :y00 : Powering on*Note* This command only issues the instruction to result of the instruction can be checked by the "showlogs power".XSCF>(2) Start the OSbootkernel root=.. 1boot -sboot -Lboot -Z <data_set>boot <device>/boot/ (Save to EEPROM by OBP command ){0} ok bootBoot device: /pci@8000/pci@4/pci@0/pci@ File and args: zfs-file-system Loading: /platform/sun4v/boot_archiveramdisk-root hsfs-file-system Loading: /platform/sun4v/kernel/sparcv9/unixSunOS Release Version 64-bitCopyright (c) 1983, 2012, Oracle and/or its affiliates.

5 All rights : solarissolaris console login:{0} ok boot cdrom command Intended use command Intended useIntended useStarts all of the specified PPARsAutomatically responds to prompt with "y" (yes)Intended use--LinuxCommand is differentBoot the OSBoot the OS by selecting a kernelDisplay a list of bootable OS-Boot the OS in single-user modeSolarisOption DetailsExecution example 1 Start the server from the XSCF-SolarisLinuxSolarisBoot in the GRUB menuSelect in the GRUB menudifferentBoot the OS from the specified deviceConfiguration fileLinuxSelect a device in the BIOS-grubdifferentOption DetailsExecution example 2OS boot from the installation mediaCommand is differentCommand is differentDisplayed in the GRUB menubootExecution

6 Example 1 Boot the OSLinuxSolaris-poweronSolaris onlyOracle Solaris command casebook for Linux usersCommand is differentLinuxSolarisComparisonSolaris onlySolaris onlyComparisonCommand is different5 All Right Reserved Copyright(C) fujitsu LIMITED 2014 Oracle Solaris command casebook for Linux users {0} ok boot -LBoot device: /virtual-devices@100/channel-devices@200 /disk@0 File and args: -L1 Oracle Solaris SPARC2 be01 Select environment to boot: [ 1 - 2 ]:To boot the selected entry, invoke:boot [<root-device>] -Z rpool/ROOT/be01 Program terminated{0} ok boot -Z rpool/ROOT/be01(3) Stop the OSshutdown -hshutdown -i5shutdown -rshutdown -i6shutdownshutdown -i0shutdown +<min>shutdown -g<sec>shutdown hh:ssshutdown -y# shutdown -h now # shutdown -y -g0 -i5 Shutting dow[FAILED]tchdog:Stopping certmonger: [ OK ] Shutdown started.

7 Wed Jul 30 16:47:48 GMT 2014 Can't connect to default. Skipping. Changing to init state 5 - please waitStopping [ OK ] Broadcast Message from root (console) on sol Jul 30 16 atd: [ OK ] THE SYSTEM sol IS BEING SHUT DOWN NOW ! ! !Stopping cups: [ OK ] Log off now or risk your files being damagedStopping abrt daemon:.. [ OK ]Stopping sshd.

8 [ OK ] showmount: sol: RPC: Program not registeredShutting down sm-client:.. [ OK ] root@sol:~# : The system is coming down. Please down sendmail:.. [ OK ] : 125 system services are now being off swap: [ OK ] Mar 18 14:22:49 sol last message repeated 26 timesTurning off quotas: [ OK ] Mar 18 14:22:50 sol syslogd: going down on signal 15 Unmounting file systems: [ OK ] : Killing user : Re-executing /sbin/init Mar 18 14:22:56 The system is down.

9 Shutdown took 9 syncing file doneAutomatically responds to prompt with "y" (yes) Linux --shutdownSolarisTransition to BIOS-shutdown -rSolarisComparison-Reboot the OSA shutdown is performed after a designated timeTransition to single-userSpecify the amount of time to perform a shutdown-Transition to OBPE xecution example 3OS boot from saved BELinux command Intended useIntended useOptions are differentLinux onlyshutdownshutdownSolaris onlyExecution example 1 Stop the OSSolarisSolaris onlyStop the OSLinuxOptions are differentOptions are differentSameSameOption DetailsLinux only6 All Right

10 Reserved Copyright(C) fujitsu LIMITED 2014 Oracle Solaris command casebook for Linux users # shutdown -r now # shutdown -y -g0 -i6 The system is going down for reboot NOW! Shutdown started. Thu Mar 13 14:20:54 JST 2014# Shutting dow[FAILED]tchdog: Changing to init state 6 - please waitStopping certmonger: [ OK ] Broadcast Message from root (console) on sol Thu Mar 13 14:20 SYSTEM sol IS BEING SHUT DOWN NOW !


Related search queries