nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

environmental variable

This is a discussion on environmental variable within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; hello, i need to add environmental variable "http_proxy" in fc8.and also tell me,how i can add repositories url in yum. ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-01-2008, 01:11 AM
Junior Member
User
 
Join Date: Dec 2007
My distro: Debian
Posts: 17
Rep Power: 0
myfoot is on a distinguished road
Default environmental variable

hello,

i need to add environmental variable "http_proxy" in fc8.and also tell me,how i can add repositories url in yum.


thanks
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-01-2008, 06:14 AM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 554
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Add your enviorment variables to .bash_profile file in your home directory:
Code:
vi ~/.bash_profile
Append
Code:
export HTTP_PROXY="192.168.1.5"
Save and close the file. Relogin to activate change


See yum repo:
Howto: Add a new yum repository to install software under CentOS / Redhat Linux
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Duplicity UnboundLocalError: local variable 'local_manifest' referenced before assign raj Networking, Firewalls and Security 1 06-09-2007 05:56 PM
Passing value from variable while its expected from keyboard unix11 Shell scripting 3 02-22-2007 02:36 PM
Weird variable evaluation problem (FreeBSD, sh) fangorn Shell scripting 1 10-10-2006 02:37 AM
How to pass shell variable to awk program Shell scripting 4 06-23-2006 05:11 AM
HTML variable nathan86 Linux software 3 03-23-2005 12:29 PM


All times are GMT +5.5. The time now is 12:05 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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