Jump to content

Proxy Problem


Peter_APIIT
 Share

Recommended Posts

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

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

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...