installazione apache2, php5 e webmin in locale

Discussioni sui sistemi operativi Unix like, con un occhio di riguardo per Linux.

Moderatori: cb_123, thrantir, netvandal, CaberNET54

installazione apache2, php5 e webmin in locale

Messaggiodi Ibanez89 il 29 mar 2008, 15:49

Raga sto cercando di installare questi programmi su machina virtuale su OS ubuntu 7.10 colo che incontro parecchi problemi di dipendenze non soddisfatte...

Codice: Seleziona tutto
ibanez89@ibanez89-desktop-virtual:~$ sudo aptitude install apache2
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Reading state information... Fatto               
Reading extended state information     
Initializing package states... Fatto
Building tag database... Fatto     
The following packages are BROKEN:
  apache2-mpm-worker apache2-utils apache2.2-common
The following NEW packages will be automatically installed:
  libpq5
The following NEW packages will be installed:
  apache2 libpq5
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2008kB of archives. After unpacking 5771kB will be used.
The following packages have unmet dependencies:
  apache2-utils: Dipende: libapr1 which is a virtual package.
                 Dipende: libaprutil1 which is a virtual package.
  apache2.2-common: Dipende: libapr1 which is a virtual package.
                    Dipende: libaprutil1 which is a virtual package.
  apache2-mpm-worker: Dipende: libapr1 which is a virtual package.
                      Dipende: libaprutil1 which is a virtual package.
Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
apache2 [Not Installed]
apache2-mpm-worker [Not Installed]
apache2-utils [Not Installed]
apache2.2-common [Not Installed]

Score is -9854

Accept this solution? [Y/n/q/?] n
Resolving dependencies...

*** No more solutions available ***

The following actions will resolve these dependencies:

Keep the following packages at their current version:
apache2 [Not Installed]
apache2-mpm-worker [Not Installed]
apache2-utils [Not Installed]
apache2.2-common [Not Installed]

Score is -9854

Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Fatto
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Reading state information... Fatto               
Reading extended state information     
Initializing package states... Fatto
Building tag database... Fatto     
CiAo DanIele...

Immagine
Pentium4 Northwood HT 2.6@3000 "230*13" vcore def [RIP] King Value 512*2 200@230 cas2@3 Ati x800gto2@x850pe powered by Arctic Cooler [RIP] Mother ASRock P4VM900-SATA2 [RIP]
insomma poco alla volta mi si sta bruciando tutto :asd:

Immagine
Avatar utente
Ibanez89
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 5563
Iscritto il: 15 apr 2006, 17:31
Località: Corato (BA)

 

Re: installazione apache2, php5 e webmin in locale

Messaggiodi dannyb78 il 29 mar 2008, 16:48

ti consiglio ubuntu 6.06 che è più stabile per queste applicazioni. Cerca tra i miei post nella sezione linux, c'è una guida per l'istallazione del sistema LAMP
CM Cosmos S | CM Pro Real Power 1000W | ASUS P6T6 WS Revolution | intel i7 965 extreme | CM V8 | Corsair DHX 1600C8 6*2GB | ASUS EAH4870X2 | Creative X-Fi Titanium Fatal1ty Champion Series | WD Velociraptor 300 +Seagate 1,5TB | ASUS Bluray BC-08B1ST | NZXT Sentry LX | Panasonic TH-D42PT84

MTB CLUB CECINA - XII GRANFONDO COSTA DEGLI ETRUSCHI - Marina di Bibbona ||| Foto edizione 2009!!!
Avatar utente
dannyb78
Luce delle stelle
Luce delle stelle
 
Messaggi: 2648
Iscritto il: 26 giu 2005, 16:33
Località: Cecina

Re: installazione apache2, php5 e webmin in locale

Messaggiodi diegofio il 29 mar 2008, 17:11

guarda qua ci sono anche i link che ti ha precisato daniele
viewtopic.php?f=28&t=32008
diegofio
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 9270
Iscritto il: 29 lug 2005, 09:55

Re: installazione apache2, php5 e webmin in locale

Messaggiodi CaberNET54 il 29 mar 2008, 18:10

