Installatie Logfile

Installatie Logfile

Installatie, of: de rariteiten die ik tegenkwam

in /usr/local/etc/apache
staat de httpd.conf

less httpd.conf

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/local/www/data"

Die verwijst nu naar:
data -> /usr/local/share/doc/apache


Werkt niet.  ====== Let op ======== apache.conf editten !!

apache.conf
DocumentRoot "/usr/local/www/public"

mv data public in /usr/local/www
Na kill -HUP 147 [=PIDapache] werkt ie


CGI aangezet voor alle gebruikers op alle plekken (?)

1) ============ het pad naar cgi-bin gezet


#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
<IfModule mod_alias.c>
 
    #
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL.  So "/icons" isn't aliased in this
    # example, only "/icons/"..
    #
    Alias /icons/ "/usr/local/share/apache/icons/"

    <Directory "/usr/local/share/apache/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    
     
    #
    # ScriptAlias: This controls which directories contain server scripts. 
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the realname directory are treated as applications and
    # run by the server when requested rather than as documents sent to the clie
    # The same rules about trailing "/" apply to ScriptAlias directives as to
    # Alias.
    #
    ScriptAlias /cgi-bin/ "/usr/local/www/public/cgi-bin/"

    #
    # "/usr/local/share/apache/cgi-bin" should be changed to whatever your Scrip
    # CGI directory exists, if you have that configured.
    #
    <Directory "/usr/local/www/public/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
     
</IfModule>
# End of aliases.

2) ========================== AddHandler, To use CGI scripts:

    # If you want to use server side includes, or CGI outside
    # ScriptAliased directories, uncomment the following lines.
    #
    # To use CGI scripts:
    #
    AddHandler cgi-script .cgi


3) ========================== "ExecCGI" toegevoegd:

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/www/public">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews ExecCGI
     
#    
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#    
    AllowOverride None
     
#    
# Controls who can get stuff from this server.
#    
    Order allow,deny
    Allow from all
</Directory>

4) ========================== "permissies user-dirs" toegevoegd:

# permissies voor de user-directories:

<Directory "/home/*/WWW">        

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews ExecCGI

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all
</Directory>


=====  Mon, 17 Jul 2000 01:41:41 =====

Pine-installatie lukt niet, door scriptfout in de Pine-installer:

/stand/sysinstall draait in Terminal P0, [su root] die zegt daar:

"Package rsaref-2.0 read successfully - waiting for pkg_add(1)"

Dat zegt ie al een tijdje dus ik keek met w:

 4:22AM  up  1:15, 3 users, load averages: 1.03, 0.92, 0.55
USER             TTY      FROM              LOGIN@  IDLE WHAT
root             v0       -                 3:10AM     - -bash (bash)
ini              p0       192.168.1.77      3:18AM    11 /usr/bin/dialog --yesn
ini              p1       192.168.1.77      3:24AM     - w

Hij wacht dus op input... 
Als ik kijk watvoorprecies, met ps -auxw
USER     PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root     415 99.0  3.3  1240  936  p0  R+    4:11AM  21:37.22
/usr/bin/dialog --yesno Do you accept the terms of the RSAREF license
agreement and wish to proceed with the build? 8 40

Dat dialoog-venster verschijnt echter niet in p0.
Ranx heeft net even een progje geschreven dat aantoont dat 
de FreeBSDmachine wel dialoogboxjes draait.

/usr/bin/dialog bestaat:
bash-2.03$ ls -la dialog
-r-xr-xr-x  1 root  wheel  8224 Mar 20 22:29 dialog

Over naar handmatige download + tar van de Pine-packages.

Lukt ook niet. Installatie blijft vastlopen.
Pine lijkt geinstalleerd te zijn, maar stopt met een lib-fout.
Ik niet meer weten.

======= Na uitblijven van antwoord in de newsgroup
=======  heb ik de Pine-installatie opgegeven :(
Alls is nu geinstalleerd, PHP, Apache, Joe etc etc, 
behalve Pine en PostgreSQL.


14 sept - 22 september
=======

Ranx heeft vegelijkbare problemen met de PostgreSQLdatabase
-installatie als ik had met Pine.

Hij heeft veel installers moeten herschrijven; dat is heel vervelend,
want betekent: Zonder C-programmeur in de zaal kun je PostgreSQL 
*niet* installeren onder FreeBSD. Ranx heeft geprobeerd de source naar
FreeBSD te sturen, maar... Hun mailserver was down.
Amateuristisch.


21 September:
====== Let op ======== 
Databaseverbinding werkt niet.  Nu moeten we weer 
==== de httpd.conf === editten !
Mijn idee: kopieer beide bestanden maar telkens, zodat ze identiek zijn.

27 september:
adduser

28 September:
====== Let op ========

We hebben de ruimteverslindende portscollection weggegooid..
Vanaf nu geen installatie meer vanaf de 'voorgebakken' softwarecollectie.

170423  .
su-2.03# pwd
/usr/ports
su-2.03# cd ..
su-2.03# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     49583    24802    20815    54%    /
/dev/ad0s1f    669687   470789   145324    76%    /usr
/dev/ad0s1e     19815     1668    16562     9%    /var
procfs              4        4        0   100%    /proc
su-2.03# rm -r ports
su-2.03# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     49583    24802    20815    54%    /
/dev/ad0s1f    669687   300368   315745    49%    /usr
/dev/ad0s1e     19815     1677    16553     9%    /var
procfs              4        4        0   100%    /proc

Er is nu ruim 315 Mb beschikbaar op /usr

29 september
====== Let op ========

irc werkt niet, is wel geinstalleerd:

[knip]

/etc/resolv.conf
/etc/hosts
su-2.03# less /etc/host.conf

[knip]

Hmm, irc werkt nog steeds niet:






# uname -a FreeBSD 192.168.1.59 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000 root@monster.cdrom.com:/usr/src/sys/compile/GENERIC i386



© Jolie GMIA 2000, 2001