The University of Vermont

7/13/2007

CMAP server notes

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:35 pm
(filed under category Projects=> Systems and Servers)

It is pretty simple — still, it might be worth me writing some documentation.

And too simple, for some: I see two folders there from non-UVM “contributors.” Apparently, I had the default permissions set such that “Everyone” could create folders. I have rescinded that permission, so you may want to try creating yet another new test folder, and then deleting it, just to be sure.

I’m trying to decide how best to manage this server in a sustainable, scalable fashion. Options:

o current method: use a single “admin” username and password (uvcmaps:spamcmvu), and hand that out to designated departmental coordinators to manage their own stuff

o create admin accounts (jbellum, jhenry, pbierman, etc.) for designated departmental coordinators to manage their own stuff

o Appoint a CMAP server czar (me or some TechCat or Account Services) who keeps a single “admin” username and password and creates folders for designated departmental coordinators to manage their own stuff

Current method is simplest, but has a small security concern in that too many people have super powers. If, say, designated departmental coordinator Pat Q Taireristt is fired and leaves UVM in a Huff, Pat could maliciously delete everyones folders unless we change the password and tell all the other designated departmental coordinators.

Creating admin accounts for all designated departmental coordinators allows us to delete Pat’s account, and everyone else is unaffected

But having either one shared or multiple personal accounts, all with root access to the UVM Public CMAP server, could create a “too many cooks” situation: should Academic Computing and the Center for Teaching and Learning each have folders at the top level, or should ACS and CTL have folders inside a top level folder called “Learning Resources?”

Thoughts? Does it really matter?

comments ?


9/7/2006

I need a new Image

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:30 am
(filed under category My pitiful Life)

Like this, for instance…

I also need a link to a movie here, too.

comments ?


8/2/2006

movable type and goLive

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:20 pm
(filed under category Projects=> Blogs)

a client asks asked

1) Is it possible to link Adobe GoLive directly into the moveable type blogging system? There evidently is an API in golive, but I haven’t been able to find the correct URL to link to the pages within the blog.  It would make sense, for a security standpoint, to require people to only use the MT tools since root access to the actual blog content directories via FTP could be a bad idea.  If so, oh well.. However, being able to use a more advanced content creation system would be nice rather than just cutting and pasting.
Nope. Yes, it would require shell access or sftp access (pretty much the same, since sftp implies ssh implies shell access) or ftp access or webdav access — none of which are currently offered to the typical user on blog.uvm.edu.  So, your only option right now is to cut and paste, as suggested here

    http://www.adobe.com/support/techdocs/332078.html



2) I suspect that I should be able to use cold fusion tags to draw info out of a MySQL database to populate some web pages we’re delivering.  Is this possible and, if so, is it using the same old instructions that we used a year or so ago when I was creating some PHP scripts and using MySQL to populate.  I’m building a Google Gadget that I’d like to populate with an RSS feed or using a database call so having access would be useful.  I have some of the old info you sent me somewhere and if that’s still good I’d find it and use it to create the needed databases.

Cold fusion — well, probably not, since those would require blog.uvm.edu to support ColdFusion, and it does not. But PHP — sure. here’s a link to some examples

http://www.scriptygoddess.com/archives/2002/10/14/individual-entry-and-trackback/

- - - - - -

Sometimes this stuff is easier to do with Wordpress as a blog tool. Pros: it lives in your own public_html folder, which you can access in multiple way, you can hack the php code left and right and write your own functions. Cons: you need to install and configure it yourself, code hacks and modifications require php programming skills.

comments ?


Script Help

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:18 pm
(filed under category Projects=> Scripts - Programming)

Script problems and solutions discussed with Sean Dempsey.

comments ?


Davis Construction cam movie

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:18 pm
(filed under category Projects=> Video and Audio)

Camera 1 knocked out by lightning, zapped all configuration parameters. Reset them, camera back in action.

comments ?


8/1/2006

video for nursing

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:14 pm
(filed under category Projects=> Video and Audio)

on July 24, Kurt Schaberg wrote :

Hello,
My name is Kurt Schaberg and I’m helping Dr. Patricia O’Brien set up her WebCT course web page.  I was told to contact you directly regarding putting video on the web page.  Dr. O’Brien would like to have all of the videos available online for the students to access as a resource.  They are all in windows media video (.wmv) format.  These videos are a series of lectures and informational videos and total just under 9GB in total combined size.

How do you think it would be best to get these accessible on WebCT?

The "video server" has about 84 gigabytes free space, so we have plenty of room

UVM NetID "kschaber" has been authorized to create folders and upload files to the video server

There is already a "nursing" folder on the video server, created around Nov 2001 for a previous exercise in on-line nursing videos; however, you may wish to create your own. Call it anything you like, but we prefer names  that help us track down the owners/purpose

