Debian Question

ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
Ok here it goes

I am in the process of building a firewall for our SysAdmin dude being quite new to this linux lark i am having some difficulty

I am using Debian Sarge Net install

I need to download the packages using Aptitude but i'm struggling to get anywhere because of the proxy not being setup

sysadmin dude provided me the command

export http-proxy="http://proxy:8080"

So i typed this in and no joy the NIC is working and the switch is working

Is the command wrong I tried setting up the proxy using apt to no avail

Also he mentioned something about the enviromental values changing and that I need to add the Proxy details by editing etc

how the hell do i do this ??:

Thank you for you help
Microsoft's strategy to conquer the I.T industry

" Embrace, evolve, extinguish "

Comments

  • ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
    Any Linux gurus in here realy do need some help!
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
  • NinjaBoyNinjaBoy Member Posts: 968
    I haven't played much with Linux, but i found this, hopefully it'll help you icon_confused.gif:

    Downloading Debian Packages through a Proxy
    Anothing example of using the apt configuration files is to instruct apt-get to download packages via a proxy server.

    Simply place the following into a file such as /etc/apt/apt.conf.d/proxy:

    Acquire::http::Proxy "http://proxy:8080";

    See here for full article: http://www.debian-administration.org/articles/177

    -ken
  • ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
    Unfortuantley this doesn't help me

    Because I currently have no FTP or HTTP useage

    Sarge has no editors installed so I cannot add the proxy settings using a editor

    I remember configuring the proxy through the command line before also i somehow configuring the proxy using apt-install before but for some reason it isn't giving me the option to.

    I hate Linux lol there has to be a solution!
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
  • NinjaBoyNinjaBoy Member Posts: 968
    Sorry the above didn't help. I was wondering why you don't just install a desktop environment (GUI) like KDE or Gnome? And then configure what you need to.

    See here: http://www.debiantutorials.org/content/view/6/57/

    -ken

    p.s. I don't like Linux that much either icon_lol.gif
  • RussSRussS Member Posts: 2,068 ■■■□□□□□□□
    Basically - if you don't have ftp or http you are not gonna get your downloads icon_lol.gif

    Sounds like you have a tightly locked down network.
    www.supercross.com
    FIM website of the year 2007
  • Silver BulletSilver Bullet Member Posts: 676 ■■■□□□□□□□
    Have you considered using IPCOP or Smoothwall?

    IPCOP is a full featured linux firewall with a lot of extras such as IDS(Snort), Proxy Server and there are several addons to make it function as a web content filter, spam & virus filter..etc. It's not difficult to manage either......all done through a web interface.

    I have never used smoothwall but it looks like a good firewall solution as well.
  • ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
    Unfortunately the Sysadmin is a old skool Unix user he prefers no GUI and a Debian based system. I managed to resolve the problem by starting over although i had some fun configuring the packages via aptitude I nearly deleted the whole Kernal ahwell learning experience.
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
  • ally_ukally_uk Member Posts: 1,145 ■■■■□□□□□□
    Sucess

    I managed to get aptitude working :)

    Installed Vim

    I then navigated to /etc and viewed and edited profile using vim

    I then added

    export http_proxy= "http://proxy=8080"

    Exited vim

    Then ran source etc/profile

    So now everytime I enter the Debian system my proxy settings are configured

    Oh windows is so much easier but why is Linux so much more fun lol
    Microsoft's strategy to conquer the I.T industry

    " Embrace, evolve, extinguish "
Sign In or Register to comment.