Standard installation
Linux

Offline installation

22min
docker installation download and install docker the minimum required version is 18 06 0 official installation article — https //docs docker com/engine/installation/ https //docs docker com/engine/installation/ install and enable the docker compose plugin if it has not been installed previously the official installation article — https //docs docker com/compose/install/linux/ https //docs docker com/compose/install/linux/ we recommend using a non snap version of docker preparing the environment for offline installation receiving components for passwork to install passwork, you need to download the files and a script that will perform the necessary steps for installation create a directory and move it mkdir your directory cd your directory download passwork installation script archive with docker compose build files nginx container image percona server for mongodb container image php container image postfix container image alpine container image receiving passwork go to the customer portal https //portal passwork pro and get the latest version of passwork and its digitally signed archive you need public key to verify the digital signature, spobods to get it manual open the url https //passwork pro/public key ; copy the entire contents; paste into a file and save with the name — public key automatic (curl or wget) curl curl o public key https //passwork pro/public key wget wget o public key https //passwork pro/public key prepare and start the installation move the downloaded files to the linux server in the directory, where you plan to install passwork — your directory in the created directory create a subdirectory — passwork images mkdir your directory/passwork images move tar image archives to — passwork images cd your directory mv tar /passwork images the structure of files and folders will look like this ├── passwork xxxxxx zip ├── xxxxxx sig ├── public key ├── passwork compose install sh ├── passwork compose last tar gz └── passwork images ├── alpine tar ├── nginx tar ├── php8 3 tar ├── postfix tar └── psmdb6 tar user rights verification and script execution if you are installing not as root , make sure that the user is a member of the docker group you can do it using the following method id $user | grep docker you can add a user to the docker group like this sudo usermod a g docker $user running the offline installation script assign execution rights to the script chmod +x / sh in the directory — your directory run the passwork compose install sh installation script with the o flag /passwork compose install sh o skip by default, the script will verify the digital signature using the public key if the signature is invalid or missing, the update will be aborted if you trust the source of the archive, you can bypass signature verification /passwork compose install sh o skip the script will automatically execute docker ps please check the list of running containers if the containers were not started, please check the installation output and log example of a correct output before configuring a web server with ssl termination enabled, familiarize yourself with the ssl termination docid\ aqgt0an6 xcudu ahpjwq setup wizard after building and running the containers, passwork will be available at the following link https //your servername by default, passwork uses a self signed certificate that is automatically generated during installation, so when you first open the page, you will see a message that the browser does not trust the site's certificate choose language as the first step, the system will offer to choose the interface language server configuration checklist the checklist of parameters will show if all necessary components are installed on your server database connection you must use the default mongodb address to connect passwork configuration passwork will generate a new key for server encryption if you are connecting passwork to an existing database, specify the existing encryption key do not enter a key that was generated outside of passwork passwork uses special secure algorithms to generate new keys in appropriate formats using keys generated by third party tools may result in incorrect operation license key you can download the license keys on passwork customer portal setting up your own ssl certificate by default, passwork will generate a self signed certificate during install when the installation is complete you will be able to start using proper ssl certificates use your own certificate for certificates issued by a trusted issuer for certificates issued by domain certification authorities of your organization rename your ssl certificate or certification chain and place it in /conf/ssl privkey pem — private key fullchain pem — certificate\certification chain