ianw1974 Posted February 28, 2007 Share Posted February 28, 2007 I have posted this information and told you how to do it. Read back over this post and then make the changes. I told you to edit /etc/sysconfig/network and /etc/hosts. You know how to edit these files, so do it. I've given you all the information you need to set this up. Make sure it's correct before you reconfigure squid. If you've not followed these instructions, then I really can't help you anymore, sorry. Link to comment Share on other sites More sharing options...
Peter_APIIT Posted March 3, 2007 Author Share Posted March 3, 2007 Below is my /etc/sysconfig/network NETWORKING=yes GATEWAY=192.168.1.1 HOSTNAME=nicholas_tse.nicholas_tse_proxy_server nicholas_tse and /etc/hosts 127.0.0.1 nicholas_tse.nicholas_tse_proxy_server nicholas_tse I have did what you told me but still can't connect to internet through proxy server. I configuredmy browser proxy server is nicholas_tse_proxy_server. Is it have to register a domain before set up a proxy server ? Link to comment Share on other sites More sharing options...
Peter_APIIT Posted March 3, 2007 Author Share Posted March 3, 2007 I just guess just is it have to configure the /etc/squid/squid.confg ? acl somethinglike that. Link to comment Share on other sites More sharing options...
Peter_APIIT Posted March 4, 2007 Author Share Posted March 4, 2007 NETWORKING=yes GATEWAY=192.168.1.1 HOSTNAME=nicholas_tse.nicholas_tse_proxy_server nichola s_tse Above is my /etc/sysconfig/netowork configuration files. I realised that when shut down computer, it cannot shutdown the postgrel because nicholas_tse host name is not there. Your help is greatly appreciated. How to permanently change the hostname because each i shut down and restart again it display the same host name which localhost. Thanks for your help, Link to comment Share on other sites More sharing options...
ianw1974 Posted March 5, 2007 Share Posted March 5, 2007 Read my post again. Your hostname is WRONG! In /etc/sysconfig/network it should be something like: esprit.linuxsolutions.org esprit is my hostname, the linuxsolutions.org is my domain name. Just like if you had a machine at google: machine01.google.com for example. Follow the same format, so for example for you: nicholas.mydomain.com or whatever. Is that clear enough now? In /etc/hosts: 127.0.0.1 nicholas.mydomain.com nicholas read more carefully, all the information is there to help you get this solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now