LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2012, 12:55 AM   #1
puti1
LQ Newbie
 
Registered: Mar 2012
Posts: 14

Rep: Reputation: Disabled
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.
 
Old 03-06-2012, 01:41 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

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,

Eric
 
1 members found this post helpful.
Old 03-06-2012, 01:55 PM   #3
puti1
LQ Newbie
 
Registered: Mar 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-06-2012, 07:20 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 ?

Quote:
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 "
https://www.google.com/search?num=30...oq=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
http://www.squid-cache.org/
1) get it
http://www.squid-cache.org/Download/
2)
build the source and install
http://wiki.squid-cache.org/SquidFaq/CompilingSquid
the fedora instructions
http://wiki.squid-cache.org/SquidFaq...ngSquid#Fedora

--- or use YUM ------
http://wiki.squid-cache.org/SquidFaq...ackages#Fedora
Code:
su -
yum install squid
 
1 members found this post helpful.
Old 03-07-2012, 12:09 AM   #5
puti1
LQ Newbie
 
Registered: Mar 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Sir i tried already
su -
yum install squid
it says
ackage 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....
 
Old 03-07-2012, 12:51 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

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,

Eric
 
1 members found this post helpful.
Old 03-08-2012, 11:32 PM   #7
puti1
LQ Newbie
 
Registered: Mar 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Sir

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 192.168.0.0/24
-http_port 192.168.0.19:8888
-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 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # 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 192.168.0.0/24


# Squid normally listen to port 3128
"http_port 192.168.0.19:8888"


# 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"

Last edited by puti1; 03-10-2012 at 12:41 AM.
 
Old 03-16-2012, 02:47 PM   #8
puti1
LQ Newbie
 
Registered: Mar 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thumbs up problem solved

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

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

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

# 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)
visible_hostname lan03.server.world

# 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
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to install and configure squid proxy in Ubuntu 10.10 ganesh24pal@gmail.com Linux - Server 5 11-14-2010 03:48 PM
How to install and configure Squid Analysis Report Generator perfectpol7 Linux - Server 9 02-25-2009 05:33 AM
How do you configure squid as a transparent proxy in Fedora Core 9? kas2008 Linux - Networking 6 08-18-2008 09:12 AM
how to install and configure SQUID server jurial Linux - Newbie 1 04-03-2007 07:09 AM
How to install and configure squid in Red Hat 9 Salihou Linux - Networking 5 02-05-2004 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration