Re: [Ilugc] Interview questions for linux administrator

2010-01-17 Thread Raja Chinnathambi
My Heartily
thanks for valuable answers friends.




From: Karanbir Singh 
To: ILUG-C 
Sent: Sun, 17 January, 2010 8:38:18 AM
Subject: Re: [Ilugc] Interview questions for linux administrator

On 01/16/2010 05:46 AM, Raja Subramanian wrote:
>> 2. Is name based virtual host supports SSL?

Yes, on the server end - there are some caveats as to how and which browsers 
support it.

>> 3. If yes, then how.

if you link against the stock openssl libs, then look up SNI - or just link 
against gnutls. I'll let you do some research on those two keywords :)

- KB
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc



  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Tips of the day (Shutdown for non-root users)

2010-01-17 Thread Vishnu Raj
Allowing non-root users to shutdown a Linux box.

   1. As root create a group shutdown.
  #addgroup shutdown

   2. Put /sbin/shutdown into the group shutdown.
  #chown root.shutdown /sbin/shutdown

   3. Change accessrights to make /sbin/shutdown setuid and disallow
  other users from executing shutdown.
  #chmod 4754 /sbin/shutdown

   4. Make a link from /bin/shutdown to /sbin/shutdown
   #ln -s /sbin/shutdown  /bin/shutdown

   Now anyone belonging to the group shutdown can execute shutdown
but I just will
   allow the person in control of the keyboard to be able to issue the shutdown
   command. You might prefer something else.

   For the following to work you need to have "shadow password" installed but I
   believe most have it.

   5. Edit the file login.defs. Near the end of this file locate the line
   #CONSOLE_GROUPS   floppy:audio:cdrom
   Remove the hashsign and add the group shutdown to this line and you get:
   CONSOLE_GROUPSfloppy:audio:cdrom:shutdown

   Thats it. Everyone logged in via the console will belong to these groups so
   you need not add anyone to them. I believe this is better than to just add
   users to the group shutdown.
-- 
விஷ்ணுராஜ். க

Kanchi Linux User Group Rocks !

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://gnutuxfollower.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Kanchi LUG weekly meet

2010-01-17 Thread praveen kumar
Date : 17 / 01 / 10 Week : 39 People : 12+1

Session   : 4  pm to 6 pm

Location : kilasanathar temple

Topics Discussed :  Discussed about the basic of the perl language

By : Vishnu

Attendies  : Arulalan ,  Vishnu , Selvakumar , Rajkumar , Dhasthageer
, Elango , Yassir , Bala krishna , Nagaraj , Priya  and myself (
Praveen ).

New Guys :  Sathish , prabhu   studying 4th BE(CS) in AMACE , Kanchipuram.

we discussed about , The basic concepts of perl language.


Perl Basics :   http://www.slideshare.net/kanchilug/perl-basics


Details Of Next Meeting :

Date : 24 / 01 / 10

Topic : More on Perl


-- 
நன்றி

பிரவீன்.சோ

Kanchi Linux User Group Rocks !!

http://kanchilug.wordpress.com

My Views for u

http://grifinder.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Help needed in Cross Compiler for GNU Mach/Hurd

2010-01-17 Thread Shakthi Kannan
Hi,

--- On Sun, Jan 17, 2010 at 7:22 AM, Ranjith Kumar
 wrote:
|  I`m doing project on "cross compiler of GNU Mach/Hurd" is anyone had
| experience in that means,let me know because i don`t know where to begin and
| how to start it.
\--

You could try hutos:

  http://hutos.nongnu.org/

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Re: Tips of the day (Gain of performance for hard disk by using 32bits transfers)

2010-01-17 Thread Balachandar
Vishnu Raj  writes:


> hdparm -c3 /dev/hdX

> performance by 75%.
> 
> To test how much you gained type:
> 
> hdparm -t -T /dev/hdX

   Can anyone explain this...



___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] one-application-oneday (Glade)

2010-01-17 Thread Dhastha Gheer
Application:Glade

What it is:

Glade is a RAD tool to enable quick & easy development of user
interfaces for the GTK+ toolkit and the GNOME desktop environment.

Features:

The user interfaces designed in Glade are saved as XML, and by using
the GtkBuilder GTK+ object these can be loaded by applications
dynamically as needed.

By using GtkBuilder, Glade XML files can be used in numerous
programming languages including C, C++, C#, Vala, Java, Perl,
Python,and others.

To know more about:

http://glade.gnome.org/

Installation:

sudo apt-get install glade

To open:

Application -> Programming ->Glade interface designer
-- 
 நன்றி ,

 தஸ்தகீர்.அ

 Kanchi Linux User Group Rocks !

 http://kanchilug.wordpress.com

 My Works on Linux

 http://dowithlinux.wordpress.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] kernel optimization in size & boot up time

2010-01-17 Thread Suresh Kumar Subramanian
All,

I like to reduce the kernel size and boot fast (may be 5-10 Mb kernel size) & 
boots up in 15 seconds.

I measured, in the current default installation (FC10) the bootup time is 
around 45seconds and size is 50mb.

I did compiling and removed the unnecessary hardware modules. Still I am 
seeling slight changes. May be I have removed the little.

Anyone have experience in this kernel optimization. Please share your 
experience.

Thanks
Suresh
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] kernel optimization in size & boot up time

2010-01-17 Thread satyaakam goswami
On Mon, Jan 18, 2010 at 9:52 AM, Suresh Kumar Subramanian <
sureshkuma...@carc.co.in> wrote:

> All,
>
> I like to reduce the kernel size and boot fast (may be 5-10 Mb kernel size)
> & boots up in 15 seconds.
>
> I measured, in the current default installation (FC10) the bootup time is
> around 45seconds and size is 50mb.
>
> I did compiling and removed the unnecessary hardware modules. Still I am
> seeling slight changes. May be I have removed the little.
>
> Anyone have experience in this kernel optimization. Please share your
> experience.
>
>
Boot is one criteria i log, measure and tweak using
http://www.bootchart.org/ , google  lists this link on the top
http://www.yolinux.com/TUTORIALS/LinuxTutorialOptimization.html#HARDDRIVE ,
it covers all of the tricks of the trade.


hth
-Satya
satyaakam.net
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] kernel optimization in size & boot up time

2010-01-17 Thread Mohan Sundaram
On Mon, Jan 18, 2010 at 9:52 AM, Suresh Kumar Subramanian <
sureshkuma...@carc.co.in> wrote:

> All,
>
> I like to reduce the kernel size and boot fast (may be 5-10 Mb kernel size)
> & boots up in 15 seconds.
>
> I measured, in the current default installation (FC10) the bootup time is
> around 45seconds and size is 50mb.
>
> I did compiling and removed the unnecessary hardware modules. Still I am
> seeling slight changes. May be I have removed the little.
>

You can get kernels as small as 400KB with minimal modules. See
http://leaf.sourceforge.net/ as an example. These boot up quick.

-- Mohan Sundaram
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Interview questions for linux administrator

2010-01-17 Thread Kenneth Gonsalves
On Saturday 16 Jan 2010 11:16:16 am Raja Subramanian wrote:
> > 3. If yes, then how.
> 
> HTTPS cannot work with named vhosts.  You need a dedicated
> IP address or different TCP port numbers for every HTTPS site
> you want to host.
> 

AFAIK you do dont need a dedicated IP address - I have successfully mixed http 
and https on one apache - the only difference is that the http listens on 80 
and the https listens on 443 (btw, I would have failed the interview)
-- 
regards
kg
http://lawgon.livejournal.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Interview questions for linux administrator

2010-01-17 Thread Raja Subramanian
On Mon, Jan 18, 2010 at 11:27 AM, Kenneth Gonsalves
 wrote:
> AFAIK you do dont need a dedicated IP address - I have successfully mixed http
> and https on one apache - the only difference is that the http listens on 80
> and the https listens on 443 (btw, I would have failed the interview)

What you describing is different from the issue being discussed. This
query is specific to hosting *multiple* HTTPS sites using vhosts.

It's a chicken/egg issue -- apache needs to read the HTTP headers
to figure out which vhost SSL cert it should use, but since the HTTP
request itself is SSL encrypted apache cannot read the headers
without the SSL cert.

Only work around is to use different IP/port numbers so this problem
can be resolved.  All shared hosting providers therefore require you
to purchase a dedicated IP address if you want HTTPS.

- Raja
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Interview questions for linux administrator

2010-01-17 Thread Kenneth Gonsalves
On Monday 18 Jan 2010 12:18:11 pm Raja Subramanian wrote:
> On Mon, Jan 18, 2010 at 11:27 AM, Kenneth Gonsalves
> 
>  wrote:
> > AFAIK you do dont need a dedicated IP address - I have successfully mixed
> > http and https on one apache - the only difference is that the http
> > listens on 80 and the https listens on 443 (btw, I would have failed the
> > interview)
> 
> What you describing is different from the issue being discussed. This
> query is specific to hosting multiple HTTPS sites using vhosts.

possible true - I have only one https along with a bunch of http virtual 
sites. the https listens on 443 - so if I add another one on 443 would it 
work?


-- 
regards
kg
http://lawgon.livejournal.com
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Interview questions for linux administrator

2010-01-17 Thread balachandar muruganantham
> > What you describing is different from the issue being discussed. This
> > query is specific to hosting multiple HTTPS sites using vhosts.
>
> possible true - I have only one https along with a bunch of http virtual
> sites. the https listens on 443 - so if I add another one on 443 would it
> work?
>

it practice, it cannot work.
i think you should read the link below (which raja already given here)
http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#vhosts

i would like to know how shared SSL works - a single SSL being shared across
host right?

- balachandar muruganantham
உலகம்.net - இலவச தமிழ் வலைப்பதிவுச் சேவை - http://ulagam.net
எனது தமிழ் பக்கங்கள் - http://www.balachandar.net/pakkangal
Beyond Work - http://beyondwork.wordpress.com/
"கண்ணுடைய ரென்பவர் கற்றோர் முகத்திரண்டு புண்ணுடையர் கல்லா தவர். " - குறள்
எண் : 393
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc