{"id":2330,"date":"2019-03-09T08:23:02","date_gmt":"2019-03-09T05:23:02","guid":{"rendered":"http:\/\/kifarunix.com\/?p=2330"},"modified":"2024-03-11T22:33:21","modified_gmt":"2024-03-11T19:33:21","slug":"install-teampass-password-manager-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-teampass-password-manager-on-ubuntu-18-04\/","title":{"rendered":"Install TeamPass Password Manager on Ubuntu 18.04"},"content":{"rendered":"\n<p>Today we are going to learn how to install Teampass password manager on Ubuntu 18.04. Teampass is a collaborative password manager tool that organizes password items in a file hierarchy like format. Access to each password item is based on the rights assigned to users and groups.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-teampass-password-manager-on-ubuntu-18-04\">Installing TeamPass Password Manager on Ubuntu<\/h2>\n\n\n\n<p>To successfully install Teampass on Ubuntu 18, ensure that your server meets the following requirements.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"prerequisite\">Prerequisite<\/h3>\n\n\n\n<p>Teampass requires a LAMP stack installed in order to function. As a result, you can check our previous guide on how to install LAMP Stack on Ubuntu 18.04 by following the link below;<\/p>\n\n\n\n<p><a title=\"How to Install LAMP Stack (Apache,MariaDB, PHP 7.2) on Ubuntu 18.04 LTS\" href=\"https:\/\/kifarunix.com\/how-to-install-lamp-stack-apachemariadb-php-7-2-on-ubuntu-18-04-lts\/\" target=\"_blank\" rel=\"bookmark noopener noreferrer\">How to Install LAMP Stack (Apache,MariaDB, PHP 7.2) on Ubuntu 18.04 LTS<\/a><\/p>\n\n\n\n<p>There are extra PHP extensions required by Teampass that have not been set for installation in the above link. Hence, if you followed the above link, run the following command to install extra PHP extensions.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install php-{curl,mbstring,bcmath,common,gd,xml,fpm}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-teampass-mysql-database\">Create Teampass MySQL Database<\/h3>\n\n\n\n<p>Once the installation of the LAMP stack is done, proceed to create the MySQL database and database user for Teampass. The user created must have a full privileges on the Teampass database. Hence, login to MySQL as root user and execute the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>create database teampass;\ngrant all privileges on <strong>teampass.*<\/strong> to <strong>tpadmin@localhost<\/strong> identified by \"<strong>YourP@SSWORD<\/strong>\";\nflush privileges;\nquit<\/code><\/pre>\n\n\n\n<p>In the above, we have created a database called <code>teampass<\/code> and user called <code>tpadmin<\/code> whose password is set as in above.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-teampass\">Download Teampass<\/h3>\n\n\n\n<p>Next, clone the Teampass repository to your web server root directory as shown below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>git clone https:\/\/github.com\/nilsteampassnet\/TeamPass.git \/var\/www\/html\/teampass<\/code><\/pre>\n\n\n\n<p>Set the ownership of the teampass web directory to web server user (<code>www-data<\/code>)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R www-data.www-data \/var\/www\/html\/teampass\/<\/code><\/pre>\n\n\n\n<p>Next, edit the <code>\/etc\/php\/7.2\/apache2\/php.ini<\/code> configuration file and increase the script execution time from 30 to 60 secs.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/php\/7.2\/apache2\/php.ini<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\n;max_execution_time = 30\n<strong>max_execution_time = 60<\/strong>\n...<\/code><\/pre>\n\n\n\n<p>Restart Apache web server<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart apache2<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"finish-the-teampass-installation\">Finalize TeamPass installation<\/h3>\n\n\n\n<p>Final installation of Teampass can be done from the browser. Hence, navigate to the browser and enter the Teampass server URL, <code>http:\/\/Server_IP\/teampass<\/code>. This will redirect you to Teampass welcome page shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-welcome.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1224\" height=\"704\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-welcome.png\" alt=\"install Teampass password manager on Ubuntu 18.04\" class=\"wp-image-2337\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-welcome.png 1224w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-welcome-768x442.png 768w\" sizes=\"(max-width: 1224px) 100vw, 1224px\" \/><\/a><\/figure>\n\n\n\n<p>Click Next to proceed to the Server checks screen. Click Launch to verify that the requirements are okay. In case there is any error, please fix it before you can proceed.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-serverchecks-ok.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1226\" height=\"685\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-serverchecks-ok.png\" alt=\"\" class=\"wp-image-2338\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-serverchecks-ok.png 1226w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-serverchecks-ok-768x429.png 768w\" sizes=\"(max-width: 1226px) 100vw, 1226px\" \/><\/a><\/figure>\n\n\n\n<p>If all the checks are good, click Next to set the database connection details. Once you set the database connection details, click Launch to verify connection.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-db-conn2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1224\" height=\"681\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-db-conn2.png\" alt=\"\" class=\"wp-image-2339\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-db-conn2.png 1224w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-db-conn2-768x427.png 768w\" sizes=\"(max-width: 1224px) 100vw, 1224px\" \/><\/a><\/figure>\n\n\n\n<p>If everything is fine, click Next to proceed to Preparation page where you can set the SaltKey absolute path and the admin password. Note that it is a good idea to store Saltkeys on a separate directory rather than the default <code>\/var\/www\/html\/teampass\/includes\/<\/code> directory (used if you do not specify the path) within Teampass directory. Salt key is saved as <code>sk.php<\/code>. Click Launch to save the information.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-preperation.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1228\" height=\"683\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-preperation.png\" alt=\"\" class=\"wp-image-2340\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-preperation.png 1228w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-preperation-768x427.png 768w\" sizes=\"(max-width: 1228px) 100vw, 1228px\" \/><\/a><\/figure>\n\n\n\n<p>The information entered above needs to be populated to the database, hence click Next and then Launch to initiate the database population process.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-table-creation.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1226\" height=\"686\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-table-creation.png\" alt=\"\" class=\"wp-image-2341\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-table-creation.png 1226w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-table-creation-768x430.png 768w\" sizes=\"(max-width: 1226px) 100vw, 1226px\" \/><\/a><\/figure>\n\n\n\n<p>Once that is done, click Next and then Launch to effect the changes by writing them to the configuration file.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-finalization.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1224\" height=\"683\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-finalization.png\" alt=\"\" class=\"wp-image-2342\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-finalization.png 1224w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-finalization-768x429.png 768w\" sizes=\"(max-width: 1224px) 100vw, 1224px\" \/><\/a><\/figure>\n\n\n\n<p>On the Next screen, you will be provided with the Administrator username and how to access the login Dashboard. As shown, the login username is <code>admin<\/code> and the password set above for Administrator. You can get to the login page by pressing the <code>Move to home<\/code> page link.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-final.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1225\" height=\"663\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-final.png\" alt=\"\" class=\"wp-image-2343\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-final.png 1225w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-final-768x416.png 768w\" sizes=\"(max-width: 1225px) 100vw, 1225px\" \/><\/a><\/figure>\n\n\n\n<p>To login to your Teampass, use admin as the username and the password specified for the administrator.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-login-ui.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1202\" height=\"718\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-login-ui.png\" alt=\"\" class=\"wp-image-2344\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-login-ui.png 1202w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-login-ui-768x459.png 768w\" sizes=\"(max-width: 1202px) 100vw, 1202px\" \/><\/a><\/figure>\n\n\n\n<p>This is how initial Teampass UI looks like.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-UI.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1199\" height=\"940\" src=\"http:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-UI.png\" alt=\"\" class=\"wp-image-2345\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-UI.png 1199w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/03\/teampass-UI-768x602.png 768w\" sizes=\"(max-width: 1199px) 100vw, 1199px\" \/><\/a><\/figure>\n\n\n\n<p>In our next guide, we will learn the basic setup and usage of Teampass. Stay connected. We hope this was informative.<\/p>\n\n\n\n<p>Want to learn about sysPass passwor manager? Check our article by following the link below;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-syspass-password-manager-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Install sysPass Password Manager on Ubuntu 18.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we are going to learn how to install Teampass password manager on Ubuntu 18.04. Teampass is a collaborative password manager tool that organizes password<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,246,339,64],"tags":[341,340,67],"class_list":["post-2330","post","type-post","status-publish","format-standard","hentry","category-howtos","category-identity-management","category-password-managers","category-ubuntu-18-04","tag-password-manager","tag-teampass","tag-ubuntu-18-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2330"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2330"}],"version-history":[{"count":8,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2330\/revisions"}],"predecessor-version":[{"id":21134,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2330\/revisions\/21134"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}