| McMasterOscar? is packaged for installation on a freshly-built RedHatLinux? server. This is not an appealing arrangement for happy FreeBSD SystemAdministrators?. Fortunately, with a little work, McMasterOscar? can be installed on a pre-existing FreeBSD server. Here's how: | ||||||||
| Line: 27 to 27 | ||||||||
|---|---|---|---|---|---|---|---|---|
Step 2: Install OSCAR | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 47 to 47 | ||||||||
| cp oscar_security.properties ~www/ # Note: not in /root! | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
tar zxf oscar_mcmaster1.0-tomcat-4.0.6.tar.gz | ||||||||
| McMasterOscar? is packaged for installation on a freshly-built RedHatLinux? server. This is not an appealing arrangement for happy FreeBSD SystemAdministrators?. Fortunately, with a little work, McMasterOscar? can be installed on a pre-existing FreeBSD server. Here's how: | ||||||||||
| Line: 74 to 74 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| # Copy the web application cd /tmp/oscar_mcmaster | ||||||||||
| Changed: | ||||||||||
| < < |
mv oscar_mcmaster /tmp/oscar_mcmaster/usr/local/OscarDocument | |||||||||
| > > |
mv oscar_mcmaster /usr/local/jakarta-tomcat4.0/webapps/ | |||||||||
| ||||||||||
| Line: 107 to 107 | ||||||||||
Finally, load http://hostname:8083/oscar_mcmaster/ to see if the application is running. You should now be able to log in to a fully-functional McMasterOscar? installation. Enjoy!
| ||||||||||
| Changed: | ||||||||||
| < < |
-- KirkStrauser - 14 Jan 2003 | |||||||||
| > > |
-- KirkStrauser - 11 Mar 2003 | |||||||||
| ||||||||||
| McMasterOscar? is packaged for installation on a freshly-built RedHatLinux? server. This is not an appealing arrangement for happy FreeBSD SystemAdministrators?. Fortunately, with a little work, McMasterOscar? can be installed on a pre-existing FreeBSD server. Here's how: | ||||||||||
| Line: 60 to 60 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
# Copy the Java classes cd usr/local/j2sdk1.4.0_01/jre/lib | ||||||||||
| Changed: | ||||||||||
| < < |
cp ext/mm.mysql-2.0.4-bin.jar /usr/local/jdk1.3.1/jre/lib/ext/ cp ext/servlet.jar /usr/local/jdk1.3.1/jre/lib/ext/ cp i386/libjsig.so /usr/local/jdk1.3.1/jre/lib/i386/ cd /usr/local/jdk1.3.1/jre/lib/i386/ mkdir client mkdir server cd client ln -s ../libjsig.so cd ../server ln -s ../libjsig.so | |||||||||
| > > |
cp ext/mm.mysql-2.0.4-bin.jar /usr/local/jakarta-tomcat4.0/shared/lib cp i386/libjsig.so /usr/local/jakarta-tomcat4.0/shared/lib | |||||||||
| # Copy the Jakarta/Tomcat configuration file cd /tmp/oscar_mcmaster/usr/local/jakarta-tomcat-4.0.6/conf | ||||||||||
| Line: 115 to 107 | ||||||||||
Finally, load http://hostname:8083/oscar_mcmaster/ to see if the application is running. You should now be able to log in to a fully-functional McMasterOscar? installation. Enjoy!
| ||||||||||
| Changed: | ||||||||||
| < < |
-- KirkStrauser - 13 Jan 2003 | |||||||||
| > > |
-- KirkStrauser - 14 Jan 2003 | |||||||||
| ||||||||||
| Line: 1 to 1 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||||
| > > |
McMasterOscar? is packaged for installation on a freshly-built RedHatLinux? server. This is not an appealing arrangement for happy FreeBSD SystemAdministrators?.
Fortunately, with a little work, McMasterOscar? can be installed on a pre-existing FreeBSD server. Here's how:
Step 0: A few commentsBefore you start, you should know that this isn't quite as bad as it seems. The official installation method is to change to the root filesystem of a RedHatLinux? i386 server and extract a lot of files. This manual process is very similar, except that you're installing most of the software via FreeBSD's own packaging system, and only copying over a relatively small amount of data into your running system. The instructions look a bit complicated, but a simply copy-and-paste into a shell will probably suffice for most people. Please be aware of what you're doing before you do it, though. Certain files on your system will be overwritten or highly modified, including your Jakarta/Tomcat server configuration (if you already have one) and your MySQL? databases. Include the standard disclaimer here: The following steps worked for me, but they may cause damage or monetary loss for you. Take them at your own risk.Step 1: Prepare the serverMcMasterOscar? runs under the JakartaTomcat? WebServer?. You'll need to install JakartaTomcat?, MySQL?, a Java JDK, and a MySQL?/JDBC class. This step assumes that you've already installed the PortUpgrade package:portinstall www/jakarta-tomcat4 databases/mysql323-server databases/mysql-jdbc-mm java/jdk13Note: Although I may be wrong, it seems as if any Java jar files that you wish to use under JakartaTomcat? have to be installed in that applications's own lib directory. If you know this to be incorrect, please fix these instructions. Otherwise: cp /usr/local/share/java/classes/* /usr/local/jakarta-tomcat4.0/common/lib/ Step 2: Install OSCAR
cd /tmp/oscar_mcmaster
cp oscar_mcmaster.properties /root
cp oscar_security.properties ~www/ # Note: not in /root!
tar zxf oscar_mcmaster1.0-tomcat-4.0.6.tar.gz tar zxf oscar_mcmaster1.0-java-1.4.0_01.tar.gz tar zxf oscar_mcmaster1.0-OscarDocument.tar.gz tar xzf oscar_mcmaster1.0-webapps.tar.gz
# Copy the Java classes cd usr/local/j2sdk1.4.0_01/jre/lib cp ext/mm.mysql-2.0.4-bin.jar /usr/local/jdk1.3.1/jre/lib/ext/ cp ext/servlet.jar /usr/local/jdk1.3.1/jre/lib/ext/ cp i386/libjsig.so /usr/local/jdk1.3.1/jre/lib/i386/ cd /usr/local/jdk1.3.1/jre/lib/i386/ mkdir client mkdir server cd client ln -s ../libjsig.so cd ../server ln -s ../libjsig.so # Copy the Jakarta/Tomcat configuration file cd /tmp/oscar_mcmaster/usr/local/jakarta-tomcat-4.0.6/conf cp server.xml /usr/local/jakarta-tomcat4.0/conf/ # Copy the documentation mkdir -p /usr/local/oscar/document cd /tmp/oscar_mcmaster/usr/local/OscarDocument mv * /usr/local/oscar/document/ # Copy the web application cd /tmp/oscar_mcmaster mv oscar_mcmaster /tmp/oscar_mcmaster/usr/local/OscarDocument
cd /tmp/oscar_mcmaster mysql < oscar_mcmaster_table.dump mysql < oscar_mcmaster_data.dump mysql -e "flush privileges"
HOME_DIR: /usr/local/oscar/document/oscar_mcmaster/billing/download/ DOCUMENT_DIR: /usr/local/oscar/document/oscar_mcmaster/document/
TestingStart Jakarta/Tomcat with the following command:/usr/local/etc/rc.d/020.jakarta-tomcat4.sh startLook at /usr/local/jakarta-tomcat4.0/logs/* to see if any errors need to be fixed.
Finally, load http://hostname:8083/oscar_mcmaster/ to see if the application is running. You should now be able to log in to a fully-functional McMasterOscar? installation. Enjoy!
-- KirkStrauser - 13 Jan 2003
| |||||||||