Atlantic.Net Blog

How to Install Teampass Password Manager on Rocky Linux 8

Hitesh Jethva
by Atlantic.Net (414 posts) under Dedicated Server Hosting, Tutorials
0 Comments

Teampass is a free, open-source, self-hosted password manager used for managing passwords in a collaborative way. It offers a large set of features that allows you to manage all your passwords in an organized way. You can define access rights on users to allow them to access only a given set of data. Teampass uses MariaDB/MySQL as a database backend to store the password securely.

In this post, we will explain how to install the Teampass password manager on Rocky Linux 8.

Prerequisites

  • A server running Rocky Linux 8 on the Atlantic.Net Cloud Platform
  • A root password is configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server, choosing Rocky Linux 8 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your server, run the following command to update your base system with the latest available packages.

dnf update -y

Step 2 – Install Apache, MariaDB, and PHP

First, you will need to install the Apache web server, MariaDB database server, PHP, and other PHP extensions to your server. You can run the following command to install all of them.

dnf install httpd mariadb-server php php-cli php-mysqli php-pear php-json php-devel php-curl php-mbstring php-bcmath php-common php-gd php-xml git wget -y

Once all the packages are installed, edit the php.ini file and change some recommended settings:

nano /etc/php.ini

Change the following values:

memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = Asia/Kolkata

Save and close the file, then start and enable the Apache and MariaDB services using the following command:

systemctl start httpd mariadb
systemctl enable httpd mariadb

Step 3 – Create a Database for Teampass

Next, you will need to create a database and user for Teampass. To do so, first log in to the MariaDB shell with the following command:

mysql

Once you are logged in, create a database and user with the following command:

create database teampassdb;
grant all privileges on teampassdb.* to [email protected] identified by "securepassword";

Next, flush the privileges and exit from the MariaDB shell with the following command:

flush privileges;
exit;

Step 4 – Install Teampass

First, change the directory to Apache default root directory and download the latest version of Teampass from the Git repository:

cd /var/www/html
git clone https://github.com/nilsteampassnet/TeamPass.git

Next, set proper permissions and ownership to the Teampass directory:

chmod -R 775 /var/www/html/TeamPass
chown -R apache:apache /var/www/html/TeamPass

Step 5 – Create an Apache Virtual Host for Teampass

Next, you will need to create an Apache virtual host configuration file to host Teampass on the internet.

nano /etc/httpd/conf.d/teampass.conf

Add the following lines:

<VirtualHost *:80>   
     ServerAdmin [email protected]
     DocumentRoot /var/www/html/TeamPass   
     ServerName teampass.example.com
     <Directory /var/www/html/TeamPass>

          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>   

     ErrorLog /var/log/httpd/teampass_error.log
     CustomLog /var/log/httpd/teampass_access.log combined

</VirtualHost>

Save and close the file, then restart the Apache service to apply the configuration changes:

systemctl restart httpd

At this point, the Apache web server is configured to serve Teampass. You can now proceed to the Teampass web interface.

Step 6 – Access Teampass Web Interface

Now, open your web browser and access the Teampass web interface using the URL http://teampass.example.com. You should see the Teampass welcome page:
TeamPass welcome page
Click on the LAUNCH then NEXT button. You should see the server check page:
TeamPass server check page
Click on the LAUNCH then NEXT button. You should see the Database information page:
TeamPass database information page
Click on the LAUNCH then NEXT button. You should see the Preparation page:
TeamPass preparation page
Click on the LAUNCH then NEXT button. You should see the Table creation page:
TeamPass table creation page
Click on the LAUNCH then NEXT button. You should see the Finalization page:
TeamPass Finalization page
Click on the LAUNCH then NEXT button. Once the installation is complete, you should see the following page:
TeamPass installed
Click on the Move to home page. You should see the Teampass login page:
TeamPass login page
Provide your admin username, password and click on the Log In button. You should see the Teampass dashboard.
TeamPass dashboard

Conclusion

In the above guide, we explained how to install the Teampass password manager on Rocky Linux 8. You can now implement Teampass in your organization to store all credentials and share them among the team members. Try it on dedicated hosting from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Top 10 Best Cybersecurity Training Services
How to Install Ansible on Oracle Linux 8
How to Install LEMP Server on Oracle Linux 8
How to Install and Configure Apache Webserver on Oracle Linux 8
How to Install and Configure Nginx Webserver on Oracle Linux 8

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Dallas, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources