• Benvenuti su RaspberryItaly!
Benvenuto ospite! Login Login con Facebook Registrati Login with Facebook


Valutazione discussione:
  • 2 voto(i) - 5 media
  • 1
  • 2
  • 3
  • 4
  • 5

[-]
Tags
phpmyadmin mysql apache nextcloud 2 guida

Guida: Apache 2 + Mysql + Phpmyadmin + Nextcloud
ps io questo file l'ho spostato con un semplice taglia incolla dal desktop

In quel file devi dare la Path giusta la cartella HTML puoi eliminarla non serve nel file conf la Path deve essere /var/www/nextcloud

Inoltre è stato attivato il file conf

Con il comando sudo a2ensite nextcloud.conf o come si chiama lui?
Risposta
(11/04/2020, 15:55)Tiger Ha scritto: ps io questo file l'ho spostato con un semplice taglia incolla dal desktop
c'era scritto usare un programma ftp

(11/04/2020, 15:55)Tiger Ha scritto: In quel file devi dare la Path giusta la cartella HTML puoi eliminarla non serve nel file conf la Path deve essere /var/www/nextcloud

Inoltre è stato attivato il file conf

Con il comando sudo a2ensite nextcloud.conf o come si chiama lui?

Il file nextcloud.conf  è in /etc/apache2/sites-available. Il sudo a2ensite nextcloud.conf l'avevo già dato ed è attivo: Site nextcloud already enabled
questo è il nextcloud.conf 

Codice:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com

ServerAdmin webmaster@localhost
DocumentRoot /var/www/Nexcloud

# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

Ma gia se vado anche sul mio ip e cerco di aprire la pagina web sulla porta 80 del mio ip mi restituisce
Not Found
The requested URL was not found on this server.

Apache/2.4.38 (Raspbian) Server at 192.168.1.190 Port 80
Risposta
#ServerName www.example.com

Va tolto il # e messo il nome del tuo dominio duckdns

Poi richiami il sito con il dominio
Risposta
(11/04/2020, 17:37)Tiger Ha scritto: #ServerName www.example.com

Va tolto il # e messo il nome del tuo dominio duckdns

Poi richiami il sito con il dominio

niente ancora.
 questo non c'entra giusto? 
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

Codice:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName www.xxxxxxxx.duckdns.org

ServerAdmin webmaster@localhost
DocumentRoot /var/www/Nexcloud

# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Risposta
Duckdns non ha il www, elimina www. Ti voglio portare a capire poco per volta se ti aiuto io non capirai mai il meccanismo. Ciao
Risposta
(11/04/2020, 18:18)Tiger Ha scritto: Duckdns non ha il www, elimina www. Ti voglio portare a capire poco per volta se ti aiuto io non capirai mai il meccanismo. Ciao
figurati fai benissimo... per iniziare serve una pappa bella è pronta ma quando iniziano ad esserci gli errori è indispensabile capire quello che stai facendo quindi a me fa piacere. il www l'ho toldo dopo ma comunque non va
Risposta
Se hai la possibilità dammi accesso a terminale Raspberry che controllo dove sta errore. Inoltre mandami in pvt tuo cellulare che ci sentiamo su Telegram o WhatsApp
Risposta
Sto provando ad installare il tutto su una macchina virtuale raspbian buster, ma non mi installa phpmyadmin.
Al comando mi da questo errore. /Users/Daynolavilan/Desktop/Schermata 2020-04-17 alle 22.47.28.jpg

Ho cercato qualche altra fonte per installarlo ma trovo sempre la stessa cosa.

Mi potete aiutare?


Allegati Anteprime
   
Risposta
Stai usando raspbian x86? Phpmyadmin va installato a parte non esiste più nei reposity
Risposta
Quindi se lo installo su virtual machine devo installarlo manualmente.
Su rpi con install phpmyadmin va bene?

Ho visto che c'è php 7.4.
Anche per raspbian?
E per installare nextcloud?
Risposta
  


Vai al forum:


Navigazione: 1 Ospite(i)
Forum con nuovi Post
Forum senza nuovi post
Forum bloccato
Forum Redirect