-
Notifications
You must be signed in to change notification settings - Fork 6
/
requisitos.txt
executable file
·41 lines (29 loc) · 1.17 KB
/
requisitos.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Requisitos de software para funcionamento
Sistema Operacional: Debian 12
Servidor Web: Apache 2.4
PHP: 8.2
MariaDB: > 10.11.0
Git: > 2.39
######### Instruções de Instalação #######################
apt install apache2 mariadb-server git python3-certbot-apache php8.2 php8.2-cli php8.2-common php8.2-curl php8.2-gd php8.2-intl php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-readline php8.2-soap php8.2-xml php8.2-xmlrpc php8.2-zip
nano /etc/apache2/sites-available/wegia.conf
<VirtualHost *:80>
ServerName wegia.instituicao.org
DocumentRoot /var/www/WeGIA
ErrorDocument 404 http://wegia.instituicao.org/
</VirtualHost>
a2ensite wegia.conf
systemctl reload apache2
sudo -u www-data git -C /tmp clone https://github.com/nilsonmori/WeGIA.git
mv /tmp/WeGIA /var/www/
mkdir /var/www/bkpWeGIA
chmod 777 /var/www/bkpWeGIA -R
certbot --apache -d wegia.instituicao.org
systemctl reload apache2
mysql -u root
CREATE USER 'wegiauser'@'localhost' IDENTIFIED BY 'senha';
CREATE DATABASE wegia;
GRANT ALL PRIVILEGES ON wegia.* TO 'wegiauser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
quit;
https://wegia.instituicao.org/instalador/