Page 1 of 1

Installation as a proxy server

Posted: 2012/05/03 02:54:30
by suzanne2003
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.

Re: Installation as a proxy server

Posted: 2012/05/03 03:45:04
by sarmed
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 [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=31206]https://www.centos.org/modules/newbb/viewtopic.php?topic_id=31206[/url]


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. ^_^

Installation as a proxy server

Posted: 2012/05/04 20:29:39
by pschaff
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]rpm -q squid[/code]If it returns a version number the package is installed. Then do [code]rpm -ql squid | grep etc[/code]to see the configuration files in the package. To learn more try[code]man squid[/code]

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 [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.6]CentOS 5.6 Release Notes[/url] Section 4 for details on the recommended update procedure, and [url=http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.8]CentOS 5.8 Release Notes[/url] for other information.

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