-   Linux - Newbie (
-   -   how to download/install/configure squid on fedora 14 (

puti1 03-06-2012 01:55 AM

how to download/install/configure squid on fedora 14
i am currently trembled today,
i am asking for help. Please help me with this
how to download squid, install and configure.
it's because this is our laboratory in our class
i don't have any idea it's because
our teacher teach ubuntu so i don't know on fedora.
i try but i failed.
please, any help is really appreciated.

EricTRA 03-06-2012 02:41 AM


First of all, Fedora 14 is at EOL (end of life) and you should upgrade to the latest release if you want to stay up to date. That being said, there are a lot of guides and howtos to be found on the internet. Pick one and go with that one. If you encounter problems when following a guide, that's when you turn to us for answers. The fact that your teacher is using/teaching Ubuntu doesn't mean he does not know how to use Fedora. Your teacher should be your first go to person. He's there to help you and teach you. Remember that he might also be a user on these forums.

Kind regards,


puti1 03-06-2012 02:55 PM

i am happy sir for the response.

sir here's the situation, in our lab. our teacher tolled us to install any kind of distro, so i choose fedora 14.
because, i tried installing fedora 16 but, it did not work. So i downgrade cause i think is't not compatible with the
spec of hardware. I tried asking my teacher but he only said, use "google" sir i tried a lot of research but all i see
is configuration.and the last, i see linuxquestions website. honestly I cannot start because i don't even know how to download squid. sir please help me I think your the only one who can help me.
A step by step procedure, first command on how to download squid, using terminal then install, and last configure.
Sir i'm new to Linux, and I really don't know because, Ubuntu command is different from Fedora. like (sudo apt-get squid) but in fedora (yum) i tried other TUT but i fail. Sir that's really i want to know. our end of class is very near and this is the last of our drills. Sir please, try to understand my English, cause i'm not really good with it.

sir thank you for your for your help.

John VV 03-06-2012 08:20 PM

for the time being the OLD and NEVER to be updated fedora 14 repos are still mostly on line
but seeing as it IS end of life the mirrors WILL start deleting them to make room for fedora 17

there currently is no support for 14 and in a few months there will be NO support for 15 ( 30 days after fedora 17 comes out)

as to "squid" is apache installed ?
how did you install all the needed software ?
have you read the install instructions on the squid wiki ?


A step by step procedure, first command on how to download squid, using terminal then install, and last configure.
we WILL NOT just give you a step by step for DOING YOUR HOMEWORK

we WILL point you to the instructions

a Google search for " squid linux "

MOST of the top 20 are HOW TO'S
and the TOP 1 - as in the VERY FIRST is the squid web page
1) get it
build the source and install
the fedora instructions

--- or use YUM ------

su -
yum install squid

puti1 03-07-2012 01:09 AM

Sir i tried already
su -
yum install squid
it says
:package refresh list
path error

why sir?
I will try all this stuff,
when I reboot to fedora,
you know what this is what i am talking about
because i don't know all of this command
how to install any kind of distro.
how to use basic command like :cd
mv, how to become a root user,
the ls and etc.
thank you so much for help.

any help is welcome, please....

EricTRA 03-07-2012 01:51 AM


As already indicated we will not give you step by step information. What will you learn when we provide you with all the commands to get you up and running. I don't see the logic in your choice of distro either. You know that your teacher uses Ubuntu, yet you choose an 'end of life' version of a distribution that's completely different from Ubuntu AND that's considered not to be for the 'newbies' since it's bleeding edge and prone the occasional error. In my opinion you have two options:

- Change distro to a Debian based so that you can consult with your teacher / use what he already explained
- Stick with Fedora, but upgrade to the latest and start reading and learning on your own.

There are a lot of websites dedicated to the yum package manager, you can even start with the man page for yum which will tell you a lot. You even mention that you don't know the basic commands like cd, mv, su, ls and others. So first start by reading and learning. Here are some useful links:

Rute User's Tutorial and Exposition
Basic Yum commands
Learn Linux: RPM and Yum package management

Again, don't expect us to do your homework for you or provide you with step by step information. You should start reading, learning and practicing. When you encounter some error that you cannot explain or that your teacher cannot clarify, that's when you turn to us.

Kind regards,


puti1 03-09-2012 12:32 AM


I used
yum -y install squid
and squid was downloaded and and successfully installed
thanks for all your help suggestion to use google.
i have a problem today, in configuring the squid
hers what i did,

i just add

-acl lab src
-visible_hostname group

sir i don't know what's wrong
when i restart squid
/etc/init.d/squid restart
it said ok, and ok
but when i try to test my client can't connect
"The proxy server is refusing conditions"

# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src # RFC1918 possible internal network
acl localnet src # RFC1918 possible internal network
acl localnet src # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl lab src

# Squid normally listen to port 3128

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

visible_hostname group

thanks for help

"sharing is caring"

puti1 03-16-2012 03:47 PM

problem solved
[root@lan03 ~]# yum -y install squid

[root@lan03 ~]# vi /etc/squid/squid.conf

# line 11: maike it comment all
#acl localnet src
#acl localnet src
#acl localnet src
#acl localnet src fc00::/7
#acl localnet src fe80::/10
# line 16: add ( range you allow to access )
acl lan src

# line 55: make it comment
#http_access allow localnet
http_access allow localhost
# line 57: add ( allow 'lan' above )
http_access allow lan
# And finally deny all other access to this proxy
http_access deny all

# line 62: change
http_port 8080

# add at the last line
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
request_header_access Cache-Control deny all

# add (specify hostname)

# add (hide IP address)
forwarded_for off

[root@lan03 ~]# /etc/rc.d/init.d/squid start
init_cache_dir /var/spool/squid... Starting squid: [ OK ]
[root@lan03 ~]# chkconfig squid on

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