Teampass is a password manager that provides an encrypted and secure solution for storing passwords. This guide explains how to install Teampass on a Fedora Server.
sudo dnf update -y
sudo dnf install httpd php php-json php-mbstring php-pdo php-xml php-pecl-zip -y
sudo systemctl start httpd
sudo systemctl enable httpd
sudo dnf install mariadb mariadb-server -y
sudo systemctl start mariadb
sudo systemctl enable mariadb
sudo mysql_secure_installation
sudo mysql -u root -p
CREATE DATABASE teampassdb;
CREATE USER 'teampassuser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON teampassdb.* TO 'teampassuser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
sudo curl -L https://github.com/nilsteampassnet/TeamPass/releases/latest/download/teampass.zip -o teampass.zip
sudo unzip teampass.zip -d /var/www/html/
sudo mv /var/www/html/TeamPass_* /var/www/html/teampass
sudo chown -R apache:apache /var/www/html/teampass
sudo chmod 777 /var/www/html/teampass/config
sudo chmod 777 /var/www/html/teampass/upload
Create a file /etc/httpd/conf.d/teampass.conf
:
<VirtualHost *:80>
ServerName Your_Server_IP
DocumentRoot /var/www/html/teampass
DirectoryIndex index.php
<Directory /var/www/html/teampass>
Options -Indexes
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/httpd/teampass_error.log
CustomLog /var/log/httpd/teampass_access.log combined
</VirtualHost>
sudo systemctl restart httpd
Open a browser and navigate to http://Your_Server_IP/teampass
. You will be redirected to the Teampass installation page, you can now follow the on-screen instructions for the installation.
Congratulations, you have now installed Teampass on your Fedora Server.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!