Hi!
Wrote this small howto for making compressed CD's in Linux. New users will
certainly appreciate the fact Linux provides much more features than just
security,stability and speed as compared to other popular OS'es.
Making Compressed CDROM in Linux
Nikhil Joshi
Introduction
I had often wondered whether there is a way to zip your files, burn them on a
CD and then decompress them on-the-fly to save space. Well the good news is
there is a method to do the same! Linux provides a Transparent decompression
extension to achieve the same. It is useful when you have a lot of text/HTML/
doc files to burn on the CD and you want to save the precious space. It is
especially useful to view the e-books which are mostly in HTML format.
Prepare the Kernel
CAVEAT: Please note that the CD that we are going to make will only be readable
in Linux environment as Windows does not have the Transparent decompression
extension.
First we have to enable the Transparent decompression extension in the kernel.
Compiling the kernel is a tricky business and requires patience and will to
learn something new. This link will certainly help you:
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html
I'll outline the steps below:
1. Download and unpack the latest 2.6 series stable kernel from http://
www.kernel.org/
2. Type make menuconfig
3. Goto File Systems -> CDROM/DVD Filesystems and enable Transparent
decompression extension
4. make; make modules; make modules_install
5. Copy the bzImage to /boot and update the bootloader configuration
appropriately
The commands
Now that we have the kernel ready let's see the commands. Put everything you
want to compress in a directory. First we make a compressed directory hierarchy
of the directory we want to compress.
$ mkzftree intree outree
creates a compressed directory (outree) out of a normal directory (intree). Now
we will make an iso image out of the directory hierarchy.
$ mkisofs -o mycd.iso -R -allow-lowercase -allow-multidot -l -L -
z outree
That's it!! We have created an iso file which we can burn using any CD Burning
Software. I use k3b (http://www.k3b.org/) on Linux.
Conclusion
I created a normal iso image out of a directory tree and another iso image out
of the compressed directory tree. The space savings were obvious: 591MB for
normal iso and 448MB using compression. A gain of 143 MB. This directory tree
had lots of PDF files which do not compress well as compared to ASCII text
files. Overall the space saving was considerable and I am already a fan of
Transparent decompression.
--
Often it takes some calamity to make us live in the present. Then suddenly
we wake up and see all the mistakes we have made. But it is too late to change
anything. -- Calvin
Which toolkit and programming framework GNUChess used? It is really very
annoying to keep hold on menu to go to the options. Frankly it sucks
Regards
Komal
Hi
my question was i run sendmail server configured with smtp-= auth.
Is there any way where i can filter the mails or discard the mails ha ving infected attachments.
On Sat, 06 Nov 2004 Devdas B= hagat wrote :
>On 06/11/04 08:23 -0000, Mangesh V Rakhunde wrote:<= BR>
> > I
run a mail server i.e sendmail o configured = SMTP auth.
> >
> >
> >
> >&= nbsp; My problem is mails. Many machines in and t= hey
just send infected mail server itself.
>
>Plea= se send in plain text, wrapping the lines at 76 characters,
or less.
= >
> >From what I can understand, you have PCs infected by vi= ruses
which are
>directly sending mail out, and getting your exter= nal IP
blacklisted.
>
>The correct solution to this is to= implement a packet filter
which
>blocks port 25 outbound, and ens= ures that outbound connections
come only
> from your real outbound= MTA.
>
>The logs from this packet filtering firewall wil= l also tell you
which
>systems are infected by viruses.
>
>Devdas Bhagat
>
>--
>http://mm.ilug-b= om.org.in/mailman/listinfo/linuxers
[1] []
References
1. 3D"http://clients.rediff.com/signature/track_sig.asp"
Hi
my question was i run sendmail server configured with
=
smtp-auth. Is there any way where i can filter
the mails or discar= d the mails
having infected attachments.
On Sat,= 06 Nov 2004 Devdas Bhagat wrote :
>On 06/11/04 08:23 -0000, Mange= sh V Rakhunde wrote:
> > I run a mail server i.e sendmail= o configured SMTP auth.
> >
> >
> = >
> > My problem is mails. Many machines = in and they just
send infected mail server itself.
=
>
>Please send in plain text, wrapping the lines at 76 chara= cters,
or less.
>
> >From what I can understand, you h= ave PCs infected by viruses
which are
>directly sending mail out, = and getting your external IP
blacklisted.
>
>The correct = solution to this is to implement a packet filter
which
>blocks por= t 25 outbound, and ensures that outbound connections
come only
> f= rom your real outbound MTA.
>
>The logs from this packet = filtering firewall will also tell you
which
>systems are infected = by viruses.
>
>Devdas Bhagat
>
>--
=
>http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
[1] [adstream_nx=] =
References
1. 3D"http://clients.rediff.com/signature
Hi all
I run a mail server i.e sendmail o= n fedora core 2. I have
configured SMTP auth.
My problem is = I want to reject all incoming or outgoing infected
mails. Many machines in = our organisation are infected with viruses
and they just send infected mail= s. Can I filter them on my mail
server itself.
Regards
<= BR>
Mangesh
[1] [Re=]
References
1. 3D"http://clien=/
>
> > Sorry about the OT-ness and length of this post.
If
> > anybody could provide
> > any help, I'll be infinitely thankful.
>
> only way we could help you is if you send the
machine as an
> attachment to the
> list so we can examine it -:)
>
> kg
mebbe i can ask scotty to beam it up!!!:-)
sarfaraz.
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
> > the system went off in the middle of the
installation
> > process. now when i
> > start the machine, the fans work, hdd works, cd
drive
> > works but i don't get
> > any display and no POST,i.e., i'm not getting the
> > single beep on boot. the
> > hdd activity led stays constantly on. indicates
some
> > problem with bios. does
> > it has to do anything with the fact that i changed
the
> > cmos battery while
> > the system was down?
>
> Check your processor and then MB if your processor
works well on
> another MB.
unfortunately, i don't have another system to
cross-check the processor
with.
> Cross check is the best way to narrow down the
posibilities. Remove your
> processor and refit the assembly, maybe contact
problems. This
> does not have
> anything to do with software installation.
i'll try this out.
>
> Rony.
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
> It is possible that some part of your motherboard is
touching the
> base plate of
> the cabinet. In such situations the system doesn't
boot up. This
> *could* have
> happened when you depressed the board to install the
new CMOS battery. Try
> lifting up the board a little with your finger tip.
I usually
> have insulation
> between the board and base plate.
> Could be, Could be not, Couldn't say for sure.
>
> Vivek
checked out this possibility. no luck still!
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
> > hdd activity led stays constantly on. indicates
some
>
> When you put in the new SMPS, did you
disconnect/reconnect the
> HDD activity LED wire ?
>
>
> --
> quasi
>
> Utopia Unlimited!
yes, i took out all the connectors before putting in
the new smps.
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
Hi,
I don't have any pointers but this idea might help
If you could enable passwordless ssh login to all machines, thru ssh, grep your log files with a pattern and redirect output to a file in those machines, scp that output file into a master node and check if file empty, good else not alert thru mail / console.
Good Luck
----- Original Message -----
From: Trevor Warren <trevorwarren(a)yahoo.com>
To: ILUG-BOM <linuxers(a)mm.ilug-bom.org.in>
Subject: [ILUG-BOM] online monitoring of log files on gnu-linux, aix and hp-ux
Date: Wed, 3 Nov 2004 19:32:37 -0800 (PST)
>
>
> Morning Guys/Gals,
>
> Me has an urgent need of advice from your end.
> Hoping for some pointers.
>
> For one of TCS's client we have configured Nagios
> and a host of other GPL'ed applns top aid him in
> Network Monitoring as part of a very large project.
> This last problem has me stumped.
>
> In my network consisting of purely
> AIX/Gnu-Linux/HP-UX i have to provide a single console
> for monitoring all logs and trigger an alert/alarm as
> soon as a particular message comes up in the logs.
> These logs will be both system and application logs
> and hence the messages to be tracked has to be
> customisable.
>
> Lemme know if someone has had this problem solved
> before or has any inkling of what appln we can make
> use of.
>
> Trevor
>
>
>
> =====
> |------|____________________________________|------|
> ( >- / Scaling FreeSoftware & OpenSource \ -< )
> /~\ / In the Enterprise \ /~\
> | \) \ | www.fsf.org | www.opensource.org | / (/ |
> |_|_ \____________________________________/ _|_|
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
>
> --
> http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
>
--
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.
Powered by Outblaze