Install Passbolt di Ubuntu 18.04 - Assalamualaikum, selamat malam paman pengguna blogger, kali ini saya akan mempraktekan installasi passbolt password manager di ubuntu 18.04.
Langkah pertama - update dependensi
# sudo apt-get update
Langkah kedua - download file installer dan install
# wget -O passbolt-ce-installer-ubuntu-18.04.tar.gz https://www.passbolt.com/ce/download/installers/ubuntu/latest # tar -xzf passbolt-ce-installer-ubuntu-18.04.tar.gz # sudo ./passbolt_ce_ubuntu_installer.sh
Proses akan jalan
================================================================ ____ __ ____ / __ \____ _____ ____/ /_ ____ / / /_ / /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/ / ____/ /_/ (__ |__ ) /_/ / /_/ / / /_ /_/ \__,_/____/____/_,___/\____/_/\__/ The open source password manager for teams (c) 2020 Passbolt SA https://www.passbolt.com ================================================================ IMPORTANT NOTE: This installation scripts are for use only on FRESH installed debian >= 9.0 | ubuntu 18.04 | CentOS >= 7.0 ================================================================
Muncul pertanyaan pertama
Do you want to install a local mariadb server on this machine? ============================================================== 1) yes 2) no #? 1
Saya jawab yes karena saya menginginkan database mariadb diinstall diserver saat ini. Untuk kebutuhan lain bisa pilih no.
Pertanyaan kedua
Please enter a new password for the root database user: ======================================================= MariaDB Root Password: MariaDB Root Password (verify):
Isi password mariadb anda. Setelah itu muncul perintah untuk membuat user, set password user, dan membuat database untuk passbolt. Isi sesuai kredential masing masing. Karena bersifat rahasia maka tidak saya tampilkan hehe
On virtualized environments GnuPG happen to find not enough entropy to generate a key. Therefore, Passbolt will not run properly. Do you want to install Haveged to speed up the entropy generation on your system? Please check https://help.passbolt.com/faq/hosting/why-haveged- virtual-env ================================================================================ 1) yes 2) no #? 1
Kemudian muncuk untuk install Haveged. Saya pilih yes.
Setting hostname... Please enter the domain name under which passbolt will run. Note this hostname will be used as server_name for nginx and as the domain name to register a SSL certificate with let's encrypt. If you don't have a domain name and you do not plan to use let's encrypt please enter the ip address to access this machine ================================================================================ Hostname:10.25.30.133
Kemudian masukan hostname atau domain yang akan digunakan.
Jika teman-teman punya domain beserta ssl bisa menggunakan nama domain, jika hanya memiliki domain dan server anda memiliki ip publik bisa menggunakan domain dengan ssl letsencrypt, dan apabila tidak memiliki keduanya bisa memasukan ip server.
Setting up SSL... Do you want to setup a SSL certificate and enable HTTPS now? - manual: Prompts for the path of user uploaded ssl certificates and set up nginx - auto: Will issue a free SSL certificate with https://www.letsencrypt.org and set up nginx - none: Do not setup HTTPS at all ================================================================================ 1) manual 2) auto 3) none #? 3
Karena saya menggunakan IP jadi saya pilih none saja. Setting ssl juga bisa dilakukan setelah installasi selesai dengan cara mengkonfigurasi pada nginx.
Satelah itu akan mulai menginstall passbolt. Kita tunggu sampai selesai.
Setelah selesai kita lanjut konfigurasi melalui browser, akses alamat ip server dan lanjut sampai akhir.
Kendala yang dialamiroot@ardipass:/home/ardipra# tail -f /var/log/nginx/error.log 2021/08/02 21:28:15 [error] 86083#86083: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Your PHP version must be equal or higher than 7.3.0 to use Passbolt. in /var/www/passbolt/config/requirements.php on line 19" while reading response header from upstream, client: 10.25.10.4, server: 10.25.30.133, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "10.25.30.133"
2. PHP message: PHP Fatal error: You must enable the intl extension to use Passbolt
Kendala muncul karena ada bebrapa ekstensi php yang dibutuhkan passbolt belum diinstall.
Install ekstensi php yang dibutuhkan passbolt dengan cara
# apt install php7.3-intl php7.3-mysql php7.3-gd php7.3-imagick php7.3-xml php7.3-mbstring php7.3-gnupg
Mungkin sekian untuk post kali ini. terima kasih telah berkunjung. Wassalamualaikum wr.wb
reference:
https://help.passbolt.com/hosting/install/ce/ubuntu-18-04-bionic-beaver
img-src:
https://pbs.twimg.com/media/Ej4wAk0WAAI_b-4.jpg
Tidak ada komentar:
Posting Komentar