squid på ubuntu 8.04
hej
jeg får denne besked
niels@ubuntu:~$ sudo /etc/init.d/squid restart
* Restarting Squid HTTP proxy squid * Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted
[fail]
niels@ubuntu:~$
min squid.conf ser sådan ud
acl LAN src 10.0.0.3-10.0.0.255
http_access allow LAN
hvad gør jeg forkert jeg har fulgt dette link http://www.linux-support.dk/?id=5
mvh Niels
jeg får denne besked
niels@ubuntu:~$ sudo /etc/init.d/squid restart
* Restarting Squid HTTP proxy squid * Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted
[fail]
niels@ubuntu:~$
min squid.conf ser sådan ud
acl LAN src 10.0.0.3-10.0.0.255
http_access allow LAN
hvad gør jeg forkert jeg har fulgt dette link http://www.linux-support.dk/?id=5
mvh Niels
Kommentarer2
Bare skriv
visible_hostname
visible_hostname ubuntu
I squid.conf
(du skal nok erstatte ubuntu med et andet hostname, hvis du har opsat noget dns til at pege på serveren).
et skridt længere
http_port 8888
visible_hostname ubuntu
acl LAN src 10.0.0.3/32
http_access allow LAN
men når jeg indtaster 10.0.0.3:8888
i en browser
så kommer denne fejl, for selve serveren og klienter
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://start.ubuntu.com/8.04/
The following error was encountered:
* Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is webmaster.