Immagine
ASROCK 880G Extreme3 - PHENOM II X6 1055T (OC Daily 3724 Mhz @ 1,3375 Vcore rock-solid) - Cooling by Noctua NH-D14 - Corsair 8GB (4x XMS3 2GB) PC-12800 - POV 8800GT 512Mb @ EXO 650/1950/1625 + Zalman GV1000 - OCZ Vertex2 120GB - 2 x WD Caviar 1 Tb - Enermax Chakra Monster Fan & Modu82+ 625W - APC BACK-UPS RS 800VA.
Immagine
multiboot (WINDOWS7 Ultimate 64bit - UBUNTU 10.04 LTS 64bit)
SEMINA LINUX CHE TANTO WINDOWS SI PIANTA DA SOLO
Avatar utente
CaberNET54
Moderatore
Moderatore
 
Messaggi: 2335
Iscritto il: 02 gen 2004, 08:17
Località: Venezia

Re: installazione apache2, php5 e webmin in locale

Messaggiodi Ibanez89 il 29 mar 2008, 23:01

dannyb78 ha scritto:ti consiglio ubuntu 6.06 che è più stabile per queste applicazioni. Cerca tra i miei post nella sezione linux, c'è una guida per l'istallazione del sistema LAMP


no, devo installarlo in locale solo per impratichirmi... l'installazione vera e propria verà fatta sul vps che quel cesso di admin ha messo offline da stamane alle 12 senza rispondere a nessuna mia mail...

io mi sono affidato a http://ubuntuguide.org/wiki/Ubuntu:Gutsy solo che come si evince dal log ho problemi con le dipendenze...

non va proprio

Codice: Seleziona tutto
ibanez89@ibanez89-desktop-virtual:~$ sudo /etc/init.d/apache2 restart
[sudo] password for ibanez89:
sudo: /etc/init.d/apache2: command not found
ibanez89@ibanez89-desktop-virtual:~$ sudo apt-get install apache2-mpm-prefork
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Reading state information... Fatto               
Alcuni pacchetti non possono essere installati. Questo può voler
dire che è stata richiesta una situazione impossibile oppure, se
si sta usando la distribuzione "unstable", che alcuni pacchetti
richiesti non sono ancora stati creati o rimossi da incoming.

Poiché è stata richiesta solo una singola operazione è molto facile che
il pacchetto semplicemente non sia installabile, si consiglia
di inviare un "bug report" per tale pacchetto.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
  apache2-mpm-prefork: Dipende: libapr1 ma non è installabile
                       Dipende: libaprutil1 ma non è installabile
                       Dipende: apache2.2-common (= 2.2.4-3ubuntu0.1) ma non sta per essere installato
E: Pacchetto non integro
ibanez89@ibanez89-desktop-virtual:~$


caber se seguo la guida http://bashcurescancer.com/installing-a ... ibbon.html mi da l'errore che ho su... possibile che sia solo la mia linea "vado a 2/5Kb/s ed è un tantino instabile oltre ad avere ping mostuosi" a non permettermi di scaricare i pacchetti dandomi errori stran? :?
CiAo DanIele...

Immagine
Pentium4 Northwood HT 2.6@3000 "230*13" vcore def [RIP] King Value 512*2 200@230 cas2@3 Ati x800gto2@x850pe powered by Arctic Cooler [RIP] Mother ASRock P4VM900-SATA2 [RIP]
insomma poco alla volta mi si sta bruciando tutto :asd:

Immagine
Avatar utente
Ibanez89
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 5563
Iscritto il: 15 apr 2006, 17:31
Località: Corato (BA)

Re: installazione apache2, php5 e webmin in locale

Messaggiodi CaberNET54 il 30 mar 2008, 07:52

Non so se questo possa esserti utile:

http://ubuntuforums.org/showthread.php?p=4358669

anche se l'obiettivo dell'autore del thread sopra riportato era l'installazione di Oracle, molti passaggi sono stati comuni ai pacchetti che devi installare tu.

Mi dispiace di non essere più preciso, ma sono ignorante in materia di gestione server in remoto :?

Vedi anche qui:

http://www.ubuntu-it.org/index.php?page=server

e quindi qui (dove tratta di lamp server)

http://wiki.eyermonkey.com/index.php?ti ... untu_(7.10)_Installation&printable=yes

Edit: altri esempi

http://www.intertwingly.net/blog/2007/1 ... tsy-Gibbon

http://taufanlubis.wordpress.com/2008/0 ... -apache-2/
Immagine
ASROCK 880G Extreme3 - PHENOM II X6 1055T (OC Daily 3724 Mhz @ 1,3375 Vcore rock-solid) - Cooling by Noctua NH-D14 - Corsair 8GB (4x XMS3 2GB) PC-12800 - POV 8800GT 512Mb @ EXO 650/1950/1625 + Zalman GV1000 - OCZ Vertex2 120GB - 2 x WD Caviar 1 Tb - Enermax Chakra Monster Fan & Modu82+ 625W - APC BACK-UPS RS 800VA.
Immagine
multiboot (WINDOWS7 Ultimate 64bit - UBUNTU 10.04 LTS 64bit)
SEMINA LINUX CHE TANTO WINDOWS SI PIANTA DA SOLO
Avatar utente
CaberNET54
Moderatore
Moderatore
 
Messaggi: 2335
Iscritto il: 02 gen 2004, 08:17
Località: Venezia

Re: installazione apache2, php5 e webmin in locale

Messaggiodi diegofio il 30 mar 2008, 13:19

ma hai seguito la guida che ti ho linkato sul nostro forum a te basta solo saltare i passaggi di mysql
diegofio
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 9270
Iscritto il: 29 lug 2005, 09:55

Re: installazione apache2, php5 e webmin in locale

Messaggiodi Ibanez89 il 02 apr 2008, 20:46

ho provato sul server... ecco il log... apache nn mi va... colpa mia che cancellai la cartella come si fa ora?

Welcome root!
-root@EuShells->> apt-get install apache2-mpm-prefork
Reading package lists... Done
Building dependency tree... Done
apache2-mpm-prefork is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-root@EuShells->> aot-get install libapache2-mod-php5
-bash: aot-get: command not found
-root@EuShells->> apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
php-pear
The following NEW packages will be installed:
libapache2-mod-php5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2413kB of archives.
After unpacking 5476kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org etch/main libapache2-mod-php5 5.2.0-8+etch10 [2413kB]
Fetched 2413kB in 0s (5027kB/s)
Selecting previously deselected package libapache2-mod-php5.
(Reading database ... 32513 files and directories currently installed.)
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.0-8+etch10_i386.deb) ...
Setting up libapache2-mod-php5 (5.2.0-8+etch10) ...
Not replacing deleted config file /etc/php5/apache2/php.ini

-root@EuShells->> apt-get install mysql-server
Reading package lists... Done
Building dependency tree... Done
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-root@EuShells->> apt-get install php5-mysql
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
php5-mysql
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 64.9kB of archives.
After unpacking 242kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org etch/main php5-mysql 5.2.0-8+etch10 [64.9kB]
Fetched 64.9kB in 0s (664kB/s)
Selecting previously deselected package php5-mysql.
(Reading database ... 32517 files and directories currently installed.)
Unpacking php5-mysql (from .../php5-mysql_5.2.0-8+etch10_i386.deb) ...
Setting up php5-mysql (5.2.0-8+etch10) ...

-root@EuShells->> apt-get install php5-gd
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
php5-gd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.4kB of archives.
After unpacking 164kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org etch/main php5-gd 5.2.0-8+etch10 [33.4kB]
Fetched 33.4kB in 0s (189kB/s)
Selecting previously deselected package php5-gd.
(Reading database ... 32521 files and directories currently installed.)
Unpacking php5-gd (from .../php5-gd_5.2.0-8+etch10_i386.deb) ...
Setting up php5-gd (5.2.0-8+etch10) ...

-root@EuShells->> /etc/init.d/apache2 restart
-bash: /etc/init.d/apache2: No such file or directory
-root@EuShells->>


