Simple Howto install Zeus 4.3r3 FreeBSD5 to FreeBSD 6.1r
FreeBSD/Linux/Server April 13th, 2007 2,234 Views0day 出了zeus web server的新版本,但是没有for FreeBSD 6的。以前我写过把for FREEBSD4的安装到FREEBSD5上面的指南,现在发现那个办法真是又傻又差,不过当时我想到过现在的这个方法,这次只是把它验证一下而已,成功啦!它就是:COMPAT 大法!
下面是全部文字,没图片,也不需要,因为是CLI,字即是图。
接下来看字!
Simple Howto install Zeus 4.3r3 FreeBSD5 to FreeBSD 6.1r
britney# ls
Zeus_43r3_FreeBSD5.tgz license.key
britney# tar xzvf Zeus_43r3_FreeBSD5.tgz
x Zeus_43r3_FreeBSD5/
x Zeus_43r3_FreeBSD5/web-4.3r3.tar
x Zeus_43r3_FreeBSD5/webadmin_lang_en_gb-4.3r3.tar
x Zeus_43r3_FreeBSD5/webadmin-4.3r3.tar
x Zeus_43r3_FreeBSD5/zperl-4.3r3.tar
x Zeus_43r3_FreeBSD5/webadmin_lang_en_us-4.3r3.tar
x Zeus_43r3_FreeBSD5/LICENSE
x Zeus_43r3_FreeBSD5/.install/
x Zeus_43r3_FreeBSD5/.install/boot-zeus
x Zeus_43r3_FreeBSD5/.install/md5
x Zeus_43r3_FreeBSD5/.install/zperl_install.pm
x Zeus_43r3_FreeBSD5/.install/systemcheck.sh
x Zeus_43r3_FreeBSD5/.install/keygen
x Zeus_43r3_FreeBSD5/.install/portcheck
x Zeus_43r3_FreeBSD5/.install/httpclient
x Zeus_43r3_FreeBSD5/.install/Zeus/
x Zeus_43r3_FreeBSD5/.install/Zeus/ZInstall/
x Zeus_43r3_FreeBSD5/.install/Zeus/ZInstall/ZInstall.pm
x Zeus_43r3_FreeBSD5/.install/Zeus/ZInstall/Common.pm
x Zeus_43r3_FreeBSD5/.install/Zeus/ZInstall/Cluster.pm
x Zeus_43r3_FreeBSD5/.install/Zeus/ZInstall/Products.pm
x Zeus_43r3_FreeBSD5/.install/admin_install.pm
x Zeus_43r3_FreeBSD5/.install/snmp_install.pm
x Zeus_43r3_FreeBSD5/.install/webadmin_install.pm
x Zeus_43r3_FreeBSD5/.install/web_install.pm
x Zeus_43r3_FreeBSD5/MANIFEST
x Zeus_43r3_FreeBSD5/snmp-4.3r3.tar
x Zeus_43r3_FreeBSD5/common/
x Zeus_43r3_FreeBSD5/common/start-zeus
x Zeus_43r3_FreeBSD5/common/perl/
x Zeus_43r3_FreeBSD5/common/perl/miniperl
x Zeus_43r3_FreeBSD5/common/perl/ZeusOS.pm
x Zeus_43r3_FreeBSD5/common/stop-zeus
x Zeus_43r3_FreeBSD5/common/rc.d/
x Zeus_43r3_FreeBSD5/common/restart-zeus
x Zeus_43r3_FreeBSD5/zinstall
x Zeus_43r3_FreeBSD5/admin-4.3r3.tar
britney# ls
Zeus_43r3_FreeBSD5 Zeus_43r3_FreeBSD5.tgz license.key
britney# cd Zeus_43r3_FreeBSD5
britney# ls
.install admin-4.3r3.tar web-4.3r3.tar webadmin_lang_en_us-4.3r3.tar
LICENSE common webadmin-4.3r3.tar zinstall
MANIFEST snmp-4.3r3.tar webadmin_lang_en_gb-4.3r3.tar zperl-4.3r3.tar
britney# ./zinstall
You are installing a package built for FreeBSD5
WARNING: This package is built for a FreeBSD version 5 box
(file extension "FreeBSD5").
This machines requires a package for a FreeBSD version 6 box
(file extension "FreeBSD6").
It is recommended that you download and install the correct binary.
However, it is possible that you may be able to install this file.
Do you want to continue installing this file? Y/N [N]: n
FATAL: Incorrect binary file downloaded.
britney# ./zinstall
You are installing a package built for FreeBSD5
WARNING: This package is built for a FreeBSD version 5 box
(file extension "FreeBSD5").
This machines requires a package for a FreeBSD version 6 box
(file extension "FreeBSD6").
It is recommended that you download and install the correct binary.
However, it is possible that you may be able to install this file.
Do you want to continue installing this file? Y/N [N]: Y
/usr/libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by "miniperl"
britney# cd /usr/ports/misc/
britney# cd compat5x/
britney# ls
Makefile distinfo files pkg-descr pkg-plist
britney# cat pkg-descr
This package allows you to install the compat5x libraries on your
system, so you can use legacy binaries that depend on them.
Usage example:
.include
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
britney# make install clean;rehash
===> Vulnerability check disabled, database not found
=> compat5x-i386-5.4.0.8.tar.bz2 doesn’t seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lesi/compat5x/.
compat5x-i386-5.4.0.8.tar.bz2 16% of 2649 kB 7946 Bps 04m47s
===> Checking if misc/compat5x already installed
/bin/mkdir -p /usr/local/lib/compat
(cd /usr/ports/misc/compat5x/work/compat5x && install -o root -g wheel -m 444 *.so.* /usr/local/lib/compat)
******************************************************
To enable the ldconfig of these libraries at boot time
you need to add compat5x_enable="yes" to either
/etc/rc.conf.local or /etc/rc.conf
******************************************************
===> Installing rc.d startup script(s)
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib/compat
===> Registering installation for compat5x-i386-5.4.0.8_5
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/lib/compat/libwrap.so.3
/usr/local/lib/compat/libsmb.so.1
/usr/local/lib/compat/libkrb5.so.7
/usr/local/lib/compat/libfetch.so.3
/usr/local/lib/compat/libcrypto.so.3
/usr/local/lib/compat/libmilter.so.2
/usr/local/lib/compat/libnetgraph.so.1
/usr/local/lib/compat/libradius.so.1
/usr/local/lib/compat/libssh.so.2
/usr/local/lib/compat/libroken.so.7
/usr/local/lib/compat/libftpio.so.5
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/000.compat5x
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type ‘make deinstall’
to deinstall the port if this is a concern.
===> Cleaning for localedata-5.4
===> Cleaning for compat5x-i386-5.4.0.8_5
britney# pwd
/usr/ports/misc/compat5x
britney# cd /home/horus/soft/Zeus_43r3_FreeBSD5
britney# ./zinstall
You are installing a package built for FreeBSD5
WARNING: This package is built for a FreeBSD version 5 box
(file extension "FreeBSD5").
This machines requires a package for a FreeBSD version 6 box
(file extension "FreeBSD6").
It is recommended that you download and install the correct binary.
However, it is possible that you may be able to install this file.
Do you want to continue installing this file? Y/N [N]:
Do you want to continue installing this file? Y/N [N]: Y
Zeus Installation Program - Copyright (C) Zeus Technology 2006
Checking distribution … all packages match checksums
ZEUS TECHNOLOGY LIMITED
End User Licence Agreement
for Zeus Web Server, ZISP CGI Toolkit and Zeus Mass Hosting Edition
software
This end user licence agreement (“Agreement”) is made between Zeus
Technology Limited, a company registered in England and Wales under number
03085230, whose registered office is at The Jeffreys Building, Cowley Road,
Cambridge CB4 0WS (fax: +44 (1223) 525100) ("Zeus") and the end user
(“You”).
Before using the Software, You must read the terms below. By using the
Software and/or Documentation You agree to be and will be bound by the
terms of this Agreement. If You do not agree to be so bound You should
not use the Software and/or Documentation and You should destroy or delete
the Software and/or Documentation from all storage media in your
possession or control.
1 Right To Use Software
1.1 Grant of Licence. In consideration of the obligations entered
into by You under this Agreement, Zeus hereby grants You a
non-exclusive, non-transferable licence (“Licence”) to use
this software product (“Software”) and related written
materials in either printed text or machine readable form
(“Documentation”) in accordance with the terms and conditions
of this Agreement.
1.2 This Licence is personal to You and is granted for your benefit
only.
1.3 Permitted use. You may, subject to the following terms and
conditions:
1.3.1 only use the Software on a CPU for which You have a valid
licence key and only for the duration of the validity of such
licence key;
1.3.2 copy the Software for backup and archival purposes only and
make one copy of the Documentation only, provided that the
original and each copy is kept in your possession.
./LICENSE 12%
11.8 Entire Agreement. This Agreement is subject to, and does not
amend vary or replace, any Zeus standard software licence
agreement which you may have entered into. This Agreement is
subject to any Zeus evaluation licence agreement which You may
have entered into, but such evaluation licence agreement shall
be replaced on its expiry by the terms and conditions of this
Agreement. Save as set out above, this Agreement contains the
whole agreement and understanding between the parties with
respect to the subject matter hereof and supersedes and
replaces all prior or contemporaneous written, electronic or
oral agreements, representations or understandings between
them. The parties confirm that they have not entered into this
Agreement on the basis of any representation that is not
expressly incorporated into this Agreement. However, nothing
in this Agreement purports to exclude liability for any
fraudulent misrepresentation or act.
11.9 Amendments. No amendment, waiver or variation of this Agreement
shall be binding on the parties unless set out in writing,
expressed to amend or vary this Agreement and signed by an
authorised representative of each of the parties.
11.10 Contracts (Rights of Third Parties) Act. The Contracts (Rights
of Third Parties) Act 1999 shall not apply to this Agreement
and nothing in this Agreement confers or purports to confer on
any third party any benefit or any right to enforce any term of
this Agreement or operates to give any third party the right to
enforce any term of this Agreement except as expressly provided
herein.
Enter `accept’ if you accept this license agreement:
Where should the product be installed? [/usr/local/zeus]:
Installation options:
1. Full install of both admin server & web server
2. Stand-alone install of admin server
3. Clustered install of web server
H. Help
Choose installation option [1]:
Enter `accept’ if you accept this license agreement: accept
Where should the product be installed? [/usr/local/zeus]:
Installation options:
1. Full install of both admin server & web server
2. Stand-alone install of admin server
3. Clustered install of web server
H. Help
Choose installation option [1]:
This product requires a valid license key file to run.
It will run in unlicensed mode if none is supplied.
Enter the key filename, or leave blank for unlicensed mode: /home/horus/soft/license.key
Installing web-4.3r3…
Installing snmp-4.3r3…
Installing admin-4.3r3…
Installing zperl-4.3r3…
Installing webadmin-4.3r3…
Installing webadmin_lang_en_gb-4.3r3…
Installing webadmin_lang_en_us-4.3r3…
Please choose a password for the admin server:
Enter `accept’ if you accept this license agreement: accept
Where should the product be installed? [/usr/local/zeus]:
Installation options:
1. Full install of both admin server & web server
2. Stand-alone install of admin server
3. Clustered install of web server
H. Help
Choose installation option [1]:
This product requires a valid license key file to run.
It will run in unlicensed mode if none is supplied.
Enter the key filename, or leave blank for unlicensed mode: /home/horus/soft/license.key
Installing web-4.3r3…
Installing snmp-4.3r3…
Installing admin-4.3r3…
Installing zperl-4.3r3…
Installing webadmin-4.3r3…
Installing webadmin_lang_en_gb-4.3r3…
Installing webadmin_lang_en_us-4.3r3…
Please choose a password for the admin server:
Re-enter:
Enable SNMP support for web package? Y/N [N]: Y
SNMP uses ‘community strings’ to restrict access to authorized
users. You should set a community string, just as you would
set a password, so that unauthorized users cannot read the
SNMP counters. Use the string ‘public’ to allow public access.
Please choose a community string for the SNMP server:
Re-enter:
**
** SNMP support has been enabled for your Zeus Web Server.
** SNMP is active on port 161
**
Choose a UNIX user for the web process to run as [nobody]:
Choose a UNIX group for the web process to run as [nobody]:
Zeus can be installed so that it automatically runs
when this computer boots.
Would you like Zeus to start at boot time? Y/N [Y]:
Start script copied to /usr/local/etc/rc.d/zeus.sh
Installation successful, starting Zeus product software
Initializing Zeus Application Framework. (C) 1995 - 2006 Zeus Technology Limited
Zeus Admin Server - (C) 1995 - 2006 Zeus Technology Limited
Version 4.3r3, Build date: Jun 16 2006 08:42:11
INFO:Zeus Admin Server started
INFO:Version 4.3r3, Build date: Jun 16 2006 08:42:11
INFO:http://britney.HORUS.CN:9090
INFO:Zeus Admin Server running
Zeus Web Server - (C) 1995 - 2006 Zeus Technology Limited
Version 4.3r3, Build date: Jun 16 2006 08:52:39
Process permissions set to nobody:nobody
INFO:sendfile: native driver
INFO:Zeus Web Server started
INFO:Version 4.3r3, Build date: Jun 16 2006 08:52:39
INFO:Zeus Web Server running
Zeus SNMP Agent — Master (C) 1995-2006 Zeus Technology Ltd
Portions (C) Carnegie Mellon University
INFO:Zeus SNMP Agent — Master listening on port 161
INFO:Zeus SNMP Agent — Master running
**
** To configure the Zeus Web Server, please go to
** http://britney.HORUS.CN:9090/
** and login as ‘admin’ with your admin password.
**
Please read the release notes (/usr/local/zeus/webadmin/RELEASE_NOTES)
britney#

Recent Comments