Archive for July, 2012


  • With PSADMIN utility we can administer the application server domain.
  • Below log shows you to create a new application server domain and configuring.
  • Change Directory to $PS_HOME/appserv on your application server.
  • Run the psadmin utility

NOTE: Values in quick configure menu will differ for diffrent environment.

[varun@localhost PsMpPIAInstall]$ psadmin

PSADMIN — Tools Release: 8.52
Copyright (c) 1996, 2011, Oracle. All rights reserved.

——————————–
PeopleSoft Server Administration
——————————–

  Config Home:  /ps_new/peoplesofthome

  1) Application Server
  2) Process Scheduler
  3) Search Server
  4) Web (PIA) Server
  5) Switch Config Home
  6) Replicate Config Home
  q) Quit
Command to execute (1-6, q): 1
——————————————–
PeopleSoft Application Server Administration
——————————————–

  1) Administer a domain
  2) Create a domain
  3) Delete a domain
  4) Import domain configuration
  q) Quit

Command to execute (1-4, q) : 2
Please enter name of domain to create :VARUN
Configuration templates:

  1) large
  2) small
  3) developer
  4) medium

Select config template number: 2

Creating domain…
Copying application server configuration files…
Copying [/ps_new/peoplesofthome/appserv/small.cfx] to [/ps_new/peoplesofthome/appserv/VARUN/psappsrv.cfg]
Stripping Annotations…
Copying [/ps_new/peoplesofthome/appserv/small.cfx] to [/ps_new/peoplesofthome/appserv/VARUN/psappsrv.cfx]
Copying Jolt repository file…
Domain created.

Would you like to configure this domain now? (y/n) [y] :

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[VARUN]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[QEDMO]
  4) Jolt              : Yes   19) UserPswd   :[QEDMO]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : No    21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: Yes   23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : Yes   26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

HINT: Enter 15 to edit DBNAME, then 13 to load

Enter selection (1-27, h, or q): 8
———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[VARUN]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[QEDMO]
  4) Jolt              : Yes   19) UserPswd   :[QEDMO]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : No    21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : Yes   26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 11
———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[VARUN]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[QEDMO]
  4) Jolt              : Yes   19) UserPswd   :[QEDMO]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : No    21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 6
———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[VARUN]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[QEDMO]
  4) Jolt              : Yes   19) UserPswd   :[QEDMO]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 16
Enter new setting for DBNAME [VARUN]:PSDMO8

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[QEDMO]
  4) Jolt              : Yes   19) UserPswd   :[QEDMO]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 18
Enter new setting for UserId [QEDMO]:PS

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[PS]
  4) Jolt              : Yes   19) UserPswd   :[QEDMO]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 19
Enter new setting for UserPswd [QEDMO]:PS

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[PS]
  4) Jolt              : Yes   19) UserPswd   :[PS]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[people]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 22
Enter new setting for ConnectID [people]:PEOPLE

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[PS]
  4) Jolt              : Yes   19) UserPswd   :[PS]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[PEOPLE]
  8) Event Notification: No    23) ConnectPswd:[peop1e]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 23
Enter new setting for ConnectPswd [peop1e]:PEOPLE

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[PS]
  4) Jolt              : Yes   19) UserPswd   :[PS]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[PEOPLE]
  8) Event Notification: No    23) ConnectPswd:[PEOPLE]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7000]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 25
Enter new setting for WSL Port [7000]:7500

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[PS]
  4) Jolt              : Yes   19) UserPswd   :[PS]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[PEOPLE]
  8) Event Notification: No    23) ConnectPswd:[PEOPLE]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7500]
 11) Analytic Servers  : No    26) JSL Port   :[9000]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 26
Enter new setting for JSL Port [9000]:9500

———————————————-
Quick-configure menu — domain: VARUN
———————————————-
      Features                      Settings
     ==========                    ==========
  1) Pub/Sub Servers   : No    16) DBNAME     :[PSDMO8]
  2) Quick Server      : No    17) DBTYPE     :[ORACLE]
  3) Query Servers     : No    18) UserId     :[PS]
  4) Jolt              : Yes   19) UserPswd   :[PS]
  5) Jolt Relay        : No    20) DomainID   :[TESTSERV]
  6) WSL               : Yes   21) AddToPATH  :[.]
  7) PC Debugger       : No    22) ConnectID  :[PEOPLE]
  8) Event Notification: No    23) ConnectPswd:[PEOPLE]
  9) MCF Servers       : No    24) ServerName :[]
 10) Perf Collator     : No    25) WSL Port   :[7500]
 11) Analytic Servers  : No    26) JSL Port   :[9500]
 12) Domains Gateway   : No    27) JRAD Port  :[9100]

      Actions
     =========
 13) Load config as shown
 14) Custom configuration
 15) Edit environment settings
  h) Help for this menu
  q) Return to previous menu

