LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2010, 03:33 AM   #1
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Rep: Reputation: 15
add module in linux


Hello,

Is any one know how to [B]add module in linux
Please help...

Regards,
Rehan
 
Old 03-26-2010, 03:35 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Hi,
Try reading the following in detail !
http://tldp.org/HOWTO/Module-HOWTO/
 
Old 03-26-2010, 03:35 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
I think you are looking for the modprobe or perhaps insmod commands.

Evo2.
 
Old 03-26-2010, 03:39 AM   #4
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
I have run apache server with dso support but now i need to add module on run time, Any one help?

Regards,
Rehan
 
Old 03-26-2010, 03:41 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Apache module or linux kernel module?

Evo2.
 
Old 03-26-2010, 03:45 AM   #6
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
For Apache module, see if the following helps !
http://www.idevelopment.info/data/Pr..._Support.shtml
 
Old 03-26-2010, 03:49 AM   #7
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks, My issue is resolved.
Thanks for your help.

Regards,
Rehan
 
Old 03-26-2010, 03:50 AM   #8
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31
Quote:
Originally Posted by rehan21 View Post
I have run apache server with dso support but now i need to add module on run time, Any one help?

Regards,
Rehan
Yopur question looks like confusing ..Add module in linux means adding a kernel module if that is the case read this ...

http://www.cyberciti.biz/faq/add-rem...ernel-modules/


If it is apache DSO module refer official apache website ..

http://httpd.apache.org/docs/2.2/dso.html
 
Old 03-26-2010, 03:51 AM   #9
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by rehan21
Thanks, My issue is resolved.
Thanks for your help.
Could you tell us, what was your issue and what solved your issue ?
 
Old 03-26-2010, 03:55 AM   #10
rehan21
Member
 
Registered: May 2009
Location: Karachi, Pakistan
Distribution: Centos 5.1/Fedora 10/ubuntu
Posts: 41

Original Poster
Rep: Reputation: 15
I need to add module on my apache server
It has works....

Build and install a third-party Apache module, say mod_foo.c, into its own DSO mod_foo.so outside of the Apache source tree using apxs:

# cd /path/to/3rdparty
# apxs -c mod_foo.c
# apxs -i -a -n foo mod_foo.so

This was i am looking for

Again, Thanks for your help.

Regards,
Rehan
 
1 members found this post helpful.
Old 03-26-2010, 03:58 AM   #11
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,672
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Perhaps then you should mark this thread SOLVED, from the Thread tools menu at the top of this page !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How add assebly in linux kernel module program? aminoamide Linux - Kernel 3 02-24-2009 11:39 AM
how to add my module to linux kernel eshwar_ind Linux - Newbie 3 02-10-2004 09:01 AM
how to add a module abd_bela Linux - Hardware 1 10-25-2003 03:26 AM


All times are GMT -5. The time now is 12:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration