Re: 2 new messages in 2 topics - digest

4 views
Skip to first unread message

Andreas Kollegger

unread,
Apr 8, 2008, 9:46:06 AM4/8/08
to Greg Wolff, shared-...@googlegroups.com
I apparently needed to create a published release that includes the
build. I've done that now, and everyone should be able to access it
here: http://www.rpath.org/rbuilder/project/sharedrecords/

Apologies for the confusion,
Andreas

On Apr 8, 2008, at 9:38 AM, Greg Wolff wrote:

> Andy,
>
> I get a permission denied at that rpath URL. Do I need to sign in to
> rpath to see the build?
>
> -Greg
>
> On Tue, Apr 8, 2008 at 2:56 AM, shared-records group
> <nor...@googlegroups.com> wrote:
>>
>> shared-records
>> http://groups.google.com/group/shared-records?hl=en
>>
>> shared-...@googlegroups.com
>>
>> Today's topics:
>>
>> * installing on ubuntu - 1 messages, 1 author
>> http://groups.google.com/group/shared-records/browse_thread/thread/5888d54860948ece?hl=en
>> * VMware image - 1 messages, 1 author
>> http://groups.google.com/group/shared-records/browse_thread/thread/24d029d490e33d5b?hl=en
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> TOPIC: installing on ubuntu
>> http://groups.google.com/group/shared-records/browse_thread/thread/5888d54860948ece?hl=en
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> == 1 of 1 ==
>> Date: Thurs, Mar 20 2008 12:24 pm
>> From: Ed Schwartz
>>
>>
>>
>> I'd like to share my experience installing Shared Records software
>> running under Ubuntu 7.10 in a VMware VM in case it's useful to
>> others. I haven't heavily tested my new install yet, but things seem
>> to be working fine. Andreas: thanks for your help!
>>
>> -- Ed
>>
>> A) One-time only setup when starting from a basic Ubuntu system
>> running
>> in a VM.
>>
>> - Install packages.
>>
>> apt-get install sun-java6-jre sun-java6-javadb libcommons-codec-java
>> tomcat5.5 tomcat5.5-webapps tomcat5.5-admin
>>
>> I also like: apt-show-versions, xterm, lynx, curl, liblog4j1.2-
>> java-gcj
>>
>> - Make sun Java be the default Java.
>>
>> # /usr/sbin/update-alternatives --config java
>> Select /usr/lib/jvm/java-6-sun/jre/bin/java
>>
>> Note that tomcat logging is disabled with gij (GNU interpreter for
>> Java bytecode) which is undesirable.
>>
>> - Make a link for .jar with org/apache/commons/codec/binary/Base64:
>>
>> # cd /usr/share/tomcat5.5/common/lib
>> # ln -s /usr/share/java/commons-codec.jar
>>
>> - I wanted to have the separate virtual disk for a local data store.
>> Halt VM and make second disk using VMware workstation (64 GB scsi,
>> one file,
>> not-preallocated,
>> SharedRecordsOnUbuntu1/SharedRecordsOnUbuntu1.vmd).
>>
>> Boot VM and create partition table and filesystem for new disk.
>>
>> # mkdir /disk2
>> # fdisk /dev/sdb
>> # mke2fs -j /dev/sdb1
>>
>> Reboot so udev finds new disk. Look in /var/log/udev for UUID. Edit
>> /etc/fstab:
>>
>> # /dev/sdb1 -- second disk for application files
>> UUID=80745db9-b679-47b0-a7a7-17d9a54039c5 /disk2 ext3
>> defaults,errors=remount-ro 0 1
>>
>> Create a /disk2/var/sra/data_store directory and "chown tomcat55
>> sra"
>> and "chown tomcat55 sra/data_store/".
>>
>> - Add a user for tomcat in /usr/share/tomcat5.5/conf/tomcat-users.xml
>>
>> <user username="wheel" password="records" roles="admin,manager"/>
>>
>> - Use manager web interface to deploy .war files for record and
>> token.
>>
>> - Edit configuration files for Shared Records servlets.
>>
>> /usr/share/tomcat5.5/webapps/records/WEB-INF/config/
>> org.sharedrecords.properties
>> and
>> /usr/share/tomcat5.5/webapps/tokens/WEB-INF/config/
>> org.sharedrecords.properties
>> to use:
>>
>> org.sharedrecords.core.FileStoreRoot=/disk2/var/sra/data_store
>> org.sharedrecords.core.RemoteURL =http://records1.local:8180/
>> records/
>>
>> where "records1.local" is replaced by the hostname
>>
>> - Create a policy file to allow servlets to work,
>> /usr/share/tomcat5.5/conf/policy.d/51sr.policy, which will be
>> automatically copied into /usr/share/tomcat5.5/conf/catalina.policy
>> when tomcat starts:
>>
>> grant codeBase "file:${catalina.base}/webapps/tokens/WEB-INF/-" {
>> permission java.security.AllPermission;
>> };
>>
>> grant codeBase "file:${catalina.base}/webapps/records/WEB-INF/-" {
>> permission java.security.AllPermission;
>> };
>>
>>
>> B) Setup that has to be done initially and each time a VM is cloned.
>>
>> - Edit /etc/udev/rules.d/70-persistent-net.rules so eth0 matches
>> correct mac address. (Typically after a clone, the old mac address
>> is associated with eth0 which can be deleted. The second listed mac
>> address is the new one that can be changed from eth1 to eth0. With
>> Ubuntu running on real hardware, this is what one would do if (and
>> only if) one installed a new ethernet card.)
>>
>> - Change hostname (/etc/hostname). Change networking if desired (e.g.
>> to use static IP) by modifying /etc/network/interfaces. Edit
>> /etc/hosts if desired.
>>
>> - Update the hostname in
>> /usr/share/tomcat5.5/webapps/records/WEB-INF/config/
>> org.sharedrecords.properties
>> and
>> /usr/share/tomcat5.5/webapps/tokens/WEB-INF/config/
>> org.sharedrecords.properties.
>>
>> C) Testing
>>
>> There should be a default tomcat page at http://HOST:8180 with
>> account
>> wheel/records. http://HOST:8180/records/ and http://HOST:8180/
>> tokens/
>> are the endpoints.
>>
>> Log files:
>>
>> tail -f /var/log/tomcat5.5/catalina.*.log # SR accesss
>> tail -f /var/log/tomcat5.5/localhost.*.log # other error msg
>>
>>
>>
>>
>>
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> TOPIC: VMware image
>> http://groups.google.com/group/shared-records/browse_thread/thread/24d029d490e33d5b?hl=en
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> == 1 of 1 ==
>> Date: Mon, Apr 7 2008 5:54 am
>> From: Andreas Kollegger
>>
>>
>> Hello all,
>> Inspired by Ed's work at building up an Ubuntu install with Shared
>> Records, I've packaged a distribution using the the rPath just-
>> enough-
>> OS linux distribution. The first draft is available as a VMware image
>> from here: http://www.rpath.org/rbuilder/project/sharedrecords/
>> builds .
>>
>> Noteworthy about this approach is that the same spec used to produce
>> the VMware image can produce virtual machine images for other
>> platforms: including QEMU, Xen, and Amazon EC2. At the moment, there
>> are two administrator interfaces: the usual Tomcat interface at :
>> 8080,
>> and the rPath Appliance Agent interface at :8003. Because the image
>> is
>> meant to be used as an appliance, the tomcat interface will be
>> deprecated in favor of a custom plugin to the rPath interface. rPath
>> manages system services, reboots, software updates and backups.
>>
>> The initial root password is blank. The administrator credentials for
>> tomcat are admin/2 . For rPath use admin/password .
>>
>> This distribution includes the 1.0 release of the records, tokens,
>> and
>> annotations interfaces, at the usual endpoints (/records, /tokens, /
>> annotations).
>>
>> Give it a try and let me know what you think.
>>
>> Cheers,
>> Andreas
>>
>>
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>>
>> You received this message because you are subscribed to the Google
>> Groups "shared-records"
>> group.
>>
>> To post to this group, send email to shared-
>> rec...@googlegroups.com or visit http://groups.google.com/group/shared-records?hl=en
>>
>> To unsubscribe from this group, send email to shared-record...@googlegroups.com
>>
>> To change the way you get mail from this group, visit:
>> http://groups.google.com/group/shared-records/subscribe?hl=en
>>
>> To report abuse, send email explaining the problem to ab...@googlegroups.com
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> Google Groups: http://groups.google.com?hl=en
>>
>
>
>
> --
> UnaMesa.org - IT Infrastructure for learning and caring

Reply all
Reply to author
Forward
0 new messages