Enter selection (1-27, h, or q): 13
Performing load prechecks …
Loading validation table…
  setting DBName=PSDMO8
  setting DBType=ORACLE
  setting UserId=PS
  setting UserPswd=PS
  setting ConnectId=PEOPLE
  setting ConnectPswd=PEOPLE
  setting ServerName=
  setting Port=7500
  setting Port=9500
  setting Listener Port=9100
  setting Domain ID=TESTSERV
  setting Add to PATH=.
New CFG file written with modified Startup parameters

Log Directory entry not found in configuration file.
Setting Log Directory to the default… [PS_SERVDIR/LOGS]
Spawning disabled for server PSAPPSRV.
WARNING: PSSAMSRV is configured with Min instance set to 1. To avoid loss of service, configure Min instance to atleast 2.
Configuration file successfully created.
CFG setting changes completed
Loading configuration…
Domain configuration complete.
——————————–
PeopleSoft Domain Administration
——————————–
     Domain Name: VARUN

  1) Boot this domain
  2) Domain shutdown menu
  3) Domain status menu
  4) Configure this domain
  5) TUXEDO command line (tmadmin)
  6) Edit configuration/log files menu
  7) Messaging Server Administration menu
  8) Purge Cache
  9) Preload Cache
 10) Clean IPC resources of this domain
  q) Quit

Command to execute (1-10, q) : 1
——————————-
PeopleSoft Domain Boot Menu
——————————-
     Domain Name: VARUN

  1) Boot (Serial Boot)
  2) Parallel Boot
  q) Quit

Command to execute (1-2, q) [q]: 1

Archived a copy of the domain configuration to /ps_new/peoplesofthome/appserv/VARUN/Archive/psappsrv.cfg
Attempting to boot bulletin board…
tmadmin – Copyright (c) 2007-2008 Oracle.
Portions * Copyright 1986-1997 RSA Data Security, Inc.
All Rights Reserved.
Distributed under license by Oracle.
Tuxedo is a registered trademark.
No bulletin board exists. Entering boot mode.

> INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 067

Booting admin processes …

exec BBL -A :
        process id=22279 … Started.
1 process started.
Attaching to active bulletin board.

> Attempting to boot …
INFO: Oracle Tuxedo, Version 10.3.0.0, 64-bit, Patch Level 067

Booting server processes …

exec PSWATCHSRV -o ./LOGS/stdout -e ./LOGS/stderr -A — -ID 51061 -D TESTSERV -S PSWATCHSRV :
        process id=22323 … Started.
exec PSAPPSRV -o ./LOGS/stdout -e ./LOGS/stderr -s@psappsrv.lst — -D TESTSERV -S PSAPPSRV :
        process id=22327 … Started.
exec PSAPPSRV -o ./LOGS/stdout -e ./LOGS/stderr -s@psappsrv.lst — -D TESTSERV -S PSAPPSRV :
        process id=22596 … Started.
exec PSSAMSRV -o ./LOGS/stdout -e ./LOGS/stderr -A — -D TESTSERV -S PSSAMSRV :
        process id=22612 … Started.
exec PSMONITORSRV -o ./LOGS/stdout -e ./LOGS/stderr -A — -ID 51061 -D TESTSERV -S PSMONITORSRV :
        process id=22625 … Started.
exec WSL -o ./LOGS/stdout -e ./LOGS/stderr -A — -n //varun.localdomain:7500 -z 0 -Z 0 -I 5 -T 60 -m 1 -M 3 -x 40 -c 5000 -p 7501 -P 7503 :
        process id=22639 … Started.
exec JSL -o ./LOGS/stdout -e ./LOGS/stderr -A — -n //varun.localdomain:9500 -m 5 -M 7 -I 5 -j ANY -x 40 -S 10 -c 1000000 -w JSH :
        process id=22641 … Started.
exec JREPSVR -o ./LOGS/stdout -e ./LOGS/stderr -A — -W -P /ps_new/peoplesofthome/appserv/VARUN/jrepository :
        process id=22647 … Started.
8 processes started.
——————————–
PeopleSoft Domain Administration
——————————–
     Domain Name: VARUN

  1) Boot this domain
  2) Domain shutdown menu
  3) Domain status menu
  4) Configure this domain
  5) TUXEDO command line (tmadmin)
  6) Edit configuration/log files menu
  7) Messaging Server Administration menu
  8) Purge Cache
  9) Preload Cache
 10) Clean IPC resources of this domain
  q) Quit

Command to execute (1-10, q) :

  • You can only deply Webserver  Domain only after installing PeopleSoft Peopletools and Webserver ( Oracle Weblogic or IBM WebSphere)  .
  • PeopleSoft PeopleTools 8.52 supports 64-bit Oracle WebLogic 10.3.4.
  • Change Directory  to $PS_HOME/setup/PsMpPIAInstall

[varun@localhost PsMpPIAInstall]$ ./setup.sh -tempdir /varun/peoplesoft/temp
Setting temporary directory /varun/peoplesoft/temp/IA.4585
Executing setup.linux   -DCOMP_NAME=localhost.localdomain -DPS_UMASK=0002
Preparing to install…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…

Launching installer…

Preparing CONSOLE Mode Installation…

===============================================================================
PeopleSoft Internet Architecture                 (created with InstallAnywhere)
——————————————————————————-

===============================================================================

 Welcome to the InstallShield Wizard for PeopleSoft Internet Architecture.

Using the InstallShield Wizard you will install PeopleSoft Internet
Architecture on your computer.

Version: 8.52
Note: If installing onto a Oracle WebLogic Server, make sure to shutdown any
running web servers to avoid web server corruption.
Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] :

 ===============================================================================

 Choose the directory where you wish to deploy PeopleSoft Pure Internet
Architecture :

# This is where you are going to deply the Webserver domain reffred as PIA_HOME

 Please specify a directory name or press Enter [/varun/peoplesoft]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

 ===============================================================================

 Choose the installation type that best suits your needs.

  ->1- Oracle WebLogic Server
    2- IBM WebSphere Server

To select an item enter its number, or 0 when you are finished [0] :

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

   Select the web server root directory [/home/varun/oracle/Middleware]: /varun/weblogichome

# Enter the high leavel directory where the WebServer being installed.

Detected web server version : WebLogic 10.3.4

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Please enter the administrator login and password for WebLogic domain.
   Login ID [system]:

   Password [Passw0rd]:

   Re-type Password [Passw0rd]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

 
  ->1- Create New WebLogic Domain
    2- Existing WebLogic Domain

To select an item enter its number, or 0 when you are finished [0] :

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] : 1

===============================================================================

   Enter domain name or click Next to select default [peoplesoft]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

 
Please select the configuration to install.

  ->1- Single Server Domain
    2- Multi Server Domain
    3- Distributed Managed Server

To select an item enter its number, or 0 when you are finished [0] :

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Please specify a name for the PeopleSoft web site:
   Website name [ps]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

 ===============================================================================

 Enter port numbers and summaries.

   AppServer name [localhost]:

   JSL Port [9000]:

   HTTP Port [80]:

   HTTPS Port [443]:

   Authentication Token Domain:(optional) []:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

 #Make sure that you have configured the same JSL port in the application server, The HTTP and HTTPS ports should be open and it should not conflict with any other services.

===============================================================================

Please enter the Name of the Web Profile used to configure the webserver. The
user id and password will be used to retrieve the web profile from the
database. (NOTE: Other available preset web profile names are TEST”, “DEV”,and
“KIOSK”.)
   Web Profile Name [PROD]:

   User ID [PTWEBSERVER]:

   Password [PTWEBSERVER]:

   Re-type Password [PTWEBSERVER]:

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

 #select the webprofile and userid and password

===============================================================================

Select the Report Repository location:
   Please specify a directory name or press Enter [/home/varun/PeopleSoft
   Internet Architecture/psreports]: /varun/peoplesoft/psreports

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================

Setup Type : weblogic

Web server root directory : /varun/weblogichome

Web server version : 10.3

Web server domain : peoplesoft

Internet Architecture app name : PORTAL

Integration Gateway app name : PSIGW

PeopleSoft Business Interlink app name : PSINTERLINKS

PeopleSoft Online Library Infrastructure : PSOL

Environment Management Hub : PSEMHUB

Hello Portlet app name : helloportletapp

Portlet Container app name : pspc

Testsuite app name : testsuite

Wsrptest app name : wsrptest

Site name : ps

Authentication Token Domain :

Application server name : localhost

JSL port : 9000

HTTP port : 80

HTTPS port : 443

Report repository directory : /varun/peoplesoft/psreports

PIA webserver directory : /varun/peoplesoft/webserv

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] :

===============================================================================
Installing…
————-

 [==================|==================|==================|==================]
 [——————|——————|——————|——————]

===============================================================================
Installation Complete
———————

Congratulations! PeopleSoft Internet Architecture has been successfully
installed to:

/varun/peoplesoft/webserv
PRESS <ENTER> TO EXIT THE INSTALLER:
[varun@localhost PsMpPIAInstall]$

Tar Backup

Tar is  utility to Archive the data in Unix flavor Operating Systems

1 . Creating uncompressed Tar  archive

  •     This is the basic command to create a tar archive.
  •     $tar cvf file.tar file_name
  •      Extracting uncompressed tar file
  •     $tar xvf file.tar

2 . Creating a tar gzipped archive

  • Basic command to create gzipped archive
  • $tar czvf file.tar.gz file_name
  • Extracting gzipped archive
  • $tar xzvf file.tar.gz
  • to view contents of gzipped archive
  • $tar txvf file.tar.gz

3 . Creating a bzipped tar archive

  • Basic command to create bzipped tar
  • $tar cjvf file.tar.bz2 file_name
  • Extracting bzipped tar archive
  • $tar xjvf file.tar.bz2
  • to view the contents in bzipped archive
  • $tar tjvf file.tar.bz2

Size of the above tar archives     tar>tar.gz>tar.bz2

bzip2 takes more time to compress and decompress than gzip.

bzip2 archival size is less than gzip.