You can use the "Secure Shell File Transfer" program to upload your videos (see http://www.uvm.edu/cit/ssh/?Page=./SFTP_Win_SSH.html) to upload your videos (unless, of course, you are using a Macintosh). Connect to zoo.uvm.edu using your kschaber NetID and associated password.

Once connected, go to the "Operation" menu, select "Go To Folder", and go to folder

    /:/video/realserver/videos/

Look for and open the nursing folder, or chose "New Folder" from the Operation. Now find your video on the left-hand window, and drag them to the right-hand window. Also, change the permissions as described in the above referenced URL

If you get stuck, any of the "Dr is In" staff ought to be able to help.

Once the videos are uploaded, you need to create links to them in you WebCT pages. For a given video, say

    "Nurse2be-OBClinical1Reflections493.wmv"

in the folder, say

    "nursing",

the URL (address, link) for the video is then

    http://real.uvm.edu:554/asxgen/nursing/Nurse2be-OBClinical1Reflections493.wmv

comments ?


Davis Construction cam troubleshooting

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:10 pm
(filed under category Projects=> Video and Audio)

Camera hit by lightning, tried to find image that showed strike

comments ?


LDAP and Mediawiki

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:08 pm
(filed under category Projects=> Scripts - Programming)

Finished LDAP-mediawiki configuration, taught it how to authorize based on LDAP ou, added documentation o same to wiki project log

comments ?


Script Help

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:07 pm
(filed under category Projects=> Scripts - Programming)

Script consulting for Rob@CTL (perl and php issues)

comments ?


7/31/2006

Davis Construction cam

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:44 am
(filed under category Projects=> Video and Audio)

Configured image, FTP, admin settings for newest Davis center construction cam location. Reinstated cron scripts to archive images, etc. Added link from Davis Center cameras page

comments ?


Mediawiki for LRG

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:33 am
(filed under category Projects=> Systems and Servers)

Did a little research on wikis, to see if anything looked much better (criteruim being does it allow people to quickly create "personal" wikis on the fly like wikispaces does). Didn’t find anything notably better.

So, Installed Mediawiki 1.68 on LRG website

Then worked on making it use  LDAP  for authentication.

comments ?


7/14/2006

Progress reports

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:48 am
(filed under category Projects=> Overhead)

another hour or two wasted over the week filling in these blanks

comments ?


mySQL Mentoring

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:48 am
(filed under category Projects=> mentoring)

Got deeper into queries, using both raw SQL and MS Access. MS Access is not fully SQL compliant!!

comments ?


7/13/2006

Web Team mentoring

Wesley Wright (Grand High Wizard of Blogsalot) @ 5:11 pm
(filed under category Projects=> mentoring)

Worked with Numa and printers and httpd.cong and IP issues

comments ?


iTunes sharing

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:45 am
(filed under category Projects=> Video and Audio)

discussed how sharing iTunes at UVM works with karl from library. He’s wondering about narrowcasting podcasts using iTunes sharing technoogy

comments ?


Digital Signage

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:45 am
(filed under category Projects=> Video and Audio)

Web research, watch some Scala promo videos, talked to Kate to clarify options

comments ?


Checked out Athletics screens

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:41 am
(filed under category Projects=> Video and Audio)

Checked out the big screens in teh recreation center i the athletic complex. Apparenly

  • they contract with outside venor (Matt was going to send me the name, but didn’t)
  • Vendor pays them
  • vendor inserts ads and other content
  • they send content to vendor
  • I’m not sure what the ratio of UVM to Vendor content is
  • all comes down voa ethernet to black box behind the screen
comments ?


7/12/2006

Script help

Wesley Wright (Grand High Wizard of Blogsalot) @ 5:11 pm
(filed under category Projects=> Scripts - Programming)

client asked

Hey all… I need to run a shell script on Zoo via PHP, and was
trying to use the PHP exec() function.

The script will manipulate some images using ImageMagick. Everything
works fine when calling the script from the command-line. I’m having
trouble, however, running it via PHP

The .sh file is owend by the account that the PHP file resides under.

What should the path to the shell script be (relative vs. absolute),
and will I encounter any issues trying to use exec() once my path is
correct?

Best to use absolute path, so there is no ambiguity

Best to use alias of your script’s folder. In general, any users alias is formed using the convention

    /users/x/y/xyzzzzz

where x is the first letter of the use’rs NetID, y is the second letter of the user’s NetID, and xyzzzzz is the user’s netid.

here’s an example. No issues for me running this in my home directory

#!/usr/local/bin/php
<?
passthru("/users/w/a/waw/mysqltest.pl");
$dog=exec("/usr/bin/date");
print "dog=$dog";
?>

except he meant to run it via http://www.uvm.edu/

I sugegsted he try cgi.uvm.edu — no SAFE mode there

comments ?


Script questions

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:53 pm
(filed under category Projects=> Scripts - Programming)

Student asked about 

I need to find the "virtual directory value relative from the root" of
my website.

Long reply:

‘"virtual directory value relative from the root" of my website. ‘ may have several interpretations, and may have different values and meanings depending upon the context and the server environment.

For example, you could use the PHP Magic Constant

    __FILE__

as in

    $virtual_directory_value = dirname( __FILE__ );

Which, in the case say of this script

    http://www.uvm.edu/~waw/archives/dog.php

has the value of

    /…/uvm.edu/fs/rack1e/u/staff/waw/public_html/archives

Which isn’t so much the "virtual directory value relative from the root" as it is the absolute path of the directory containing the script. And, on www.uvm.edu, at least, a value that may change, since sometimes CIT Technical Resources groups shifts users from one physical disk (rack1e above) to another without warning — so beware if you ever hard-code this value in a script as opposed to obtaining it from the Magic Constant.

In PHP, tried the command line
$HTTP_SERVER_VARS[’DOCUMENT_ROOT’] but this is not my virtual root, but
something else entirely (it is /racka5/http-data/htdocs). For example,

We have the following other $HTTP_SERVER_VARS

    [SCRIPT_FILENAME] => /users/w/a/waw/public_html/archives/dog.php
    [SCRIPT_URI] => http://www.uvm.edu/~waw/archives/dog.php
    [SCRIPT_URL] => /~waw/archives/dog.php
    [REQUEST_URI] => /~waw/archives/dog.php
    [SCRIPT_NAME] => /~waw/archives/dog.php


$HTTP_SERVER_VARS[SCRIPT_FILENAME] is a preferred alternative to Magic Constant __FILE__, as it returns a fixed alias for the absolute path name of the script. In general, any users alias is formed using the convention

    /users/x/y/xyzzzzz

where x is the first letter of the use’rs NetID, y is the second letter of the user’s NetID, and xyzzzzz is the user’s netid. But again, such conventions are only needed if and when you have to hard-code such a value in a script (usually when you are using some package like older versions of phpBB or wordpress or mediawiki that cat figure it out themselves).

I expect SCRIPT_FILENAME is what you think you are looking for. Then

$spaw_dir = '/spaw/';
$spaw_root = $HTTP_SERVER_VARS['DOCUMENT_ROOT'].$spaw_dir;

Becomes

$spaw_dir = '/spaw/';
$spaw_root = dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME ']).$spaw_dir;

But now let’s put that in the context of the uvmsnow site. If your spaw code lives here

    /users/u/v/uvmsnow/public_html/spaw

and the code you want to have USE spaw is here

    /users/u/v/uvmsnow/public_html/admin

Then the code in, say, admin/demo.php that reads

    $spaw_dir = '/spaw/';
    $spaw_root = dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME ']).$spaw_dir;
    include $spaw_root.'spaw_control.class.php';

tries to include "/users/u/v/uvmsnow/public_html/admin/spaw/"

But that ain’t right — unless you put a copy of /spaw/ in admin. But then ,if you want to use spew from code in another folder, you have to do the same thing. Messy.

So, you could do something funky like this

    $spaw_dir = '/spaw/';    $spaw_root = $HTTP_SERVER_VARS[’SCRIPT_FILENAME’];    $i=0;    while (!file_exists($spaw_root.$spaw_dir) && $i < 10) {        $i++;        $spaw_root =dirname($spaw_root);    }    $spaw_root.=$spaw_dir;    include $spaw_root.’spaw_control.class.php’;

The $i helps to keep the loop in check in case of typos, missing folders, etc.

comments ?


Art meets RadMind

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:48 pm
(filed under category Projects=> Video Labs)

Finished art lab. It all works like a charm - so far. Talked to Bill, he said Nancy and Tom would be trying stuff out soon. Dunno if all the printers will work, and there is the issue of yet another scanner, I think but all should be solvable. Still need to configure the loadsets a bit for ART and CMD differences.

comments ?


7/11/2006

Digital Signage in Cook Commons

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:42 pm
(filed under category Projects=> Video and Audio)

Took a look at the big screen near cook commons

  • no one sure who installed it
  • has a locked case for the DVD player, but o one knows where the key is
  • has no room for a PC. Maybe a mac Mini or laptop
  • has no network connection
  • manual?
  • remote control
  • Can’t see the connections on the back
  • Can’t get to the connections on the back

Discussed with Kate and RogerW (limited) possibilites for providing it with programming. Need to investigate more software/hardware options

comments ?


Art meets RadMind

Wesley Wright (Grand High Wizard of Blogsalot) @ 4:15 pm
(filed under category Projects=> Video Labs)

Started instaling, testing, using RadMind to configure Art Lab. Testing highly focused on Macromedia Dreamweaver, which consistently fails in the CMD. Son of a gun, it works great in Williams 414, on G4s, Gs, and dual G5s. So what’s wrong with the library? I dunno. Maybe I should reimage those machines. Anyway, brought  a few machines up to base level, then starting installing Art-specific stuff for their scanners, and Macroedia Director, too.

comments ?


Web Team mentoring

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:10 pm
(filed under category Projects=> mentoring)

Keeping watch on the interns

comments ?


7/10/2006

Web Team mentoring

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:09 pm
(filed under category Projects=> mentoring)

Mentoring the programming interns

comments ?


WikiWinkWu

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:06 pm
(filed under category Projects=> Scripts - Programming)

Colleauge had troubles amking wiki go. I found solutions (bad version of LocalSettings.php).

comments ?


LMS Search

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:05 pm
(filed under category Projects=> Overhead)

Meeting to discuss new LMS proposal.

comments ?


Digital Signage

Wesley Wright (Grand High Wizard of Blogsalot) @ 12:03 pm
(filed under category Projects=> Video and Audio)

reviewed my own notes to prepare for Kate’s questions:

We have decided to hook up the flat screen TV in Billings to a computer. This medium will be used to "practice" for when we open the Davis Center. We spoke briefly about the various options for getting this going, and I was wondering if you might be willing to walk me through the process? I am going to call physical plant to see about getting a computer linked to the screen, but still need to line up what program, etc I will use.
comments ?


CMD Issues

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:58 am
(filed under category Projects=> Video Labs)

Will reported that Microsoft apps were acting up again (the corrupt font issue). Fixed, for the moment.

comments ?


7/7/2006

Landscape Change Project: thinking

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:56 am
(filed under category Projects=> Landscape Change)

Finally finished the Dublic Core mappings document. See here (well, if you have the right NetID!).

comments ?


mySQL Mentoring

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:54 am
(filed under category Projects=> mentoring)

Introduce Carol to the software downloads database, cocoamysql, some simple relational queries.

comments ?


BlogHack

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:49 am
(filed under category Projects=> Blogs)

Defined problem of using MEOW with our MovableType installation

comments ?


7/6/2006

mac issues

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:48 am
(filed under category Projects=> MacOS Support)

Assisted ccaldwel with copule of outstanding Mac configuration issues

comments ?


Oracle Calendar

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:47 am
(filed under category Projects=> MacOS Support)

helped FCS debug issues with latest Oracle Calndar clients for MacBook Pro

comments ?


debateoneworld

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:45 am
(filed under category Projects=> Web Publishing Support)

met with tuna and ilan to bang out final revisions./instructions/methods for debateoneworld.org web site.

comments ?


7/5/2006

Progress reports

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:45 am
(filed under category Projects=> Overhead)

remembering what I did last week.

comments ?


ffmpegx

Wesley Wright (Grand High Wizard of Blogsalot) @ 11:38 am
(filed under category Projects=> Video and Audio)

Spent some considerable time researching the question for asnider, can we convert .rm file to .mp4 files directly, with MacOSX Answer appears to be yes, with ffmpegx and some caveats (no intel mac support, as of yet).

comments ?


6/30/2006

Landscape Change Project: thinking

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:29 am
(filed under category Projects=> Landscape Change)

More LCP => Dublin core mapping. Not as easy as it looks/

comments ?


CMD/Radmind/MacroMedia

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:24 am
(filed under category Projects=> Video Labs)

Propagated new RadMdn image to CMS Macs 1,2, and 3. And stupid Macormedia Studio MX 2004 applications still do not launch, same symptoms as before.  Frustrating. Removed the Macromedia overlay from the configuration, which should have effectively uninstalled all of Studio, reinstalled from CD — no luck. Still think it is a boot record disk issue, but can’t yet prove. Currently unresolved: do we get Dreamweaver 8? Hard to justify. Need to see what happens when I move to Art Lab.

comments ?


6/29/2006

Landscape Change Project: thinking

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:23 am
(filed under category Projects=> Landscape Change)

Continued research on LCP => Dublin Core mappings

comments ?


CMD/Radmind

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:21 am
(filed under category Projects=> Video Labs)

Completed configuration. Reconditioned lab eMac with more emmeory, removed OpenFirmware password, updated with RadMind image, started firt update of real lab machines with CMD Mac 4.

comments ?


Web Team meeting

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:20 am
(filed under category Projects=> Overhead)

Met with team member to discuss future support issues

comments ?


Web Team/LRG meeting with M. Stoner

Wesley Wright (Grand High Wizard of Blogsalot) @ 10:18 am
(filed under category Projects=> Overhead)

Select members of LRG met with consultant M. Stoner to discuss UVM web

comments ?


The Left Hand Column