{"id":9224,"date":"2021-06-26T21:52:15","date_gmt":"2021-06-26T18:52:15","guid":{"rendered":"https:\/\/kifarunix.com\/?p=9224"},"modified":"2024-03-18T20:14:57","modified_gmt":"2024-03-18T17:14:57","slug":"install-passbolt-password-manager-on-rocky-linux-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-passbolt-password-manager-on-rocky-linux-8\/","title":{"rendered":"Install Passbolt Password Manager on Rocky Linux 8"},"content":{"rendered":"\n
In this tutorial, you will learn how to install Passbolt password manager on Rocky Linux 8. Passbolt<\/a> is is a free, open source, self-hosted, extensible, OpenPGP based password manager that enables teams to securely store their personal as well as share their common credentials. It is available both a subscription based and community edition. This tutorial focuses on the setup of community edition.<\/p>\n\n\n\n As of this writing, there is no official guide release for setting up Passbolt on Rocky Linux 8. As such, we are going to install Passbolt from the source code.<\/p>\n\n\n\n Assuming that the first three prerequisites mentioned above have been met, proceed to install LEMP\/LAMP stack on Rocky Linux 8 server.<\/p>\n\n\n\n Note that Passbolt is written in PHP and hence, it requires either a LEMP or a LAMP stack to run.<\/p>\n\n\n\n Follow either of the links below to set up LAMP or LEMP stack on Rocky Linux 8.<\/p>\n\n\n\n Ensure that you install PHP 7.4.<\/strong><\/p>\n\n\n\n Install LEMP Stack on Rocky Linux 8<\/a><\/p>\n\n\n\n Install LAMP Stack on Rocky Linux 8<\/a><\/p>\n\n\n\n In this tutorial, we are using LAMP stack to run Passbolt.<\/strong><\/p>\n\n\n\n Login to MariaDB\/MySQL database server;<\/p>\n\n\n\n The above command assumes that your MySQL\/MariaDB database is using Replace the name of the database, the database user username and password as you see fit.<\/strong><\/p>\n\n\n\n Create Passbolt database that supports non latin characters and emojis.<\/p>\n\n\n\n Create a Passbolt database user and grant all privileges on the Passbolt database.<\/p>\n\n\n\n Reload privileges tables and quit database;<\/p>\n\n\n\n To successfully install and run Passbolt, there are other tools and PHP extensions that are required.<\/p>\n\n\n\n Passbolt requires PHP Gnupg extension enabled to successfully install. Hence, PHP Gnupg extension can be enabled on Rocky Linux as follows;<\/p>\n\n\n\n Install PHP Composer on Rocky Linux 8 by following the link below;<\/p>\n\n\n\n <\/a>Install PHP Composer on Rocky Linux 8<\/a><\/p>\n\n\n\n Since we are going to install Passbolt from the source, you need to clone its Gtihub repository to your web root directory.<\/p>\n\n\n\n In this tutorial, we are using Since we are using Apache as the web server, you need to set the ownership (user and group) of the Passbolt web root directory to Apache user and group;<\/p>\n\n\n\n Also create Composer cache directory and assign ownership to apache user.<\/p>\n\n\n\n Next, navigate to Passbolt web root directory and install other required dependencies using Run composer as the non privileged user. In this case, we use the owner of the Passbolt directory (Apache web user, apache).<\/p>\n\n\n\n During the installation, you are prompted on whether to adjust directories permissions. Accept and continue.<\/p>\n\n\n\n In order to authenticate and sign outgoing JSON requests, Passbolt API uses PGP keys. Therefore, run the command below to generate the keys;<\/p>\n\n\n\n When prompted for the passphrase, DO NOT<\/strong> set it. Just press ENTER and confirm that you don\u2019t want to set it. Also, do not set the expiration date.<\/strong><\/p>\n\n\n\n Replace YOUR_NAME<\/strong> and YOUR_EMAIL_ID<\/strong> with your name and email id.<\/p>\n\n\n\n Note the Key fingerprint and save it somewhere as it will be needed later in the setup.<\/p>\n\n\n\n Export and store both public and private keys on Passbolt configuration directory.<\/p>\n\n\n\n Next, initialize the gpg keyring for the Apache web server user so that Passbolt authentication can work.<\/p>\n\n\n\n Copy the sample Passbolt configuration file renaming it as follows;<\/p>\n\n\n\n Next, open the configuration file for modification;<\/p>\n\n\n\n Set the application url to the web address for your Passbolt app by replacing the value of the Configure Passbolt database connection settings;<\/p>\n\n\n\n Configure Passbolt Email Server settings. We are using Gmail SMTP as our relay server.<\/p>\n\n\n\n Extract the GPG key fingerprint and set it as the value of the Copy the highlighted string and remove spaces and paste it as the value of the Save and exit the configuration file.<\/p>\n\n\n\n Next, create a dedicated Apache virtual host configuration file for Passbolt.<\/p>\n\n\n\n Save and exit the configuration file.<\/p>\n\n\n\n If you noticed, we enabled HTTP > HTTPS redirection in our configuration.<\/p>\n\n\n\n Obtain your commercially trusted CA certificates and install them on the directories specified on the Apache configuration.<\/p>\n\n\n\n Run Apache configuration syntax check.<\/p>\n\n\n\n if you get the output, Ensure the Apache Sample output:<\/p>\n\n\n\n If you get the error below;<\/p>\n\n\n\n restart Apache to fix<\/p>\n\n\n\n Next, execute the Passbolt install script.<\/p>\n\n\n\n By default, when script is run, it prompts you to create an administrative user. We disabled that by adding the Run health check to verify that all is Okay.<\/p>\n\n\n\n Sample output;<\/p>\n\n\n\n Open the Apache Ports on Firewall;<\/p>\n\n\n\n Disable SELinux (We strongly do not recommend that you do this in a production system).<\/p>\n\n\n\n You can now create Passbolt admin user using the So let us create an admin user;<\/p>\n\n\n\n Copy the link provided upon user registration and paste it on the browser address bar so you can use it to finalize the setup of Passbolt.<\/p>\n\n\n\n Download and install plugin for your specific browser, in this demo, we using Firefox.<\/p>\n\n\n\n Therefore, click on Download Extension<\/strong> to download to install the Passbolt Firefox add-on extension.<\/a><\/p>\n\n\n\n Once the extension is installed, click Refresh to detect the extension<\/strong>.<\/p>\n\n\n\n Set the Passbolt passphrase<\/p>\n\n\n\n Click Next to download the Passbolt recovery kit key. Save the key in a secure place.<\/p>\n\n\n\n Click Next and select a color to identify your security token.<\/p>\n\n\n\n Click Next to get to proceed to Passbolt dashboard.<\/p>\n\n\n\n <\/a>And there you go.<\/a><\/p>\n\n\n\n You can now start using Passbolt to store passwords\/share them as you wish.<\/p>\n\n\n\n Last but not least, you can now configure Passbolt to be able to sent email notifications on new password creation, sharing, modification etc.<\/p>\n\n\n\n Before this, ensure that you have configured Passbolt email settings.<\/p>\n\n\n\n When you run the above, you should be able to receive emails on activating your account as well as welcoming you to Passbolt.<\/p>\n\n\n\n Create a cron job to execute this script to have the emails sent automatically.<\/p>\n\n\n\n Install the cron jobs as Apache Web server user, Create a cron job that runs all the time.<\/p>\n\n\n\n Save and exit the cron jobs file.<\/p>\n\n\n\n You can list installed cronjobs;<\/p>\n\n\n\n Your Passbolt password manager is now ready.<\/p>\n\n\n\n That marks the end of our guide on how to install Passbolt on Rocky Linux 8.<\/p>\n\n\n\n Install Passbolt Password Manager on Debian 10<\/a><\/p>\n\n\n\nInstall Passbolt on Rocky Linux 8<\/h2>\n\n\n\n
Prerequisites<\/h2>\n\n\n\n
\n
Install LAMP\/LEMP Stack on Rocky Linux 8<\/h3>\n\n\n\n
php -v<\/code><\/pre>\n\n\n\n
PHP 7.4.6 (cli) (built: May 12 2020 08:09:15) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v3.4.0, Copyright (c) Zend Technologies\n with Zend OPcache v7.4.6, Copyright (c), by Zend Technologies<\/code><\/pre>\n\n\n\n
Create Passbolt Database and Database User<\/h3>\n\n\n\n
mysql<\/code><\/pre>\n\n\n\n
unix_socket<\/strong><\/code> for authentication and that you are executing the command as a root user. If you are not root and have sudo rights, simply use;
sudo mysql -u root<\/strong><\/code>. Otherwise, you can just use
mysql -u root -p<\/strong><\/code> command.<\/p>\n\n\n\n
CREATE DATABASE passbolt CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;<\/code><\/pre>\n\n\n\n
grant all on passbolt.* to passman@localhost identified by 'p@SSw0rd123';<\/code><\/pre>\n\n\n\n
flush privileges;\nquit<\/code><\/pre>\n\n\n\n
Install Other Required dependencies<\/h3>\n\n\n\n
Install additional PHP modules\/extensions<\/h4>\n\n\n\n
dnf install php-intl php-gd php-mysqli php-json php-pear php-devel php-mbstring git make unzip wget mod_ssl openssl<\/code><\/pre>\n\n\n\n
Enable PHP Gnupg Extension on Rocky Linux<\/h4>\n\n\n\n
dnf config-manager --set-enabled powertools<\/code><\/pre>\n\n\n\n
dnf install gpgme gpgme-devel<\/code><\/pre>\n\n\n\n
pecl install gnupg<\/code><\/pre>\n\n\n\n
echo \"extension=gnupg.so\" >> \/etc\/php.ini<\/code><\/pre>\n\n\n\n
Install PHP Composer on Rocky Linux 8<\/h4>\n\n\n\n
Clone Passbolt Github Repository to Apache Web Root Directory<\/h3>\n\n\n\n
\/var\/www\/passbolt<\/strong><\/code> as the web root directory.<\/p>\n\n\n\n
mkdir \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
git clone https:\/\/github.com\/passbolt\/passbolt_api.git \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
chown -R apache: \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
mkdir \/usr\/share\/httpd\/.cache\/<\/code><\/pre>\n\n\n\n
chown -R apache: \/usr\/share\/httpd\/.cache\/<\/code><\/pre>\n\n\n\n
composer<\/code>.<\/p>\n\n\n\n
cd \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
sudo -u apache composer install --no-dev<\/code><\/pre>\n\n\n\n
> App\\Console\\Installer::postInstall\nCreated `config\/app.php` file\nCreated `\/var\/www\/passbolt\/logs` directory\nCreated `\/var\/www\/passbolt\/tmp\/cache\/models` directory\nCreated `\/var\/www\/passbolt\/tmp\/cache\/persistent` directory\nCreated `\/var\/www\/passbolt\/tmp\/cache\/views` directory\nCreated `\/var\/www\/passbolt\/tmp\/sessions` directory\nCreated `\/var\/www\/passbolt\/tmp\/tests` directory\nSet Folder Permissions ? (Default to Y) [Y,n]? y\n<\/code><\/pre>\n\n\n\n
Generate OpenPGP Key for Authenticating JSON Requests<\/h3>\n\n\n\n
gpg --full-generate-key<\/code><\/pre>\n\n\n\n
Please select what kind of key you want:\n (1) RSA and RSA (default)\n (2) DSA and Elgamal\n (3) DSA (sign only)\n (4) RSA (sign only)\n (14) Existing key from card\nYour selection? 1\nRSA keys may be between 1024 and 4096 bits long.\nWhat keysize do you want? (3072) 4096\nRequested keysize is 4096 bits\nPlease specify how long the key should be valid.\n 0 = key does not expire\n
gpg --armor --export-secret-keys YOUR_EMAIL_ID<\/strong> > \/var\/www\/passbolt\/config\/gpg\/serverkey_private.asc<\/code><\/pre>\n\n\n\n
gpg --armor --export YOUR_EMAIL_ID<\/strong> > \/var\/www\/passbolt\/config\/gpg\/serverkey.asc<\/code><\/pre>\n\n\n\n
mkdir \/usr\/share\/httpd\/.gnupg && chown -R apache: \/usr\/share\/httpd\/.gnupg<\/code><\/pre>\n\n\n\n
chmod 700 \/usr\/share\/httpd\/.gnupg<\/code><\/pre>\n\n\n\n
sudo su -s \/bin\/bash -c \"gpg --list-keys\" apache<\/code><\/pre>\n\n\n\n
Configuring Passbolt on Rocky Linux 8<\/h3>\n\n\n\n
cp \/var\/www\/passbolt\/config\/passbolt{.default,}.php<\/code><\/pre>\n\n\n\n
vim \/var\/www\/passbolt\/config\/passbolt.php<\/code><\/pre>\n\n\n\n
Set the Application URL<\/h4>\n\n\n\n
fullBaseUrl<\/strong><\/code> parameter appropriately.<\/p>\n\n\n\n
\/\/ 'fullBaseUrl' => 'https:\/\/www.passbolt.test',\n 'fullBaseUrl' => 'https:\/\/passbolt.kifarunix-demo.com',<\/strong><\/code><\/pre>\n\n\n\n
Define Database Connection settings<\/h4>\n\n\n\n
\/\/ Database configuration.\n 'Datasources' => [\n 'default' => [\n 'host' => 'localhost',\n \/\/'port' => 'non_standard_port_number',\n 'username' => 'passman',\n 'password' => 'p@SSw0rd123',\n 'database' => 'passbolt',\n ],\n ],\n<\/code><\/pre>\n\n\n\n
Configure Passbolt Email Settings<\/h4>\n\n\n\n
\/\/ Email configuration.\n 'EmailTransport' => [\n 'default' => [\n 'host' => 'smtp.gmail.com',\n 'port' => 587,\n 'username' => 'username@gmail.com',\n 'password' => 'secretpassword',\n \/\/ Is this a secure connection? true if yes, null if no.\n 'tls' => true,\n \/\/'timeout' => 30,\n \/\/'client' => null,\n \/\/'url' => null,\n ],\n ],\n 'Email' => [\n 'default' => [\n \/\/ Defines the default name and email of the sender of the emails.\n 'from' => ['passbolt@kifarunix-demo.com' => 'Kifarunix-demo Passbolt'],\n \/\/'charset' => 'utf-8',\n \/\/'headerCharset' => 'utf-8',\n ],\n ],\n<\/code><\/pre>\n\n\n\n
Specify the GPG key fingerprint<\/h4>\n\n\n\n
fingerprint<\/code> parameter.<\/p>\n\n\n\n
gpg --list-keys --fingerprint | grep -i -B 2 YOUR_EMAIL_ID<\/strong> <\/code><\/pre>\n\n\n\n
pub rsa4096 2020-07-15 [SC]\n C503 E615 618B 3433 1BA1 D26D 85EB 40BA 1D5D E890\n<\/strong>uid [ultimate] <YOUR_NAME> <YOUR_EMAIL_ID>\nsub rsa4096 2020-07-15 [E]<\/code><\/pre>\n\n\n\n
fingerprint<\/code> parameter. Also, uncomment the public and private lines below the fingerprint by removing the two forward slashes at the beginning of those lines;<\/p>\n\n\n\n
...\n 'serverKey' => [\n \/\/ Server private key fingerprint.\n 'fingerprint' => 'C503E615618B34331BA1D26D85EB40BA1D5DE890',\n 'public' => CONFIG . 'gpg' . DS . 'serverkey.asc',\n 'private' => CONFIG . 'gpg' . DS . 'serverkey_private.asc',\n ],\n<\/code><\/pre>\n\n\n\n
Create Apache VirtualHost Configuration for Passbolt and Enable HTTPS<\/h3>\n\n\n\n
cat > \/etc\/httpd\/conf.d\/passbolt.conf << 'EOL'\n<VirtualHost *:80>\n\n ServerAdmin passbolt.kifarunix-demo.com\n DocumentRoot \/var\/www\/passbolt\n\n\tRedirect \/ https:\/\/passbolt.kifarunix-demo.com\n<\/VirtualHost>\n#SSLStaplingCache \"shmcb:logs\/stapling-cache(150000)\"\nServerSignature Off\nServerTokens Prod\n<VirtualHost _default_:443>\n ServerAdmin passbolt.kifarunix-demo.com\n DocumentRoot \/var\/www\/passbolt\n\n\n ErrorLog \/var\/log\/httpd\/passbolt_error.log\n CustomLog \/var\/log\/httpd\/passbolt_access.log combined\n\n\n SSLEngine on\n SSLCertificateFile \/etc\/pki\/tls\/certs\/ssl-cert-passbolt.pem\n SSLCertificateKeyFile \/etc\/pki\/tls\/private\/ssl-cert-passbolt.key\n SSLCACertificateFile \/etc\/pki\/tls\/certs\/ssl-cacert-passbolt.pem\n\n SSLCipherSuite EECDH+AESGCM:EDH+AESGCM\n SSLProtocol -all +TLSv1.3 +TLSv1.2\n SSLOpenSSLConfCmd Curves X25519:secp521r1:secp384r1:prime256v1\n SSLHonorCipherOrder On\n Header always set Strict-Transport-Security \"max-age=63072000; includeSubDomains; preload\"\n Header always set X-Frame-Options DENY\n Header always set X-Content-Type-Options nosniff\n SSLCompression off\n #SSLUseStapling on\n SSLSessionTickets Off\n\n\t<Directory \/var\/www\/passbolt\/>\n \t\tOptions FollowSymLinks MultiViews\n \t\tAllowOverride All\n\t\tRequire all granted\n\t<\/Directory>\n\n\n <FilesMatch \"\\.(cgi|shtml|phtml|php)$\">\n SSLOptions +StdEnvVars\n <\/FilesMatch>\n <Directory \/usr\/lib\/cgi-bin>\n SSLOptions +StdEnvVars\n <\/Directory>\n\n<\/VirtualHost>\nEOL\n<\/code><\/pre>\n\n\n\n
Generate TLS certificates<\/h4>\n\n\n\n
apachectl -t<\/code><\/pre>\n\n\n\n
Syntax OK<\/strong><\/code>, you are good to proceed, otherwise, fix the issues before you can proceed.<\/p>\n\n\n\n
rewrite<\/code><\/strong>,
ssl<\/code><\/strong>,
headers<\/strong><\/code> modules are enabled;<\/p>\n\n\n\n
httpd -M | grep -E \"rew|ssl|head\"<\/code><\/pre>\n\n\n\n
headers_module (shared)\n rewrite_module (shared)\n ssl_module (shared)<\/code><\/pre>\n\n\n\n
AH00526: Syntax error on line 85 of \/etc\/httpd\/conf.d\/ssl.conf:\nSSLCertificateFile: file '\/etc\/pki\/tls\/certs\/localhost.crt' does not exist or is empty<\/code><\/pre>\n\n\n\n
systemctl restart httpd<\/code><\/pre>\n\n\n\n
Run the Passbolt Install Script<\/h3>\n\n\n\n
chown -R apache: \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
cd \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
sudo su -s \/bin\/bash -c \".\/bin\/cake passbolt install --no-admin\" apache<\/code><\/pre>\n\n\n\n
--no-admin<\/code> option. We will create the admin account later.<\/p>\n\n\n\n
____ __ ____ \n \/ __ \\____ _____ ____\/ \/_ ____ \/ \/ \/_ \n \/ \/_\/ \/ __ `\/ ___\/ ___\/ __ \\\/ __ \\\/ \/ __\/ \n \/ ____\/ \/_\/ (__ |__ ) \/_\/ \/ \/_\/ \/ \/ \/ \n \/_\/ \\__,_\/____\/____\/_.___\/\\____\/_\/\\__\/ \n\n Open source password manager for teams\n-------------------------------------------------------------------------------\nRunning baseline checks, please wait...\nCritical healthchecks are OK\nCleaning up existing tables if any.\n-------------------------------------------------------------------------------\n0 tables dropped\nInstall the schema and default data.\n-------------------------------------------------------------------------------\nusing migration paths \n - \/var\/www\/passbolt\/config\/Migrations\nusing seed paths \n - \/var\/www\/passbolt\/config\/Seeds\nusing environment default\nusing adapter mysql\nusing database passbolt\nordering by creation time\n\n == 20170830064410 V162InitialMigration: migrating\n == 20170830064410 V162InitialMigration: migrated 15.9084s\n...\n...\n\nAll Done. Took 100.0627s\nImport the server private key in the keyring\n-------------------------------------------------------------------------------\nImporting \/var\/www\/passbolt\/config\/gpg\/serverkey_private.asc\nKeyring init OK\nPassbolt installation success! Enjoy! \u262e\n<\/code><\/pre>\n\n\n\n
cd \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
sudo su -s \/bin\/bash -c \".\/bin\/cake passbolt healthcheck\" apache<\/code><\/pre>\n\n\n\n
____ __ ____ \n \/ __ \\____ _____ ____\/ \/_ ____ \/ \/ \/_ \n \/ \/_\/ \/ __ `\/ ___\/ ___\/ __ \\\/ __ \\\/ \/ __\/ \n \/ ____\/ \/_\/ (__ |__ ) \/_\/ \/ \/_\/ \/ \/ \/ \n \/_\/ \\__,_\/____\/____\/_.___\/\\____\/_\/\\__\/ \n\n Open source password manager for teams\n-------------------------------------------------------------------------------\n Healthcheck shell \n-------------------------------------------------------------------------------\n\n Environment\n\n [PASS] PHP version 7.4.6.\n [PASS] PCRE compiled with unicode support.\n [PASS] The temporary directory and its content are writable.\n [PASS] The public image directory and its content are writable.\n [PASS] The logs directory and its content are writable.\n [PASS] GD or Imagick extension is installed.\n [PASS] Intl extension is installed.\n [PASS] Mbstring extension is installed.\n\n Config files\n\n [PASS] The application config file is present\n [PASS] The passbolt config file is present\n\n Core config\n\n [PASS] Debug mode is off.\n [PASS] Cache is working.\n [PASS] Unique value set for security.salt\n [PASS] Full base url is set to https:\/\/passbolt.kifarunix-demo.com\n [PASS] App.fullBaseUrl validation OK.\n [PASS] \/healthcheck\/status is reachable.\n\n SSL Certificate\n\n [PASS] SSL peer certificate validates\n [PASS] Hostname is matching in SSL certificate.\n [PASS] Not using a self-signed certificate\n\n Database\n\n [PASS] The application is able to connect to the database\n [PASS] 25 tables found\n [PASS] Some default content is present\n [PASS] The database schema up to date.\n\n GPG Configuration\n\n [PASS] PHP GPG Module is installed and loaded.\n [PASS] The environment variable GNUPGHOME is set to \/usr\/share\/httpd\/.gnupg.\n [PASS] The directory \/usr\/share\/httpd\/.gnupg containing the keyring is writable by the webserver user.\n [PASS] The server OpenPGP key is not the default one\n [PASS] The public key file is defined in config\/passbolt.php and readable.\n [PASS] The private key file is defined in config\/passbolt.php and readable.\n [PASS] The server key fingerprint matches the one defined in config\/passbolt.php.\n [PASS] The server public key defined in the config\/passbolt.php (or environment variables) is in the keyring.\n [PASS] There is a valid email id defined for the server key.\n [PASS] The public key can be used to encrypt a message.\n [PASS] The private key can be used to sign a message.\n [PASS] The public and private keys can be used to encrypt and sign a message.\n [PASS] The private key can be used to decrypt a message.\n [PASS] The private key can be used to decrypt and verify a message.\n [PASS] The public key can be used to verify a signature.\n\n Application configuration\n\n [PASS] Using latest passbolt version (3.2.1).\n [PASS] Passbolt is configured to force SSL use.\n [PASS] App.fullBaseUrl is set to HTTPS.\n [PASS] Selenium API endpoints are disabled.\n [PASS] Search engine robots are told not to index content.\n [PASS] Registration is closed, only administrators can add users.\n [PASS] Serving the compiled version of the javascript app\n [PASS] All email notifications will be sent.\n\n [PASS] No error found. Nice one sparky!\n<\/code><\/pre>\n\n\n\n
Finalize Passbolt Setup from Browser<\/h3>\n\n\n\n
firewall-cmd --add-service={http,https} --permanent<\/code><\/pre>\n\n\n\n
firewall-cmd --reload<\/code><\/pre>\n\n\n\n
sed -i 's\/=enforcing\/=permissive\/' \/etc\/selinux\/config<\/code><\/pre>\n\n\n\n
Create Passbolt Administrative User<\/h4>\n\n\n\n
.\/bin\/cake passbolt register_user<\/code> command. Below is the command line options for this command;<\/p>\n\n\n\n
cd \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
.\/bin\/cake passbolt register_user --help<\/code><\/pre>\n\n\n\n
____ __ ____ \n \/ __ \\____ _____ ____\/ \/_ ____ \/ \/ \/_ \n \/ \/_\/ \/ __ `\/ ___\/ ___\/ __ \\\/ __ \\\/ \/ __\/ \n \/ ____\/ \/_\/ (__ |__ ) \/_\/ \/ \/_\/ \/ \/ \/ \n \/_\/ \\__,_\/____\/____\/_.___\/\\____\/_\/\\__\/ \n\n Open source password manager for teams\n---------------------------------------------------------------\nRegister a new user.\n\nUsage:\ncake passbolt register_user [options]\n\nOptions:\n\n--first-name, -f The user first name\n--help, -h Display this help.\n--interactive, -i Enable interactive mode\n--interactive-loop Enable interactive mode (default:\n 3)\n--last-name, -l The user last name\n--quiet, -q Enable quiet output.\n--role, -r The User role, such as \"admin\" or \"user\"\n--username, -u The user email aka username\n--verbose, -v Enable verbose output.\n<\/code><\/pre>\n\n\n\n
cd \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
sudo su -s \/bin\/bash -c \".\/bin\/cake passbolt register_user -u admin@kifarunix.com -f Kifarunix -l Demo -r admin\" apache<\/code><\/pre>\n\n\n\n
____ __ ____ \n \/ __ \\____ _____ ____\/ \/_ ____ \/ \/ \/_ \n \/ \/_\/ \/ __ `\/ ___\/ ___\/ __ \\\/ __ \\\/ \/ __\/ \n \/ ____\/ \/_\/ (__ |__ ) \/_\/ \/ \/_\/ \/ \/ \/ \n \/_\/ \\__,_\/____\/____\/_.___\/\\____\/_\/\\__\/ \n\n Open source password manager for teams\n---------------------------------------------------------------\nUser saved successfully.\nTo start registration follow the link provided in your mailbox or here: \nhttps://passbolt.kifarunix-demo.com\/setup\/install\/4dbe1c54-79bc-48b5-9ab3-705afd5af097\/e34ea69b-0954-401b-8232-946ce721eda9<\/code><\/pre>\n\n\n\n
Install Passbolt Browser Plugin<\/h4>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
<\/figure>\n\n\n\n
Configure Passbolt to Sent Emails<\/h4>\n\n\n\n
cd \/var\/www\/passbolt<\/code><\/pre>\n\n\n\n
sudo -u apache .\/bin\/cake EmailQueue.sender<\/code><\/pre>\n\n\n\n
apache<\/strong><\/code>.<\/p>\n\n\n\n
crontab -u apache -e<\/code><\/pre>\n\n\n\n
*<\/strong> *<\/strong> *<\/strong> *<\/strong> *<\/strong> \/var\/www\/passbolt\/bin\/cake EmailQueue.sender >><\/strong> \/var\/log\/passbolt-mails.log<\/code><\/pre>\n\n\n\n
crontab -u apache -l<\/code><\/pre>\n\n\n\n
Other Tutorials<\/h3>\n\n\n\n