to check your Shell, use this command :
# echo $SHELL
if you use /bin/sh
# cd
# ee .shrc
add this :
export http_proxy="http://username:password@host:port/"
export ftp_proxy=$http_proxy
if you use /bin/bash.
# cd
# ee .bashrc
add this :
export http_proxy="http://username:password@host:port/"
export ftp_proxy=$http_proxy
if you use /bin/csh.
# cd
# ee .cshrc
add this :
setenv http_proxy http://username:password@host:port/
setenv ftp_proxy=$http_proxy
Then, if that step about proxy setting above still dont work. You can set manually, one by one. But I recomend you to don't erase all configuration on your Shell, which you typed last time. Because it's used to set automatically after reboot or halt. Follow this command to set manually your proxy !
in /bin/bash and /bin/sh :
# export http_proxy="http://username:password@host:port/"in /bin/csh :
# export ftp_proxy=$http_proxy
# setenv http_proxy http://username:password@host:port/
# setenv ftp_proxy=$http_proxy
No comments:
Post a Comment