Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [ubuntu] variabili d'ambiente
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
TankJr.
* Giulia Sprint GTA *

User info:
Registered: Nov 2002
Posts: 857 (0.11 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[ubuntu] variabili d'ambiente

ciao,
non riesco a configurare le variabili d'ambiente su ubuntu...

ho aggiunto a /etc/profile le righe:
export CLASSPATH="..."
export JAVA_HOME="..."
export CATALINA_HOME="..."
export PATH=$PATH"..."

ma non accade nulla...

le ho messe in /etc/environment
e funziona per CLASSPATH, JAVA_HOME e CATALINA_HOME,
ma fa casino con PATH e mi da un sacco di errori

nella mia home non esiste alcun .profile ..ho provato a crearlo ma nn funziona :(

allora mi son fatto un piccolo script:
#!/bin/bash
export CLASSPATH="..."
export JAVA_HOME="..."
export CATALINA_HOME="..."
export PATH=$PATH"..."
echo $?

lo lancio ma nn funge e nn da messaggi d'errore..

il bello è che se prendo quelle righe singolarmente e le lancio da riga di comando funziona!

..suggerimenti???
ah, ovviamente al posto dei puntini ho messo i percorsi corretti! ;)

18-07-2005 08:28
Click Here to See the Profile for TankJr. Click here to Send TankJr. a Private Message Find more posts by TankJr. Add TankJr. to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poledrisk85
.arcimaestro.

User info:
Registered: Nov 2004
Posts: 355 (0.05 al dì)
Location: Roeselare
Corso: Informatica
Anno: Terzo (turno I)
Time Online: 5 Days, 17:03:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

se usi la bash dovresti metterli nel file nascosto
.bashrc o .bash_profile

__________________
Het is allemaal naar de zak!!!

18-07-2005 08:44
Click Here to See the Profile for poledrisk85 Click here to Send poledrisk85 a Private Message Visit poledrisk85's homepage! Find more posts by poledrisk85 Add poledrisk85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TankJr.
* Giulia Sprint GTA *

User info:
Registered: Nov 2002
Posts: 857 (0.11 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ah, dici?? :oops:
ok, provo.. ma allora come mai non mi funziona lo script?
lo eseguo da root (sudo) con il bit executable=true..

grazie

18-07-2005 09:17
Click Here to See the Profile for TankJr. Click here to Send TankJr. a Private Message Find more posts by TankJr. Add TankJr. to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poledrisk85
.arcimaestro.

User info:
Registered: Nov 2004
Posts: 355 (0.05 al dì)
Location: Roeselare
Corso: Informatica
Anno: Terzo (turno I)
Time Online: 5 Days, 17:03:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

i don't know...i misteri di ubuntu...molto strano x' è un derivato Debian!

__________________
Het is allemaal naar de zak!!!

19-07-2005 09:05
Click Here to See the Profile for poledrisk85 Click here to Send poledrisk85 a Private Message Visit poledrisk85's homepage! Find more posts by poledrisk85 Add poledrisk85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TankJr.
* Giulia Sprint GTA *

User info:
Registered: Nov 2002
Posts: 857 (0.11 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by poledrisk85
se usi la bash dovresti metterli nel file nascosto
.bashrc o .bash_profile



ok, così facendo va..

thanksss!!

19-07-2005 10:21
Click Here to See the Profile for TankJr. Click here to Send TankJr. a Private Message Find more posts by TankJr. Add TankJr. to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
KarmaKOMA
-- Antani plus --

User info:
Registered: May 2003
Posts: 3643 (0.46 al dì)
Location: MILANO UND MUNCHEN (CENTER)
Corso: -- Ma_Stic@zzi?? --
Anno: Degree of Digital Com.
Time Online: 10 Days, 1:25:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quindi?...a volte Tank sei criptico come l'equazione di un orbitale atomico...

__________________
"SeQuAlCoSaMiVaStOrToLoRaDdRiZzOaCaLcIiNcUlo".
**************************************
“Datemi il controllo sul denaro di una nazione e non mi preoccuperò di chi ne fa le leggi”. [Barone M.A. Rothschild]

"Life isn't like a bowl of cherries or peaches, it's more like a jar of Jalapenos: what you do today, might burn your ass tomorrow...!?! "

19-07-2005 11:44
Click Here to See the Profile for KarmaKOMA Click Here to See the Blog of KarmaKOMA Click here to Send KarmaKOMA a Private Message Visit KarmaKOMA's homepage! Find more posts by KarmaKOMA Add KarmaKOMA to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poledrisk85
.arcimaestro.

User info:
Registered: Nov 2004
Posts: 355 (0.05 al dì)
Location: Roeselare
Corso: Informatica
Anno: Terzo (turno I)
Time Online: 5 Days, 17:03:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ora posso dire di essere il mago della debian???non credo xò ci provo...a chiederlo!

__________________
Het is allemaal naar de zak!!!

19-07-2005 11:57
Click Here to See the Profile for poledrisk85 Click here to Send poledrisk85 a Private Message Visit poledrisk85's homepage! Find more posts by poledrisk85 Add poledrisk85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TankJr.
* Giulia Sprint GTA *

User info:
Registered: Nov 2002
Posts: 857 (0.11 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

beh, chiedere nn costa nulla.. :)

sicuramente ne sai + di me, se ti può consolare!!

__________________
"Il Buddha, il Divino, dimora nel circuito di un calcolatore o negli ingranaggi del cambio di una moto con lo stesso agio che in cima a una montagna o nei petali di un fiore. Pensare altrimenti equivale a sminuire il Buddha - il che equivale a sminuire sè stessi." Robert M. Pirsig - Lo Zen e l'arte della manutenzione della motocicletta

19-07-2005 12:14
Click Here to See the Profile for TankJr. Click here to Send TankJr. a Private Message Find more posts by TankJr. Add TankJr. to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
poledrisk85
.arcimaestro.

User info:
Registered: Nov 2004
Posts: 355 (0.05 al dì)
Location: Roeselare
Corso: Informatica
Anno: Terzo (turno I)
Time Online: 5 Days, 17:03:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sono un linuxista fai-da-te...ho imparato tutto da solo..senza guide nè niente...ma non è che ne sappia + di tanto!!!

__________________
Het is allemaal naar de zak!!!

19-07-2005 12:42
Click Here to See the Profile for poledrisk85 Click here to Send poledrisk85 a Private Message Visit poledrisk85's homepage! Find more posts by poledrisk85 Add poledrisk85 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Renaulto
is fan of UTF-8

User info:
Registered: Aug 2002
Posts: 4064 (0.49 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 96 Days, 0:20:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Dovrebbe essere scritto nei commenti, se lì ci vanno le variabili d'ambiente o meno. C'è anche /etc/bash.bashrc o qualcosa di simile.

__________________
Tanenbaum is overrated.

Last edited by Renaulto on 20-07-2005 at 18:36

19-07-2005 13:36
Click Here to See the Profile for Renaulto Click Here to See the Blog of Renaulto Click here to Send Renaulto a Private Message Find more posts by Renaulto Add Renaulto to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fujiHC
Mangiatore di Fave

User info:
Registered: Oct 2002
Posts: 6 (0.00 al dì)
Location: San Donato bleach
Corso: Infornatica
Anno:
Time Online: 5 Days, 22:17:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

metti i file java.sh e tomcat.sh, in cui ci sono inseriti i nomi delle variablili d'mabiente, nellla /etc/profile.d/ e li rendi eseguibili con chmod a+x nomefile.sh al successivo riavvio vedi che funzika

__________________
Salamella Rulez

20-07-2005 09:23
Click Here to See the Profile for fujiHC Click here to Send fujiHC a Private Message Find more posts by fujiHC Add fujiHC to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 14:07.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.049 seconds (69.83% PHP - 30.17% MySQL) con 27 query.