Page 1 of 1

XAMPP

Posted: 09 May 2011, 18:53
by Wijnand
Are there plans to support a XAMPP-lzm-module? I want to make a live HTML-presentation on a DVD.
Regards...
Wijnand

Re: XAMPP

Posted: 09 May 2011, 19:25
by Hamza
You need compile it from source. I can't find it on the Slack repo.

Re: XAMPP

Posted: 26 Dec 2011, 20:44
by TheDoctor
Wijnand wrote:Are there plans to support a XAMPP-lzm-module? I want to make a live HTML-presentation on a DVD.
I have plans to package and release an ejabberd .xzm module but have one more module that has to be built before I can get to ejabberd.

Re: XAMPP

Posted: 10 Jan 2012, 17:46
by Wijnand
I'm not so familiar with the jargon, what do you meen with: an ejabberd .xzm module? Do you think that I can use this module for my application?

Thanks and regards.

Posted after 18 minutes 8 seconds:
Is there a tutorial how a .xzm module works? Can you use the .xzm module priciple also for data files (e.i. the HTML-tree of a website)?

Re: XAMPP

Posted: 10 Jan 2012, 18:25
by Ahau
https://porteus.org/component/content/a ... dules.html
https://porteus.org/component/content/a ... udies.html

you could use the .xzm module principle on data files, which would be akin to putting them in an archive (tar, zip, xz, etc.) file.

Re: XAMPP

Posted: 10 Jan 2012, 19:38
by Wijnand
Thanks, I already found and study them. Stays the advantage of .xzm (fast decompressing) compared with tar, zip etc.?

Regards...

Re: XAMPP

Posted: 10 Jan 2012, 19:47
by Ahau
xz compression gives a higher compression ratio than, for instance, zip or tar.gz. In the case of xzm modules, however, the files are also placed in a squashfs filesystem, which allows them to be mounted on a loop and inserted into the live (aufs) filesystem in porteus. I'm not an expert in all of the pros and cons of each, so I'd suggest googling lzma and squashfs, or maybe someone here with more knowledge than me would like to chime in...

Re: XAMPP

Posted: 10 Jan 2012, 20:57
by Hamza
XZ Compression is using a new algorithm which it gives us a good compression size even if we use 256K Block Size.

We are using this for some reasons,
-It is faster than lzma(1) and zip, etc.. (for compression/decompression)
-It has a better compression ratio
-It is crazy fast with linuxrc..fanthom show us some experience and it appear XZ is the better compression algorithm we can use it at the moment.


I am not sure if we can boots up Porteus under 15 seconds if we have this algorithm of compression as it is really fast.
When you are using XZ..you can begin to dreaming to use a Portable on a USB Stick and there is Porteus !!

And to make a good conclusion, XZ is used as it is the last compression algorithm and Porteus is always up-tp-date!

Fanthom made the Speed/Quality test of XZ. So he should be able to answer you :)

Re: XAMPP

Posted: 11 Jan 2012, 17:16
by fanthom
@Wijnand
here is the benchmark which i done in the past:
click
the idea is simple:
1) put some data into folder
2) compress the folder with different compression algorithms (lzo, gzip, bzip, lzma, lzma2, etc)
3) use 'time' utility to measure decompression time
4) compare results

Cheers