[Ilugc] One Day One GNU/Linux Command (YES)

2008-07-21 Thread Bharathi Subramanian
Hurd -- Hird of Unix Replacing Daemons
Hird -- Hurd of Interfaces Representing Depth

One Day One GNU/Linux Command 
=

yes -- Print a string until interrupted

Summary :

It prints the command line arguments, separated by spaces  followed
by a newline, forever until it is killed. 'yes' can be used to feeds a
continuous string of the character to another process and create dummy
process for learning the process control.

Example:

$ yes -- Prints `y' followed by a newline until killed.

$ yes ILUGC -- Prints `ILUGC' followed by a newline until killed.

$ yes `cat myfile` -- Print myfile content until killed.

$ yes | fsck /dev/hda1 -- Runs fsck non-interactively.

$ yes | rm -r mydir -- Same effect as rm -rf mydir.

$ yes  /dev/null  -- Dummy process.

Read : man yes

HTH :)
--
Bharathi S

___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] PDF generation with gif and tiff

2008-07-21 Thread Usha Subramanian
hi,

Can anyone suggest me how to do PDF generation with gif and tiff
images . I can't achieve this  using  the method add_image_from_file ,
and it works for jpeg and png images.

Thanks in advance
Usha
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] My First Session for Engineering students

2008-07-21 Thread senthilraja P
Hi All,

Last sunday, i gave a seminar to 3 engg students on Web server, MySQL
server, PHP, and some basics of web programming, like sending form variables
procesing it in server using PHP, updating mysql and retrieving from it.

The students were very encouraged at this, and in the evening they called me
and said, We are very interested and they started working on a sample
project for resume/profile management.  And i am sure, in their final year
project, they would be able to do a project on their own.

I also gave them the demonstration of how to install a typical PHP
application like Mediawiki, forum, wordpress blogs etc.  But more than that,
i gave them an idea, on how to bring those softwares in to common use in
their college.  I have already expressed in this ILUG group.  I will again
recall it below.

1. To implement Knowledge Management Portal in their college using Media
wiki.  I gave them an idea of how easily we can create new pages, and manage
our data, and they are very much interested.

2. To implement an announcement portal using wordpress, for every
department.  This announcement portal would be used to publish all circulars
issued by the principals and HOD.

They would be discussing with their HOD and staffs and get back to me by
this week.

One thing i observed from this experience is that there are enough students
who are very much interested to learn.  The problem is that there is
complete lack of guidance and support from knowledged quarters.  Without
these basic knowledge they felt handicapped and could not implement any of
their ideas even if they are very much interested.  When i sat down with
them, they came with lot of ideas, and i just told them how easily we can
implement those with WAMP/LAMP tools.

I would like to bridge this knowledge divide, and i am thinking of how to
interlink those industry professionals and academic students.

My goal is to implant the basic knowledge to as much students as possible,
so that they would be able to implement their ideas.  And it should be a
participative mode.  The three students whom i taught would be further
teaching another 5 students (of different college) in the coming week.  I
also want to make sure, that not any single college exploits the knowledge
acquired by these students.  For this, the solution is to diffuse this
knowledge to other colleges, and enable inter college participation on this.

I also suggested them to add Open Source concepts and particularly on FOSS
tools in the symposium that they are going to do.


Some suggestions:

1. What i have done is very basic thing, that need not require any expertise
or great skills.  However, to actually get a momentum, we need to establish
knowledge pockets, on advanced technicalities like Building a Linux Distro
from source, knowledge on compiling methods, linux programming etc.

2. We can evolve a list of basic skills needed for the students, and
volunteer to teach them at some selected colleges.  Once a team is formed,
then those students should volunteer to teach their juniors and other
college students.  This will create innumerable opportunities and would
unleash the creativity of young minds.  Imagine, if atleast few in each
college knows how to build a linux distro, we would have atleast a dozen
customized distro in india.

--

I am sorry if i am too impractical.  But i just shared some of my vision
with you all.

Regards,
Senthil
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] ERP software

2008-07-21 Thread senthilraja P
/** I have to use an Enterprise Resource Planning software for one of my
friend`s textile factory **/

I came across a software called ERP5 , that's specially designed for
Apparell industry.  I havent tried it out, but i feel it could be a good
choice.

WebERP:  I think, its not that much usable in the present context.  If we
could tweak some PHP code there, we can make it usable.

Opentaps: One of my friend's friend is working on opentaps.  The UI is well,
and simple.  Since its based on OFBiz, (apache's another project), it may be
given a try.

Open Bravo:  I think, it has too much of features, and the UI is not that
much friendly.  (To my very limited knowledge and experience)

Regards,
Senthil Raja
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Debian Lenny Installation Problem

2008-07-21 Thread Sivaram Kannan
Hi all,

Thanks for the reply. I tried generic.all_generic_ide=1, that also did
not workout.

On Sat, Jul 19, 2008 at 8:40 AM, Raja Subramanian
[EMAIL PROTECTED] wrote:
 If you have a sata dvd drive on a very new chipset, you'll need a
 newer kernel with the correct drivers enabled. I had similar problems
 installing Debian on a Dell R200 server. In the end, I had to install
 by booting using a custom kernel.

May I know how to install by booting a custom kernel?? Is it mounting
the iso, including the custom kernel in the image and booting ? or
some other way?

regards,
siva.



 - Raja



 On 19/07/2008, Sivaram Kannan [EMAIL PROTECTED] wrote:
 Hi all,

 Am facing a installation problem in Debian Lenny Beta 2. I downloaded
 the dvd version and when I tried to install it in my pc, the cdrom
 drive(LG DVD writer) is not getting detected. The installation is
 failing in the step,  Detect and Mount CD-ROM.

___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] PDF generation with gif and tiff

2008-07-21 Thread Harish S
On Mon, Jul 21, 2008 at 12:07 PM, Usha Subramanian  wrote:

 hi,

 Can anyone suggest me how to do PDF generation with gif and tiff
 images . I can't achieve this  using  the method add_image_from_file ,
 and it works for jpeg and png images.


Have a look at PDFlib. I'm not sure if it will meet your needs.
But they have bindings for PHP/Perl/Ruby/C/Java etc...
Regards
Harish

-- 
Computers are like air conditioners - They can't do their job properly if
you open windows
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] 2.6 SMP kernel -- dual core opteron processor -- irqbalance(?) - only one CPU busy always

2008-07-21 Thread Balu manyam
hey gurus -- i have a HP server with 4*dual core AMD opteron processors
running 2.6.9-42  SMP kernel   -- one of my DBAs complained of  poor
performance while running an SQL query -- now when  I check the 'mpstat -P
ALL  5 '  o/p - I see that CPU 0 is completely busy (idle 0%)  most of the
time -- while the other CPUs are close to 99% idle -- I did a cat
/proc/interrupts  I see that CPU0 is indeed having high values corresponding
to ethernet devices , other PCI devices , RAID controller  and the timer as
well --- I also checked that we are running irqbalance daemon and please
note that we are running the kernel with noapic option -- not sure if that
matters  at all

any inputs you may render are higlhly appreciated

Thanks!!
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] My First Session for Engineering students

2008-07-21 Thread Ashok Gautham J.
On Mon, Jul 21, 2008 at 2:33 PM, senthilraja P [EMAIL PROTECTED]
wrote:

 Some suggestions:

 1. What i have done is very basic thing, that need not require any
 expertise
 or great skills.  However, to actually get a momentum, we need to establish
 knowledge pockets, on advanced technicalities like Building a Linux Distro
 from source, knowledge on compiling methods, linux programming etc.

LFS was one of the most interesting things I did :D. And yeah. I believe ABS
must be a part of every Linux curriculum. http://tldp.org/LDP/abs/html/


 2. We can evolve a list of basic skills needed for the students, and
 volunteer to teach them at some selected colleges.  Once a team is formed,
 then those students should volunteer to teach their juniors and other
 college students.  This will create innumerable opportunities and would
 unleash the creativity of young minds.  Imagine, if atleast few in each
 college knows how to build a linux distro, we would have atleast a dozen
 customized distro in india.

I am wondering if we need customized distros. It would actually work better
if we had a StudentForce GNU/Linux or something like that with a ground up
package manager and 0 config tools (so that people dont depend on a single
tool for grow up the *nix way) . Here we can allocate a package or two to
every interested student and watch it progress.. I am sure it will grow into
a hge distro. Of course we can have trusted users, community repos etc.
I love the Archlinux project for that.

-
Ash
Be yourself everyday, every way
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] One Day One GNU/Linux Command (UNIQ)

2008-07-21 Thread Bharathi Subramanian
Read: http://www.gnu.org/philosophy/can-you-trust.html

One Day One GNU/Linux Command
=

uniq -- Remove duplicate lines from a SORTED file.

Summary :

It prints the unique lines in a sorted file. If input is NOT in 
sorted order then, only adjacent duplicate lines are discarded.

Example:

Create 'myfile' with 2 cols of digits for testing.

$ uniq myfile -- Print only unique lines.

$ uniq -i myfile -- Ignore case when comparing.

$ uniq -u myfile -- Print only lines, Which is not duplicated.

$ uniq -c myfile -- Print all unique lines with no .of occurrence.

$ uniq -d myfile -- Print only duplicate lines. If a line duplicated
then, only one line will be printed.

$ uniq -D myfile -- Print all duplicate lines.

$ uniq -w5 myfile -- Use only first 5 Chars for checking the uniqueness 
 of the line.

$ uniq -f2 myfile -- Don't compare up-to 2nd field.

$ uniq -s2 myfile -- Don't compare up-to 2nd char.

$ sort myfile | uniq  output -- Sort myfile  store the uniq output.

Read : man uniq

HTH :)
--
Bharathi S


___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] My First Session for Engineering students

2008-07-21 Thread senthilraja P

 LFS was one of the most interesting things I did :D. And yeah. I believe
 ABS
 must be a part of every Linux curriculum. http://tldp.org/LDP/abs/html/


++1 :)



 I am wondering if we need customized distros. It would actually work better
 if we had a StudentForce GNU/Linux or something like that with a ground up
 package manager and 0 config tools (so that people dont depend on a single
 tool for grow up the *nix way) . Here we can allocate a package or two to
 every interested student and watch it progress.. I am sure it will grow
 into
 a hge distro. Of course we can have trusted users, community repos etc.
 I love the Archlinux project for that.


I am recommending bcoz, only if student understands the full compiling
process they can work on individual modules effectively.  They need not
customize the distro..  but, they can atleast know how to compile it from
source and make it running..

Personally i feel, there are lot of customizations needed for the Linux, to
match microsoft..  probably high level customization..  It would also help
in localising the distros

Regards,
SEnthil
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] One Day One GNU/Linux Command (UNIQ)

2008-07-21 Thread Arun Khan
On Tuesday 22 Jul 2008, Bharathi Subramanian wrote:
 Read: http://www.gnu.org/philosophy/can-you-trust.html

 One Day One GNU/Linux Command
 =

 uniq -- Remove duplicate lines from a SORTED file.

sort -u|--unique  ... to remove duplicate lines.

Indeed, uniq has other useful options.

-- Arun Khan
___
To unsubscribe, email [EMAIL PROTECTED] with 
unsubscribe password address
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc