Mudanças entre as edições de "SysPass"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
(Criou página com 'apt install locales apache2 libapache2-mod-php7.0 php-pear php7.0 php7.0-cgi php7.0-cli \ php7.0-common php7.0-fpm php7.0-gd php7.0-json php7.0-mysql php7.0-readline php7.0-cu...')
 
 
Linha 1: Linha 1:
 +
Baixando dependências pelo apt
 +
<source lang="bash">
 
apt install locales apache2 libapache2-mod-php7.0 php-pear php7.0 php7.0-cgi php7.0-cli \
 
apt install locales apache2 libapache2-mod-php7.0 php-pear php7.0 php7.0-cgi php7.0-cli \
 
php7.0-common php7.0-fpm php7.0-gd php7.0-json php7.0-mysql php7.0-readline php7.0-curl \
 
php7.0-common php7.0-fpm php7.0-gd php7.0-json php7.0-mysql php7.0-readline php7.0-curl \
 
php7.0-intl php7.0-ldap php7.0-mcrypt php7.0-xml php7.0-mbstring zip unzip git \
 
php7.0-intl php7.0-ldap php7.0-mcrypt php7.0-xml php7.0-mbstring zip unzip git \
 
php-mysql mysql-server
 
php-mysql mysql-server
 +
</source>
  
 +
Reiniciando Apache
 +
<source lang="bash">
 
service apache2 restart
 
service apache2 restart
 +
</source>
  
 +
Baixa e instalando sysPass
 +
<source lang="bash">
 
wget https://github.com/nuxsmin/sysPass/archive/3.0.5.19020701.tar.gz
 
wget https://github.com/nuxsmin/sysPass/archive/3.0.5.19020701.tar.gz
 
tar zxvf 3.0.5.19020701.tar.gz
 
tar zxvf 3.0.5.19020701.tar.gz
Linha 11: Linha 19:
 
cd /var/www/html/syspass
 
cd /var/www/html/syspass
 
chmod 750 app/config app/backup
 
chmod 750 app/config app/backup
 +
</source>
  
 +
Instalando dependências via Composer
 +
<source lang="bash">
 
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
 
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
Linha 18: Linha 29:
 
php composer.phar install --no-dev
 
php composer.phar install --no-dev
 
chown www-data: -R /var/www/html/syspass
 
chown www-data: -R /var/www/html/syspass
 
+
</source>
  
 
== Referências ==
 
== Referências ==
 
* https://www.profissionaisti.com.br/2018/05/sistema-para-gerenciamento-de-senhas-syspass/
 
* https://www.profissionaisti.com.br/2018/05/sistema-para-gerenciamento-de-senhas-syspass/

Edição atual tal como às 19h43min de 15 de abril de 2019

Baixando dependências pelo apt

apt install locales apache2 libapache2-mod-php7.0 php-pear php7.0 php7.0-cgi php7.0-cli \
php7.0-common php7.0-fpm php7.0-gd php7.0-json php7.0-mysql php7.0-readline php7.0-curl \
php7.0-intl php7.0-ldap php7.0-mcrypt php7.0-xml php7.0-mbstring zip unzip git \
php-mysql mysql-server

Reiniciando Apache

service apache2 restart

Baixa e instalando sysPass

wget https://github.com/nuxsmin/sysPass/archive/3.0.5.19020701.tar.gz
tar zxvf 3.0.5.19020701.tar.gz
mv sysPass-3.0.5.19020701/ /var/www/html/syspass
cd /var/www/html/syspass
chmod 750 app/config app/backup

Instalando dependências via Composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
php composer.phar install --no-dev
chown www-data: -R /var/www/html/syspass

Referências