enjoylife's Stuff

Home » enjoylife (6 trails)
enjoylife's Stats (public trails only):
Trails created: 80
Marks created: 1249
Views received: 101,501
Positive ratings: 1
Negative ratings:
Comments received: 3
Comments left: 0
super master (enjoylife)

enjoylife's Trails: install    (view all)

APXS is a Perl script that is created when you build the Apache web server from source. Chances are that if you are getting these errors and you obtained Apache as a binary distribution, that APXS is not configured correctly for your system. Your best bet is to get the Apache source from http://httpd.apache.org and build it yourself. Use the following for a basic build (read the Apache docs for other options):

[user@host] ~ $ cd /usr/local/src
[user@host] ~ $ gzip -dc apache_1.3.19.tar.gz|tar xvf -
[user@host] ~ $ cd apache_1.3.19
[user@host] ~ $ ./configure --prefix=/usr/local/apache \
[user@host] ~ $ --enable-module=most \
[user@host] ~ $ --enable-shared=max
[user@host] ~ $ make
[user@host] ~ $ make install

Note: The above steps assume that you downloaded the Apache source and placed it in your /usr/local/src directory.

Tags: source, user, tar, apxs, host, ...
A trail of 14 pages

A workaround for no x64 SendToOneNote Print Driver

I just got this from Bruce on the OneNote Test team:

It's not optimal, but it does work. I use it here at Microsoft on my Vista x64 machine.

  1. Install one of the many converter programs that will allow you to output images files when you “Print”. For example, I’ve played with http://www.print-driver.com/howto/msn_pdf_to_jpg.html 
  2. Open your file in the native application (ie Adobe Reader, PowerPoint, etc)
  3. Print to the new printer, outputting to TIFF (multipage color)(the defaults for the example program above work just fine)
  4. Boot OneNote
  5. Insert | Picture and choose the TIFF image file

Done! You can now take notes over your inserted images. I should note that we won’t OCR the images (it uses the same print driver that doesn’t install under x64), so you won’t be able to search for words in the images or copy–and-paste their content. You will be able to take notes over them, view them, and so on.

Bruce

As David wrote we are aware of this problem and there will be no fix for OneNote 2007 and we plan to address this in the next version of OneNote.  I just wanted to share this with everyone!

Tags: won’t, images, print, onenote, sendtoonenote, ...
A trail of 25 pages

This page describes how to setup your development environment to compile/deploy AppFuse or StrutsResume from the command line. After setting this up, you might want to checkout HowTo Run Ant in Eclipse. This is how I currently have things setup and what I advise clients to use when we use AppFuse as a baseline for webapp development.

Table of Contents

  • [1] Download - links to download the JDK, J2EE, Tomcat, Ant and MySQL
  • [2] Install - detailed instructions on where to extract/install all of the above packages
  • [3] Configure - how to configure your environment variables
  • [4] Additional Tips - other tools I recommend using

Download [#1]

Tags: strutsresume, ant, install, baseline, jdk, ...
A trail of 46 pages

Yum is usually already installed if you're running Fedora Core. In case you are using Red Hat Enterprise Linux or an older Red Hat Linux distribution. You can find Yum at: http://dag.wieers.com/packages/yum/

The configuration of Yum is inside the rpmforge-release package. You need to install it yourself.

If you've done that, the rest is simple. Upgrade your system by doing:

yum update

You can add new software by typing:

yum install

Or update installed software:

yum update

Or search for software in the local repository meta-data:

yum search

Or simply list all available software:

yum list available

From time to time you may want to save some diskspace:

yum clean

Tags: yum, update, software, installed, time, ...
A trail of 1 page

sudo apt-get install openssh-server

*Remember: You can open a terminal by pressing Alt+F2, typing gnome-terminal and pressing enter

Tags: openssh, apt, server, install, terminal, ...
A trail of 93 pages

I love the Drupal CMS. One of my favorite features of Drupal is the ability to do a multisite install. This site and my other blog, i <3 stella, are hosted on the same box, using the same Drupal install. Several sites can share one codebase. Updates are easily rolled out to every site simultaneously. Overall, it's a wonderful idea. But I have some problems with the implementation...

The standard way to set up a multisite install is to point each of the domain names at the Drupal install folder and let Drupal sort out which domain each request is coming from. It does a good job, too. But this method introduces some complications. For example, any content uploaded to site a is accessible from site b. A user that visits http://site1.com/myimage.jpg will find the same image as she finds at http://site2.com/myimage.jpg. Websites can't have domain specific .htaccess or robots.txt files either, which might hurt search engine optimization of individual sites.

An interesting side effect of this is if you want to install something in a subdirectory of your site, for example a WordPress blog at http://site1.com/blog, that exact same WordPress blog will exist in its full glory at http://site2.com/blog...

Another, and perhaps more grave, problem is that all that stands between the interweb and your very own personal settings is an .htaccess file. Install scripts, includes, site configurations and database passwords are in web accessible directories, and that is never a good thing.

We'll look at one solution to these problems.

I assume here that you are using Linux hosting, that you have shell access, and that you have at least a passing acquaintance with symlinks. If you're looking for a webhost that meets these requirements, check out 1and1 shared hosting. I've been happy with them, and all of their packages above $9.99/mo will do what you need.

Microsoft/IIS guys, you can't do a symlink. You're looking for something called a junction... good luck with that.

Tags: install, http, jpg, htaccess, multisite, ...
A trail of 29 pages