Kumoro Wisnu Wibowo wrote:
Op ma 19 dec 2005 @08:51:04 +0700, schreef Setia Budi:
[EMAIL PROTECTED] boedy]# rpm -aq|grep ntlmaps
ntlmaps-0.9.9.6-1
Setelah install ntlmaps, langkah berikutnya apa?
Maaf kalo banyak tanya, maklum aja masih newbie :p
[EMAIL PROTECTED] boedy]# ntlmaps
NTLM authorization Proxy Server v0.9.9.6
Copyright (C) 2001-2005 by Dmitry Rozmanov, Darryl Dixon, and others.
Now listening at setia.budi.eng on port 5865
saya sudah coba menjalankan ntlmaps, tapi tidak terjadi apa2.
Salam,
Ya memang nggak akan terjadi apa2 kalau tidak dikonfigur sebelumnya :D
File server.cfgnya sudah diedit belum? Sesuaikan dengan konfigurasi
proxynya.
Karena fungsi ntlmaps ini sebagai proxy. maka environment proxy kita
harus diset utk mengarah ke port 5865:
export http_proxy=http://localhost:5865
baru jalankan yum -y update.
-kum
yum.conf nya jadi:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
#gpgcheck=1
gpgcheck=0
export http_proxy=http://localhost:5865
#proxy=http://amos.eng.maranatha.edu:8080
#proxy_username=usernameku
#proxy_password=passwordku
Tapi begitu saya jalankan yum -y update, hasilnya:
[EMAIL PROTECTED] /etc]# yum -y update
Setting up Update Process
Setting up repositories
http://fedora.cbn.net.id/4/i386/os/repodata/repomd.xml: [Errno 4]
IOError: HTTP Error 403: Via:1.1 PSALMS
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1762
Trying other mirror.
Cannot open/read repomd.xml file for repository: base
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
Berikut ini isi file server.cfg nya:
[GENERAL]
LISTEN_PORT:5865
PARENT_PROXY:amos.eng.maranatha.edu
PARENT_PROXY_PORT:8080
PARENT_PROXY_TIMEOUT:15
ALLOW_EXTERNAL_CLIENTS:0
FRIENDLY_IPS:
HOSTS_TO_BYPASS_PARENT_PROXY:
DIRECT_CONNECT_IF_POSSIBLE:0
URL_LOG:0
MAX_CONNECTION_BACKLOG:5
[CLIENT_HEADER]
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword,
application/vnd.ms-powerpoint, */*
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
[NTLM_AUTH]
NT_HOSTNAME:
NT_DOMAIN:eng.maranatha.edu
USER:userku
PASSWORD:passwordku
LM_PART:1
NT_PART:0
NTLM_FLAGS: 06820000
NTLM_TO_BASIC:0
[DEBUG]
DEBUG:0
BIN_DEBUG:0
SCR_DEBUG:0
AUTH_DEBUG:0
Apakah ada yang salah?
Salam,
--
*Setia Budi* <http://boedy.blogspot.com>
Lecturer
IT Maranatha <http://www.itmaranatha.org>
No Limits, No Boundaries
Jl. Prof. drg. Suria Sumantri No. 65
Bandung 40164
Indonesia
--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis