1
nachenko
running XOOPS into a USB drive
  • 2007/3/22 18:55

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Yes, I've done it, using XAMPP

Now the problem is how to make it "fool-proof" for a customer.

This was the solution:
Create a batch file that starts XAMPP, then XOOPS website, then closes XAMPP.
Create a shortcut and an icon to the batch file.

Easy, isn't it? Well, the problem is that I can't pause batch file execucion. So it starts XAMPP, opens my website using Internet Explorer and then, inmediately, closes XAMPP although we didn't close the IExplore window.

My problem is how could i make batch file wait for IExplore to be closed to shutdown XAMPP.

this code doesn't work:
Quote:
start /wait /max /b iexplore.exe http://localhost/garcialazaro


and using a PAUSE command sucks.

What can I do?

2
BlueStocking
Re: running XOOPS into a USB drive

Has some good bat file info that may be applicable in your case.

http://12ghosts.com/ghosts/wincontrol.htm
Go down to the Batch Commands area.

BlueStocking

RE: what can I do... See and Share where ever possible.
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

3
xguide
Re: running XOOPS into a USB drive
  • 2007/3/22 21:05

  • xguide

  • Just popping in

  • Posts: 43

  • Since: 2005/5/11


I was searching a solution to test XOOPS at work in my free time and i found many useful tools to run apache, MySQL and XOOPS from a virtual drive USB in this forum thread.
It runs perfect on USB key.

Good luck.

4
Bassman
Re: running XOOPS into a USB drive
  • 2007/3/22 21:36

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


You could also try Webserver On A Stickwhich I have XOOPS running perfectly on.

5
nachenko
Re: running XOOPS into a USB drive
  • 2007/3/23 9:43

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Thanks for your reply.

The problem I have now is that I can't run this into a CD, cause Apache requires to write logs to run.

I've been looking how to deactivate "log writing" in Apache. I bet this is the only thing that prevents me from running XOOPS into a CD.

6
skenow
Re: running XOOPS into a USB drive
  • 2007/3/23 12:55

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


You will also need to write to the database...even logging in writes to the db.

7
nachenko
Re: running XOOPS into a USB drive
  • 2007/3/26 17:14

  • nachenko

  • Quite a regular

  • Posts: 356

  • Since: 2005/1/18


Writing to the database is not needed, it will cause PHP warnings and errors, but the site will work. Anyway, this is not real problem, I can say to the customer: "ey, this is a demo CD, for this stuff to work you need a real server, not a CD".

The real problem is the Apache server.

Come on, people, help me and I'll release a "ready to run in a CD XOOPS distribution" for everyone.

8
skenow
Re: running XOOPS into a USB drive
  • 2007/3/26 18:03

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Try commenting out the log module in /xampp/apache/conf/httpd.conf

#LoadModule log_config_module modules/mod_log_config.so

9
BlueStocking
Re: running XOOPS into a USB drive

Redirect the log writing to the customers harddrive ????

Hey, what do I know... you did say cd, so I assume they are using a computer and runing the cd.

Just a thought based on extremely limited knowledge.
Good Luck

BlueStocking
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

10
Bassman
Re: running XOOPS into a USB drive
  • 2007/3/26 21:58

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Check the link I gave above, they have a version that runs off CD.

Login

Who's Online

480 user(s) are online (386 user(s) are browsing Support Forums)


Members: 0


Guests: 480


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits