HOW-TO install P5 on a Mac using the .tgz installer file
Posted by Andre Kuehnemund, Last modified by Andre Kuehnemund on 11 December 2020 23:10
P5 installer packages for all supported operating systems can be found on the P5 download page: https://p5.archiware.com/download
 
The current version of P5 can be found at the top of that page. For older P5 versions, please scroll to the bottom of the page.


Most customers will install or update P5 on their Macs using the 'awpstXXX-darwin.dmg' available on our download page. The .dmg P5 installer for macOS/OS X will always install P5 in folder '/usr/local/aw/'. This installation path is hard coded.

Another way to install P5 on a Mac is to download the 'awpstXXX-darwin.tgz' installer file, and to then follow the instructions for installing P5 on Linux/FreeBSD as described in the P5 manual, chapter 3.6 "Linux/FreeBSD Installations".  Using the .tgz file allows for P5 to be installed under a different path.


The following is another, streamlined way to install (or update) P5 on a Mac using the .tgz installer file (Change file name as needed.).:

$ cd /usr/local/aw

$ sudo ./stop-server 

$ sudo curl http://p5-downloads.s3.amazonaws.com/awpst602-darwin.tgz -o awpst602-darwin.tgz

$ sudo tar xzvf awpst602-darwin.tgz

$ sudo ./start-server 



Example:

imac-aw:~ boba$ cd /usr/local/aw/

imac-aw:aw boba$ sudo ./stop-server

Password:

Stopping P5 application server, be patient...

lexxsrv pid: 78126 (stopped).

imac-aw:aw boba$ sudo curl http://p5-downloads.s3.amazonaws.com/awpst602-darwin.tgz -o awpst602-darwin.tgz

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 32.8M  100 32.8M    0     0  11.6M      0  0:00:02  0:00:02 --:--:-- 11.6M

imac-aw:aw boba$ sudo tar xzvf awpst602-darwin.tgz

x ./

x ./binaries/

x ./ChangeLog

x ./etc/

...

x ./binaries/Darwin/x86_64/ibmltfs/libibmdriver-iokit.dylib

x ./binaries/Darwin/x86_64/ibmltfs/libibmiosched-unified.dylib

x ./binaries/Darwin/x86_64/ibmltfs/libibmltfs.dylib

x ./binaries/Darwin/x86_64/ibmltfs/libp5ibmltfs.dylib

imac-aw:aw boba$ sudo ./start-server

Starting P5 application server, be patient...

pid: 81237 (version "6.0.2" running)

url: http://192.168.1.35:8000/login, https://192.168.1.35:8443/login (use web-browser to connect)

Started P5 application server "lexxsrv", pid: 81237

imac-aw:aw boba$

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).