LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to install and configure squid proxy in Ubuntu 10.10 (https://www.linuxquestions.org/questions/linux-server-73/how-to-install-and-configure-squid-proxy-in-ubuntu-10-10-a-843995/)

ganesh24pal@gmail.com 11-12-2010 10:59 PM

how to install and configure squid proxy in Ubuntu 10.10
 
HI all,

I want to install squid proxy and iptables in ubuntu 10.10 and ip tables.

ganesh24pal@gmail.com 11-12-2010 11:13 PM

hi i am getting error while apt-get install squid . pls find below error.

apt-get install squid
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package squid

kaushalpatel1982 11-13-2010 03:01 AM

do you have access of internet on this PC/server ?

This error shows that your PC/server is not able to connect repository server. Please check your repo configuration in this case

ganesh24pal@gmail.com 11-13-2010 03:21 AM

solved
 
Hi Kaushal,

Thanks for your reply.My linux box have full internet access.

It's problem with ubuntu update.

I had run this command #apt-get update

after thet it also installed squid using below command

#apt-get install squid.

pvkatti 11-13-2010 06:43 AM

Install Squid on Ubuntu
 
Quote:

Originally Posted by ganesh24pal@gmail.com (Post 4157362)
HI all,

I want to install squid proxy and iptables in ubuntu 10.10 and ip tables.


use wget <url>
or use
yum install squid
it will install all the squid related rpms

f14f21_2 11-14-2010 03:48 PM

hey
-> put your ubuntu's cd into cdrom drive
Quote:

#umount /dev/cdrom {you may get a warning, no problem }
#mount /dev/cdrom /mnt -r
#apt-cdrom add -d /mnt
#apt-get install squid
if there was any problem give us contents of /etc/apt/sources
hamed


All times are GMT -5. The time now is 11:36 PM.