Installation as a proxy server

Issues related to software problems.
Posts: 1
Joined: 2012/05/03 02:40:42

Installation as a proxy server

Postby suzanne2003 » 2012/05/03 02:54:30

I have a client that has CentOS 5.5 installed on a proxy server. This was administered by a person that was in house. I was only doing domain administration. That person up and quit one day and never returned. I told them that I would try to help with what they need but am by no means a linux person. The installation is on a windows 2008 virtual server. I have a couple of questions. First - they do not have the username and password. Is there a utility that I can run to get these? Second, is there any info regarding using this as a proxy server to prohibit access to certain web sites? They would like to restrict access to certain web sites and this was how it was done in the past, but I have no idea.

Posts: 16
Joined: 2012/03/27 04:26:42
Location: Dhaka, Bangladesh

Re: Installation as a proxy server

Postby sarmed » 2012/05/03 03:45:04

Since you don't have the username and password, your only options are either to deploy a new server or reset the root password (At your own risk). If you want to reset the password, you could check this

Deploying a proxy server is really easy, and there are a lot of tutorials for it. Tuning it to suit your requirements becomes easier with experience. But since you have little experience with Linux, installing "webmin" in your server may be a viable option. Webmin provides a web based GUI which can be used for administering a Linux Server.

Hope it helps. ^_^

Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Installation as a proxy server

Postby pschaff » 2012/05/04 20:29:39

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

Once you have reset the root password you should be able to access the proxy server configuration. The most likely proxy package is squid. Try

Code: Select all

rpm -q squid
If it returns a version number the package is installed. Then do

Code: Select all

rpm -ql squid | grep etc
to see the configuration files in the package. To learn more try

Code: Select all

man squid

You should also update to the current release 5.8. 5.5 is seriously obsolete and has numerous known bugs and security issues that have been fixed in subsequent updates. Obsolete releases are not supported, nor is it advisable to be running them. See the CentOS 5.6 Release Notes Section 4 for details on the recommended update procedure, and CentOS 5.8 Release Notes for other information.

If more help is needed please provide more information as explained in the recommended reading.