==============================================================
 Installation of SQUID and authentication with Windows NT 4.0
==============================================================
Environment:  Compaq  AlphaStation 200 4/166
              Tru64 Version 5.1  patchkit 3
              (formerly OSF/1,  Digital Unix)
1.    SQUID installation
1.1      Perl
1.2      SQUID
2.    smb_auth installation
2.1      gcc (GNU c-compiler)
2.2      samba
2.3      smb_auth
3.    Additional remarks
Part 1:  Installation of SQUID
==============================
Installation of SQUID needs perl.
1.1  Installation of Perl
-------------------------
check if perl exists:
     which perl
If perl exists:  Proceed with 1.2
Download perl 5.6.1:   http://www.perl.com/CPAN/src
   cd  /usr/local
   tar -xvf perl_stable.tar
   cd /usr/local/perl-5.6.1
   rm -f config.sh Policy.sh
   sh Configure -de
   make
   make test
   make install
Remarks: On my old ALPHA server running DU 4.0E perl did not
         exist. Maybe you can find it on the Digital Unix CD,
         but I preferred downloading it form the web.
1.2  Installation of SQUID
--------------------------
Because of bad experience with Squid 2.4 S1 I installed 
Squid 2.3 S4.
Download from http://www.squid-cache.org/Versions/v2/2.4/
   cd  /usr/local
   tar -xvf squid-2.3.STABLE4-src.tar
   cd /usr/local/squid-2.3.STABLE4
   ./configure --prefix=/usr/local/squid
   make all
   make install
Configuration of SQUID:  Edit  /usr/local/squid/etc/squid.conf
- http_port 8080
- cache_peer xxx.yyy.zzz parent 8080 3130 default no-query
- Definition of the intranet
- later: configuration of smb_auth  (see below)
Part 2:  Installation of smb_auth
=================================
smb_auth needs gcc (GNU c-compiler) and samba
Important website:
  http://www.hacom.nl/~richard/software/smb_auth.html
2.1 Installation of gcc
-----------------------
Some time ago I installed gcc on Tru64 4.0E (!!) without
problems:
      cd  /usr/local
      tar -xvf gcc-2.95.2.tar
      # configure
      mkdir /usr/local/gcc   
      cd /usr/local/gcc
      /usr/local/gcc-2.95.2/configure
      # Build
      make bootstrap    (runs several hours)
      # install
      make install      (because of errors I had to copy some files
                         manually)
Unfortunatly with Tru64 5.1 there were lot of problems. I was not
able to install gcc (see below).
Help came from Thomas Leitner who has several compiled versions of gcc:
     ftp://ftp.radar.tugraz.at/pub/alpha
Download  gcc-2.95.2.tar
cd  /usr/local
tar -xvf gcc-2.95.2.tar
Include "/usr/local/bin" into the path of the user who will install
smb_auth.
2.2 Installation of samba
-------------------------
smb_auth needs samba installed. It is not necassary that
samba is running.
Some years ago I had installed samba on my old ALPHA-server.
From there I copied the compiled software to /usr/local/samba.
2.3 Installation of smb_auth
----------------------------
Download from
   http://www.hacom.nl/~richard/software/smb_auth.html
   cd  /usr/local
   tar -xvf smb_auth-0.05.tar
   cd /usr/local/smb_auth-0.05
   make
   cp smb_auth /usr/local/bin/.
   cp smb_auth.sh /usr/local/bin/.
   make install
Configure smb_auth with SQUID:
File /usr/local/squid/etc/squid.conf:
authenticate_program /usr/local/bin/smb_auth -W bogegod -U gont-pdc01
Create the directory for caching  (cache_dir in squid.conf)
Initialize this directory:    squid -z
Part 3. Additional remarks
==========================
I was not able to compile gcc on Tru64 5.1. I tried to install
gcc 3.0, but again there were problems during the make commands.
Somme errors during "make bootstrap":
ld:
Unresolved:
ASM_FILE_START
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
> (cd po && make all)
> Make: line too long.  Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop
Some suggestions from the newsgroups:
-  Install gnu make (I did not test this)
-  use gcc-3.00  (did not work for me)
-  use gcc-3.01  (I did not test this)
Another interesting url is 
www.ornl.gov/its/archives/mailing-lists/tru64-unix-managers/2000/05/msg00260
.htm  (I did not test this)
Or Mr. Klaus Schneider:
http://www.thewrittenword.com/free/downloads/
or via ftp:
ftp://ftp.thewrittenword.com/packages/free/by-architecture/
Installation manual:
ftp://ftp.thewrittenword.com/packages/
regards
Werner Rost, KIR
Mannesmann Boge GmbH
Tel.: 0228/3825 420
Fax:  0228/3825 398
---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!
**
Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------
Received on Sun Sep 02 2001 - 07:48:30 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:01 MST