Re: Entirely off-topic harddisk questions

From: #2pencil (number2pencil_at_gmail.com)
Date: 06/28/05


Date: 28 Jun 2005 12:15:47 -0700

Point your apache.conf to the ram drive as your html document
directory, then dump anything you want to share onto the ram drive.

For my setup, /var/www/html/docs/ is the root directory for Apache. So
inside there I have a website directory. & assuming your ram drive
properly set up...

ln -s /var/www/html/docs/website/ /dev/shm/website/

creates a symbolic link. Now /dev/shm/website is a directory on my ram
drive. So run

cp /var/www/html/docs/website.bakup/ /dev/shm/website/

& your've updated your ram drive. On a shutdown,

cp -uR /dev/shm/website/ /var/www/html/docs/website/

The uR will only copy files that have changed, so again, less overhead.
 I'm not 100% sure of the syntax, because I'm not on that machine right
now. So double check stuff before putting it into use. You can
contact me for specifics to my setup. mrgore (shift 2) akroncdnr (dot)
com & I'll help ya get through this best I can.



Relevant Pages

  • Re: Windows Server 2003 and Domain name - DNS issues
    ... but I think that would dump the user accounts. ... look up "set up DNS" in the MS support knowledge ... setup the permissioning and shares properly. ...
    (microsoft.public.windows.server.general)
  • Web site requests password
    ... Windows Server 2003 IIS6 ... When I try to go to a domain I setup in IIS I am prompted ... I can go to the html document that is the ...
    (microsoft.public.inetserver.iis)
  • 5.3-RELEASE with nge crashes regularly under load
    ... I tried enabling giant and setting the sysctl neither helped. ... Unfortunately didn't have time to setup and get a dump of ...
    (freebsd-hackers)
  • Re: Unable to install URGE
    ... can you try running the setup from the cmd prompt with logging params: ... this should dump everything into urge.log.. ...
    (microsoft.public.windowsmedia.player)
  • Cant view form results
    ... I have a form that is setup to dump the results into the _private/email_survey.csv file. ... http://www....email_survey.csv info Excel but it says it can't find the file. ... It does ask me for the password info to log on which I put in but it ...
    (microsoft.public.frontpage.client)