SITO1 -- SITO2 -- Forum1 -- CercaGlobale -- Informativa su Cookie e Privacy


Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
[RISOLTO]installare LAMP su server ubuntu 18.10 18.04.2
#1
salve,
ho installato un server ubuntu 18.10, e ora vorrei completare l'installazione  caricando le componenti LAMP:
ho trovato questa guida:https://noviello.it/come-installare-lamp...ntu-18-10/

ma ottengo solo errori :
Codice:
danilo@ubuntu1810:~$ sudo apt update
Err:1 http://archive.ubuntu.com/ubuntu cosmic InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu cosmic-security InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree      
Reading state information... Done
119 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic-security/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
danilo@ubuntu1810:~$

Codice:
danilo@ubuntu1810:~$ sudo apt install apache2
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1 liblua5.2-0 ssl-cert
Suggested packages:
 apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser
 openssl-blacklist
The following NEW packages will be installed:
 apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1
 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1 liblua5.2-0 ssl-cert
0 upgraded, 11 newly installed, 0 to remove and 119 not upgraded.
Need to get 2,022 kB of archives.
After this operation, 8,374 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libapr1 amd64 1.6.3-3
 Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libaprutil1 amd64 1.6.1-3
 Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libaprutil1-dbd-sqlite3 amd64 1.6.1-3
 Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libaprutil1-ldap amd64 1.6.1-3
 Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libbrotli1 amd64 1.0.6-1
 Temporary failure resolving 'archive.ubuntu.com'
Err:6 http://archive.ubuntu.com/ubuntu cosmic/main amd64 liblua5.2-0 amd64 5.2.4-1.1build1
 Temporary failure resolving 'archive.ubuntu.com'
Err:7 http://archive.ubuntu.com/ubuntu cosmic/main amd64 apache2-bin amd64 2.4.34-1ubuntu2
 Temporary failure resolving 'archive.ubuntu.com'
Err:8 http://archive.ubuntu.com/ubuntu cosmic/main amd64 apache2-data all 2.4.34-1ubuntu2
 Temporary failure resolving 'archive.ubuntu.com'
Err:9 http://archive.ubuntu.com/ubuntu cosmic/main amd64 apache2-utils amd64 2.4.34-1ubuntu2
 Temporary failure resolving 'archive.ubuntu.com'
Err:10 http://archive.ubuntu.com/ubuntu cosmic/main amd64 apache2 amd64 2.4.34-1ubuntu2
 Temporary failure resolving 'archive.ubuntu.com'
Err:11 http://archive.ubuntu.com/ubuntu cosmic/main amd64 ssl-cert all 1.0.39
 Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apr/libapr1_1.6.3-3_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apr-util/libaprutil1_1.6.1-3_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apr-util/libaprutil1-dbd-sqlite3_1.6.1-3_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apr-util/libaprutil1-ldap_1.6.1-3_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/brotli/libbrotli1_1.0.6-1_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lua5.2/liblua5.2-0_5.2.4-1.1build1_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-bin_2.4.34-1ubuntu2_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-data_2.4.34-1ubuntu2_all.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.4.34-1ubuntu2_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.4.34-1ubuntu2_amd64.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/ssl-cert/ssl-cert_1.0.39_all.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
danilo@ubuntu1810:~$ sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu cosmic InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu cosmic-security InRelease
 Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/cosmic-security/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
danilo@ubuntu1810:~$

ho provato anche con tasksel,ma non riesco neanche a installare il tasksel:

Codice:
danilo@ubuntu1810:~$ tasksel

Command 'tasksel' not found, but can be installed with:

sudo apt install tasksel

danilo@ubuntu1810:~$ sudo apt install tasksel
[sudo] password for danilo:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
 laptop-detect tasksel-data
The following NEW packages will be installed:
 laptop-detect tasksel tasksel-data
0 upgraded, 3 newly installed, 0 to remove and 119 not upgraded.
Need to get 40.0 kB of archives.
After this operation, 308 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 tasksel-data all 3.34ubuntu12
 Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu cosmic/main amd64 tasksel all 3.34ubuntu12
 Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu cosmic/main amd64 laptop-detect all 0.16
 Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/t/tasksel/tasksel-data_3.34ubuntu12_all.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/t/tasksel/tasksel_3.34ubuntu12_all.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/laptop-detect/laptop-detect_0.16_all.deb  Temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
danilo@ubuntu1810:~$

Mi pare di capire che i repository  di ubuntu 1810 non sono accessibili.

c'è un modo<per superare l' inghippo?
grazie
danilo
Cita messaggio
Grazie da:
#2
se i repository sono quelli di default proverei a cambiare nelle impostazioni i server di riferimento. Se per esempio ai scelto i server in Italia, prova a selezionare quelli globali, o da un altro paese. Se invece i repo che ti danno errore li hai aggiunti tu all'elenco, controlla che siano scritti in modo corretto.
Linux User # 207701 - Non ho particolari talenti. Sono soltanto appassionatamente curioso - Albert Einstein
Cita messaggio
Grazie da:
#3
grazie, sono su un server senza interfaccia grafica, quindi  ho difficoltà a cambiare i repository, comunque ho provato ugualmente a modificarli con 
Codice:
sudo nano /etc/apt/sources.list

 ma non ho concluso niente.
quindi ho installato ubuntu 18.04.02  sperando in meglio.
su questa release sono riuscito a installare in qualche modo Apache, mysql ,ma non riesco a istallare java e tomcat8 e Php: il problema è lo stesso: repository.
Sto valutando di ritornare a U 17.04, in attesa che le releases 18 si dotino di una procedura di installazione completa e degna del nome Ubuntu, e magari anche in italiano. Piange
Cita messaggio
Grazie da:
#4
Ho reinstallato il 18.04.2 e ora mi manca solo più il tomcat, ma prima o poi ci riuscirò
Cita messaggio
Grazie da:
#5
Alleluja!, ho reinstallato usando l'ISO alternativa e ora funziona tutto.o quasi:
ho impostato l'IP , ma da remoto con l' URL pubblico non riesco ad accedere. ( ma questo è un altro problema).

ancora grazie per l' aiuto
danilo
Cita messaggio
Grazie da:


Vai al forum:


Utenti che stanno guardando questa discussione: