For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > December 2004 > need help in programming linux with perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author need help in programming linux with perl
Roll

2004-12-22, 4:02 pm

hi ppl
i need to configure the linux dns, dhcp and iptables all that using a web
based control and i know that i could do so using perl programming.
basically what i need is to use perl to program out a cgi for me to edit
the .conf file of linux dhcp, dns and iptables using a webpage. can anyone
help me or give me or let me know if there is a guide for me to learn how
to do all this.

anyone who can help can email to me at lie_huo@htmail.com.
thanks to all those who help.

Brian Wakem

2004-12-22, 4:02 pm


"Roll" <lie_huo@hotmail.com> wrote in message
news:059972638b42ea4f1d4fc9ece9ec0652@lo
calhost.talkaboutprogramming.com...
> hi ppl
> i need to configure the linux dns, dhcp and iptables all that using a web
> based control and i know that i could do so using perl programming.
> basically what i need is to use perl to program out a cgi for me to edit
> the .conf file of linux dhcp, dns and iptables using a webpage. can anyone
> help me or give me or let me know if there is a guide for me to learn how
> to do all this.
>
> anyone who can help can email to me at lie_huo@htmail.com.
> thanks to all those who help.



Have you looked at Webmin?
http://www.webmin.com/


--
Brian Wakem


Roll

2004-12-23, 4:10 am

well i need to do a project and i was not allowed to use the webmin program
so do you haf any refrence that can teach me how to use perl to program
something like webmin?

Gunnar Hjalmarsson

2004-12-23, 4:10 am

Roll wrote:
> well i need to do a project and i was not allowed to use the webmin program
> so do you haf any refrence that can teach me how to use perl to program
> something like webmin?


http://learn.perl.org/

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Brian Wakem

2004-12-23, 9:03 am


"Roll" <lie_huo@hotmail.com> wrote in message
news:a0d432f2a1fe4711fc3029767b48e62f@lo
calhost.talkaboutprogramming.com...
> well i need to do a project and i was not allowed to use the webmin

program
> so do you haf any refrence that can teach me how to use perl to program
> something like webmin?
>


You could download Webmin and look at the scripts that power it.

--
Brian Wakem


Don Shimoda

2004-12-27, 3:55 am

Brian Wakem wrote:
> "Roll" <lie_huo@hotmail.com> wrote in message
> news:a0d432f2a1fe4711fc3029767b48e62f@lo
calhost.talkaboutprogramming.com...
>
>
> program
>
>
>
> You could download Webmin and look at the scripts that power it.
>

....since Webmin is written entirely in Perl. (To finish the sentence
and help the OP understand why this might be helpful.)

-ceo
Roll

2004-12-29, 8:56 am

which is the script or file that i should be looking at as in what is the
file name and where is it located?

Henry Law

2004-12-29, 3:57 pm

On Wed, 29 Dec 2004 04:31:21 -0500, "Roll" <lie_huo@hotmail.com>
wrote:

>which is the script or file that i should be looking at as in what is the
>file name and where is it located?


What people are suggesting is that you download webmin - the URL is
back in the thread somewhere - and look at it to find out what it does
and how it does it. This is a standard way programmers use to educate
themselves and I very much doubt you'll find anyone in this group who
will do it for you.

The best way to go about it is to find out - from the installation
documentation if it isn't obvious - which command invokes webmin (it
will probably be called "webmin"!) and find out which other programs
it calls to do various things. There should be comments and variables
with significant names that will help you.

After you've tried that if you're still stuck on some aspect of Perl
then post here saying what you've done and what you need help with and
you'll probably get it. Just don't ask people to do your work for
you.
--

Henry Law <>< Manchester, England
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com