Tabela de conteúdos

TEAMPASS

Sobre o TeamPass

TeamPass is a Passwords Manager dedicated for managing passwords in a collaborative way by sharing them among team members. Teampass offers a large set of features permitting to manage your passwords and related data in an organized way in respect to the access rights defined for each users. Teampass is an Open-Source free to use product distributed in respect with OpenSource GNU GPL-3.0.

Requisitos

  1. MySQL 5.1 or higher,
  2. PHP 5.5.0 or higher,
  3. PHP extensions:
    • mcrypt
    • openssl
    • ldap (if used)
    • mbstring
    • bcmath
    • iconv
    • xml
    • gd
    • openssl
    • curl

Instalação:

Servidor WEB (Apache ou NGINX)

yum install httpd
yum install nginx

Liberar serviço web no firewall

firewall-cmd --permanent --zone=public --add-service={http,https}
firewall-cmd --reload

Habilitar inicialização automática do serviço web

APACHE: systemctl enable httpd
ou 
NGINX: systemctl enable nginx

Instalar PHP

yum install -y php-mcrypt php-openssl php-fpm php-mysql php-ldap php-mbstring php-bcmath php-iconv php-xml php-gd php-curl

Habilitar PHP no NGINX

 systemctl enable php-fpm 

Instalar banco de dados

vim /etc/php.ini
/max_execution_time

Preparar Base de Dados

Baixar e instalar aplicação TeamPass

Criar Host no Apache

Criar Host no NGNIX

vim /etc/nginx/conf.d/teampass.conf
server {
	server_name teampass.gugainfo.com.br;
# Maximum file upload size is 4MB - change accordingly if needed
	client_max_body_size 2048M;
	client_body_buffer_size 256k;
	root /var/www/TeamPass-master;
	index index.php;
#Remember to comment the below out when you're installing, and uncomment it when done.
	#location ~ /(conf/|bin/|inc/|install.php) { deny all; }
    location / {try_files $uri $uri/ =404;}
    location ~ \.php$ {
    	include fastcgi_params;
	include /etc/nginx/fastcgi.conf;
	fastcgi_index index.php;
	fastcgi_pass 127.0.0.1:9000;
	fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
	}

Configurar permissões nos diretórios

GUSTAVO ARAGÃO 2022/06/28