:(
CiAo DanIele...

Immagine
Pentium4 Northwood HT 2.6@3000 "230*13" vcore def [RIP] King Value 512*2 200@230 cas2@3 Ati x800gto2@x850pe powered by Arctic Cooler [RIP] Mother ASRock P4VM900-SATA2 [RIP]
insomma poco alla volta mi si sta bruciando tutto :asd:

Immagine
Avatar utente
Ibanez89
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 5563
Iscritto il: 15 apr 2006, 17:31
Località: Corato (BA)

Re: installazione apache2, php5 e webmin in locale

Messaggiodi CaberNET54 il 02 apr 2008, 21:29

Nella lista di comandi che hai appena postato, c'è questo errore:

Codice: Seleziona tutto
-root@EuShells->> aot-get install libapache2-mod-php5
-bash: aot-get: command not found


Come puoi notare, hai scritto "aot" al posto di "apt", pertanto non ti ha installato il pacchetto "libapache2-mod-php5", forse dipende da questo :D , prova a ripetere la procedura con il comando esatto 8-)
Immagine
ASROCK 880G Extreme3 - PHENOM II X6 1055T (OC Daily 3724 Mhz @ 1,3375 Vcore rock-solid) - Cooling by Noctua NH-D14 - Corsair 8GB (4x XMS3 2GB) PC-12800 - POV 8800GT 512Mb @ EXO 650/1950/1625 + Zalman GV1000 - OCZ Vertex2 120GB - 2 x WD Caviar 1 Tb - Enermax Chakra Monster Fan & Modu82+ 625W - APC BACK-UPS RS 800VA.
Immagine
multiboot (WINDOWS7 Ultimate 64bit - UBUNTU 10.04 LTS 64bit)
SEMINA LINUX CHE TANTO WINDOWS SI PIANTA DA SOLO
Avatar utente
CaberNET54
Moderatore
Moderatore
 
Messaggi: 2335
Iscritto il: 02 gen 2004, 08:17
Località: Venezia

Re: installazione apache2, php5 e webmin in locale

Messaggiodi Ibanez89 il 02 apr 2008, 21:35

CaberNET54 ha scritto:Nella lista di comandi che hai appena postato, c'è questo errore:

Codice: Seleziona tutto
-root@EuShells->> aot-get install libapache2-mod-php5
-bash: aot-get: command not found


Come puoi notare, hai scritto "aot" al posto di "apt", pertanto non ti ha installato il pacchetto "libapache2-mod-php5", forse dipende da questo :D , prova a ripetere la procedura con il comando esatto 8-)


ho riscritto il comando il righo sotto e l'ha installato quel pacchetto
CiAo DanIele...

Immagine
Pentium4 Northwood HT 2.6@3000 "230*13" vcore def [RIP] King Value 512*2 200@230 cas2@3 Ati x800gto2@x850pe powered by Arctic Cooler [RIP] Mother ASRock P4VM900-SATA2 [RIP]
insomma poco alla volta mi si sta bruciando tutto :asd:

Immagine
Avatar utente
Ibanez89
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 5563
Iscritto il: 15 apr 2006, 17:31
Località: Corato (BA)

Re: installazione apache2, php5 e webmin in locale

Messaggiodi CaberNET54 il 02 apr 2008, 22:16

Scusa non l'ho visto :?
Immagine
ASROCK 880G Extreme3 - PHENOM II X6 1055T (OC Daily 3724 Mhz @ 1,3375 Vcore rock-solid) - Cooling by Noctua NH-D14 - Corsair 8GB (4x XMS3 2GB) PC-12800 - POV 8800GT 512Mb @ EXO 650/1950/1625 + Zalman GV1000 - OCZ Vertex2 120GB - 2 x WD Caviar 1 Tb - Enermax Chakra Monster Fan & Modu82+ 625W - APC BACK-UPS RS 800VA.
Immagine
multiboot (WINDOWS7 Ultimate 64bit - UBUNTU 10.04 LTS 64bit)
SEMINA LINUX CHE TANTO WINDOWS SI PIANTA DA SOLO
Avatar utente
CaberNET54
Moderatore
Moderatore
 
Messaggi: 2335
Iscritto il: 02 gen 2004, 08:17
Località: Venezia

Re: installazione apache2, php5 e webmin in locale

Messaggiodi Ibanez89 il 02 apr 2008, 22:32

CaberNET54 ha scritto:Scusa non l'ho visto :?


è strano perchè usai sia il comando remove che purghe mha...
CiAo DanIele...

Immagine
Pentium4 Northwood HT 2.6@3000 "230*13" vcore def [RIP] King Value 512*2 200@230 cas2@3 Ati x800gto2@x850pe powered by Arctic Cooler [RIP] Mother ASRock P4VM900-SATA2 [RIP]
insomma poco alla volta mi si sta bruciando tutto :asd:

Immagine
Avatar utente
Ibanez89
AmdPlanet Guru
AmdPlanet Guru
 
Messaggi: 5563
Iscritto il: 15 apr 2006, 17:31
Località: Corato (BA)

 

Torna a Linux e Unix

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite